Skip to content

Commit

Permalink
Updated examples
Browse files Browse the repository at this point in the history
  • Loading branch information
lemmingDev authored Aug 20, 2022
1 parent 3e2a03d commit 68199dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/TestAll/TestAll.ino
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ void setup()
bleGamepadConfig.setVid(0xe502);
bleGamepadConfig.setPid(0xabcd);
// Some non-Windows operating systems and web based gamepad testers don't like min axis set below 0, so 0 is set by default
bleGamepadConfig.setAxesMin(0x8001); // -32767 --> int16_t - 16 bit signed integer - Can be in decimal or hexadecimal
//bleGamepadConfig.setAxesMin(0x8001); // -32767 --> int16_t - 16 bit signed integer - Can be in decimal or hexadecimal
bleGamepadConfig.setAxesMin(0x0000); // 0 --> int16_t - 16 bit signed integer - Can be in decimal or hexadecimal
bleGamepadConfig.setAxesMax(0x7FFF); // 32767 --> int16_t - 16 bit signed integer - Can be in decimal or hexadecimal
bleGamepad.begin(&bleGamepadConfig); // Simulation controls, special buttons and hats 2/3/4 are disabled by default

Expand Down

0 comments on commit 68199dd

Please sign in to comment.