mirror of
https://github.com/encounter/aurora.git
synced 2026-07-09 18:19:33 -07:00
Use PAD_BUTTON_COUNT and PAD_AXIS_COUNT instead of hard coded magic values (#104)
This commit is contained in:
@@ -141,10 +141,10 @@ void PADGetVidPid(u32 port, u32* vid, u32* pid);
|
||||
void PADClearPort(u32 port);
|
||||
const char* PADGetName(u32 port);
|
||||
void PADSetButtonMapping(u32 port, PADButtonMapping mapping);
|
||||
void PADSetAllButtonMappings(u32 port, PADButtonMapping buttons[12]);
|
||||
void PADSetAllButtonMappings(u32 port, PADButtonMapping buttons[PAD_BUTTON_COUNT]);
|
||||
PADButtonMapping* PADGetButtonMappings(u32 port, u32* buttonCount);
|
||||
void PADSetAxisMapping(u32 port, PADAxisMapping mapping);
|
||||
void PADSetAllAxisMappings(u32 port, PADAxisMapping axes[12]);
|
||||
void PADSetAllAxisMappings(u32 port, PADAxisMapping axes[PAD_AXIS_COUNT]);
|
||||
PADAxisMapping* PADGetAxisMappings(u32 port, u32* axisCount);
|
||||
void PADSerializeMappings();
|
||||
PADDeadZones* PADGetDeadZones(u32 port);
|
||||
|
||||
Reference in New Issue
Block a user