Demo example on FRDM-64F https://ide.mbed.com/compiler/#nav:/rzr-example-mbed;

Dependencies:   FXOS8700Q

Revision:
3:807a69c34b8b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Utils.h	Wed Mar 16 14:41:31 2022 +0000
@@ -0,0 +1,16 @@
+/// SPDX-License-Indentifier: Apache-2
+/// Copyright: 2020+ Philippe Coval <https://purl.org/rzr/>
+/// URL: https://os.mbed.com/users/rzrfreefr/code/rzr-example-mbed/
+
+#pragma once
+#include "mbed.h"
+#include "USBKeyboard.h"
+
+class Utils
+{
+public:
+    static bool keyboard_key_code(USBKeyboard& usb,
+                              unsigned char const key,
+                              unsigned char const modifier=0,
+                              unsigned int delay=30); //< delay until release
+};
\ No newline at end of file