I don't know if this is still up to date, but on this page (https://www.freebsddiary.org/APC/usb_hid_usages.php) is described a "Game Controls" command set. Do you guys think I should update the HID descriptor or can I use either the module ble_hid_keyboard or ble_hid_controls to build such a gamepad?
Basically, my gamepad consists of 8 buttons, laid out like a Gameboy.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi everyone,
I read the doc describing usage of BLE HID (https://www.espruino.com/BLE+Keyboard) and I wonder how I can use this in order to build a BLE gamepad?
I don't know if this is still up to date, but on this page (https://www.freebsddiary.org/APC/usb_hid_usages.php) is described a "Game Controls" command set. Do you guys think I should update the HID descriptor or can I use either the module
ble_hid_keyboard
orble_hid_controls
to build such a gamepad?Basically, my gamepad consists of 8 buttons, laid out like a Gameboy.
Thank you for your help!