Skip to content

Commit 11a71e2

Browse files
committed
Hat Switch Fix - part 2
1 parent a02e784 commit 11a71e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Joystick.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class Joystick_
7171
uint16_t _accelerator;
7272
uint16_t _brake;
7373
uint16_t _steering;
74-
uint16_t _hatSwitchValues[JOYSTICK_HATSWITCH_COUNT_MAXIMUM];
74+
int16_t _hatSwitchValues[JOYSTICK_HATSWITCH_COUNT_MAXIMUM];
7575
uint8_t *_buttonValues = NULL;
7676

7777
// Joystick Settings

0 commit comments

Comments
 (0)