-
• #2
I've done some more research and according to various websites, 219 could also be either Windows key, square open bracket ("[") or curly open bracket ("{").
Neither of these seems to be included in the ble_hid_keyboard / ble_hid_controls.
I'm sure I'd have to create my own report but have no idea about that stuff. I would ideally use ble_hid_controls because it contains already controls for vol, etc. -
• #3
Hi,
I think you'd definitely need to use
ble_hid_keyboard
and notble_hid_controls
, but otherwise what you're doing seems ok (although.tap
should still work for you).I think the problem you might be hitting is the HID report specifies a maximum value of 115:
http://www.espruino.com/modules/ble_hid_keyboard.js
0x25, 0x73, // Logical Maximum (115 - include F13, etc) ... 0x29, 0x73, // Usage Maximum (115 - include F13, etc)
You could try using your own HID report based on that one, but with just those numbers made bigger?
Hi, I'm working on a project and was wondering how i could send bluetooth keycode 219,
I haven't been able to replicate this info using the Puck.js- I attempted to use the default HID report provided in the tutorial and then using the low-level to try send 219.
Suggestions much appreciated !