Skip to content

Commit

Permalink
Merge pull request #221 from WIrral/master
Browse files Browse the repository at this point in the history
Add information regarding mapping of analog triggers on Android
  • Loading branch information
lemmingDev authored Feb 1, 2025
2 parents c80127e + 41e5924 commit f79584b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ It would be great however if any improvements are fed back into this version.
- [x] Output report function
- [x] Functions available for force pairing/ignore current client and/or delete pairings
- [x] Compatible with Windows
- [x] Compatible with Android (Android OS maps default buttons / axes / hats slightly differently than Windows)
- [x] Compatible with Android (Android OS maps default buttons / axes / hats slightly differently than Windows) (see notes)
- [x] Compatible with Linux (limited testing)
- [x] Compatible with MacOS X (limited testing)
- [ ] Compatible with iOS (No - not even for accessibility switch - This is not a “Made for iPhone” (MFI) compatible device)
Expand Down Expand Up @@ -145,10 +145,12 @@ Relies on [NimBLE-Arduino](https://github.com/h2zero/NimBLE-Arduino)
Use [this](http://www.planetpointy.co.uk/joystick-test-application/) Windows test app to test/see all of the buttons
Ensure you have Direct X 9 installed

Gamepads desgined for Android use a different button mapping. This effects analog triggers, where the standard left and right trigger axes are not detected.
Android calls the HID report for right trigger `"GAS"` and left trigger `"BRAKE"`. Enabling the `"Accelerator"` and `"Brake"` simulation controls allows them to be used instead of right and left trigger.

You might also be interested in:
- [ESP32-BLE-Mouse](https://github.com/T-vK/ESP32-BLE-Mouse)
- [ESP32-BLE-Keyboard](https://github.com/T-vK/ESP32-BLE-Keyboard)
- [Composite Gamepad/Mouse/Keyboard and Xinput capable fork of this library](https://github.com/Mystfit/ESP32-BLE-CompositeHID)

or the NimBLE versions at

Expand Down

0 comments on commit f79584b

Please sign in to comment.