From what I can read in https://www.forward.com.au/pfod/ArduinoProgramming/FioV3/RN-HID-User%20Guide-1.1r.pdf ( pages 3, 6, 7, 8, 9, 10, 11 & above - total 17 pages ), we could write a module somewhat working as the AT one ( putting the device in command mode if not already to alter some of its params & then back to other mode - be it serial or serial+spp, and also surely wrapping stuff with helpers depending on the hid report descriptor chosen ? .. )
It seems they advise to use a "consumer report" to report additional keys, & also to support "keymap registers" ( page 11 for both )
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 there !
From what I can read in https://www.forward.com.au/pfod/ArduinoProgramming/FioV3/RN-HID-User%20Guide-1.1r.pdf ( pages 3, 6, 7, 8, 9, 10, 11 & above - total 17 pages ), we could write a module somewhat working as the AT one ( putting the device in command mode if not already to alter some of its params & then back to other mode - be it serial or serial+spp, and also surely wrapping stuff with helpers depending on the hid report descriptor chosen ? .. )
It seems they advise to use a "consumer report" to report additional keys, & also to support "keymap registers" ( page 11 for both )
On the "gamepad" thing, after digging a little, I stumbled upon this, which is perfect for some of us ;)
https://github.com/evankale/BluetoothPS2Controller/blob/master/BluetoothPS2Controller.ino
Be sure to check this video for an explanation of the relationship between hc05, rn42 & cie ;)
nb: I'll investigate the subject as soon as I'm done writing a usb gamepad hid report for Espruino ;)
+