From 68199dd94f737d072838bc16642ea5fbc678570f Mon Sep 17 00:00:00 2001 From: lemmingDev Date: Sun, 21 Aug 2022 09:06:31 +1000 Subject: [PATCH] Updated examples --- examples/TestAll/TestAll.ino | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/TestAll/TestAll.ino b/examples/TestAll/TestAll.ino index 4585b5a..5d3841d 100644 --- a/examples/TestAll/TestAll.ino +++ b/examples/TestAll/TestAll.ino @@ -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