Keyboard shortcut via BLE

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hello everyone,

Is there a way to send keyboard shortcuts (eg command F5) to a computer with the press of a button on the CY8C KIT via BLE?

0 Likes
1 Solution
Anonymous
Not applicable

Hello,

There is a BLE HID Keyboard code example for PSoC 4. Please check it on PSoC Creator.

The code example sends key presses from a to z and 0 to 9. Optionally you can press a button to activate Caps Lock.

You could modify this code example to send any key press when the button is pushed. Search for a Keyboard HID usage table to see which number maps to what key on a keyboard.

Regards,

View solution in original post

1 Reply
Anonymous
Not applicable

Hello,

There is a BLE HID Keyboard code example for PSoC 4. Please check it on PSoC Creator.

The code example sends key presses from a to z and 0 to 9. Optionally you can press a button to activate Caps Lock.

You could modify this code example to send any key press when the button is pushed. Search for a Keyboard HID usage table to see which number maps to what key on a keyboard.

Regards,