![]() KeySym_t(uint8_t _usage, uint8_t _modifiers) ![]() * Construct a Keysym directly by raw values. * Represent a key that could be sent by the HID. I included all of the code from the HIDKeyboardService.h in case you see something that will help. ![]() After this call the main thread will be halted. Launch the event queue that will manage both BLE events and the loop. Nano33BleKeyboard bleKb("Shining Keyboard") I will include my code and the LEFT_ARROW code below.įirst, my small example as mentioned above: #include "Nano33BleHID.h" I don't know why, but with the newer board profile it will not pair properly to my iOS or MacOS devices.Īlso, I find the LEFT_ARROW declared in HIDKeyboardService.h and I don't exactly understand the declaration. Note: I am using IDE 2.0.0 and I had to reduce the version of Arduino Mbed OS Nano Boards by Arduino (using the Boards Manager) from the current v3.4.1 to v3.0.1 in order to get it to pair properly. ![]() So my interpretation is that LEFT_ARROW is being interpreted as 'M'. but the result I get is 'B.M' repeating, so 'B.MB.MB.MB.M' and so on. The result should end up producing BBBBB. It will send a 'B' then '.' then a LEFT_ARROW. I have taken the ble_shining_kb example sketch from the Examples -> Mbed BLE HID and cut it back to a very simple example.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |