HID BLE: How to release specific key

For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
ANTONBRAMS
 
Posts: 2
Joined: Fri Jun 25, 2021 7:46 am

HID BLE: How to release specific key

Post by ANTONBRAMS »

Hi fellows :) I'm using Adafruit HID on ItsyBitsy NRF52840, and want to implement holding command key and tab tab tab tab.... and then releasing the command key. According to Adafruit's very minimalistic documentation https://learn.adafruit.com/introducing- ... idadafruit, it's not possible with the standard API, cause you have to release the tab key while holding the command key.

here is just a non functional sketch

Code: Select all

keyboardReport(command, tab);
keyRelease(tab);
keyboardReport(command, tab);
keyRelease(tab);
...
keyRelease(command);
any ideas on how to release a speciefic key?

User avatar
ANTONBRAMS
 
Posts: 2
Joined: Fri Jun 25, 2021 7:46 am

Re: HID BLE: How to release specific key

Post by ANTONBRAMS »

ah... I've found - the problem was, I haven't understood how the keyboardReport works. Thanks for your attention. You can kill this post.

Locked
Please be positive and constructive with your questions and comments.

Return to “Wireless: WiFi and Bluetooth”