It seems that I can do anything I want with the ble_hid_keyboard profile. But now I am facing another problem:
When I press button "A", Until now I sent the character "A": function btnA(){kb.tap(kb.KEY.A,0);}
What I should rather do is sending a command saying "A is pressed" or "A is released". Any idea on how to do that over HID?
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.
It seems that I can do anything I want with the ble_hid_keyboard profile. But now I am facing another problem:
When I press button "A", Until now I sent the character "A":
function btnA(){kb.tap(kb.KEY.A,0);}
What I should rather do is sending a command saying "A is pressed" or "A is released". Any idea on how to do that over HID?