Skip to content

Commit 5d205ce

Browse files
committed
Reorder joystick functions in header
Oops. In 1bc0123 I accidentally reordered these while git adding a patch. Changing back to keep the axes-specific functions separate from the "joystick as a whole" functions. [skip ci]
1 parent 35c1739 commit 5d205ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/XInput.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ class XInputController {
9191
void setTrigger(XInputControl trigger, int32_t val);
9292

9393
void setJoystick(XInputControl joy, int32_t x, int32_t y);
94+
void setJoystick(XInputControl joy, boolean up, boolean down, boolean left, boolean right, boolean useSOCD=true);
9495
void setJoystickX(XInputControl joy, int32_t x, boolean invert=false);
9596
void setJoystickY(XInputControl joy, int32_t y, boolean invert=false);
96-
void setJoystick(XInputControl joy, boolean up, boolean down, boolean left, boolean right, boolean useSOCD=true);
9797

9898
void releaseAll();
9999

0 commit comments

Comments
 (0)