no joy with sending it as a keycode or a modifier, built a little app that just steped through each code to see what would happen!
With a little more digging it seems like the way to toggle it is to send AL Keybard Layout as one of the Application Launch Buttons on the USB HID spec, (section 15)
I found this SO post https://stackoverflow.com/questions/22181883/bluetooth-le-hid-eject-key-code which looks like they're creating a second report object with the Application Launch buttons and then sending that for the toggle, but I couldn't figure out how to translate that into espruino to send the alternate report in NRF.sendHIDReport, is there a way to select the report ID?
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.
no joy with sending it as a keycode or a modifier, built a little app that just steped through each code to see what would happen!
With a little more digging it seems like the way to toggle it is to send
AL Keybard Layout
as one of the Application Launch Buttons on the USB HID spec, (section 15)I found this SO post https://stackoverflow.com/questions/22181883/bluetooth-le-hid-eject-key-code which looks like they're creating a second report object with the Application Launch buttons and then sending that for the toggle, but I couldn't figure out how to translate that into espruino to send the alternate report in NRF.sendHIDReport, is there a way to select the report ID?