Added buttonReleased member in the controller struct (#421)

This commit is contained in:
axollyon authored and Mr-Wiseguy committed 2022-06-17 00:48:20 -04:00
1 parent 4a3ef802d5
commit 25b421aaae
2 files changed
+8 -5

No files matched your search

+4 -3
View File
@@ -40,10 +40,11 @@ struct Controller {
/*0x0C*/ f32 stickMag; // distance from center [0, 64]
/*0x10*/ u16 buttonDown;
/*0x12*/ u16 buttonPressed;
/*0x14*/ OSContStatus *statusData;
/*0x18*/ OSContPad *controllerData;
/*0x14*/ u16 buttonReleased;
/*0x18*/ OSContStatus *statusData;
/*0x1C*/ OSContPad *controllerData;
#if ENABLE_RUMBLE
/*0x1C*/ s32 port;
/*0x20*/ s32 port;
#endif
};