https://github.com/tkomde/circuitpython-custom-hid-reportmap-sample
Using original reportmap on usb_hid
https://github.com/tkomde/circuitpython-custom-hid-reportmap-sample
Last synced: over 1 year ago
JSON representation
Using original reportmap on usb_hid
- Host: GitHub
- URL: https://github.com/tkomde/circuitpython-custom-hid-reportmap-sample
- Owner: tkomde
- License: mit
- Created: 2023-11-18T03:45:27.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-03T02:50:26.000Z (over 2 years ago)
- Last Synced: 2025-01-22T12:45:33.255Z (over 1 year ago)
- Language: Python
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# circuitpython-custom-hid-reportmap-sample
Using custom reportmap on usb_hid.
Confirmed with M5AtomS3(ESP32-S3) / CircuitPython 8.2.7 / MacOS Sonoma 14.1.
Detailed instrustion can be found in the following article.
https://learn.adafruit.com/custom-hid-devices-in-circuitpython
## abs_mouse: absolute location mouse
This is the code from [here](https://github.com/adafruit/circuitpython/issues/5461) with some modifications to make it work.
## gamepad: game controller
Almost the same as old (< ver.8) sample code.
## gamepad2: game controller
Split report ids