File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,8 @@ void setup()
2222 bleGamepadConfig.setVid (0xe502 );
2323 bleGamepadConfig.setPid (0xabcd );
2424 // Some non-Windows operating systems and web based gamepad testers don't like min axis set below 0, so 0 is set by default
25- bleGamepadConfig.setAxesMin (0x8001 ); // -32767 --> int16_t - 16 bit signed integer - Can be in decimal or hexadecimal
25+ // bleGamepadConfig.setAxesMin(0x8001); // -32767 --> int16_t - 16 bit signed integer - Can be in decimal or hexadecimal
26+ bleGamepadConfig.setAxesMin (0x0000 ); // 0 --> int16_t - 16 bit signed integer - Can be in decimal or hexadecimal
2627 bleGamepadConfig.setAxesMax (0x7FFF ); // 32767 --> int16_t - 16 bit signed integer - Can be in decimal or hexadecimal
2728 bleGamepad.begin (&bleGamepadConfig); // Simulation controls, special buttons and hats 2/3/4 are disabled by default
2829
You can’t perform that action at this time.
0 commit comments