Phil COVAL
/
rzr-example-mbed
Demo example on FRDM-64F https://ide.mbed.com/compiler/#nav:/rzr-example-mbed;
Embed:
(wiki syntax)
Show/hide line numbers
Utils.h
00001 /// SPDX-License-Indentifier: Apache-2 00002 /// Copyright: 2020+ Philippe Coval <https://purl.org/rzr/> 00003 /// URL: https://os.mbed.com/users/rzrfreefr/code/rzr-example-mbed/ 00004 00005 #pragma once 00006 #include "mbed.h" 00007 #include "USBKeyboard.h" 00008 00009 class Utils 00010 { 00011 public: 00012 static bool keyboard_key_code(USBKeyboard& usb, 00013 unsigned char const key, 00014 unsigned char const modifier=0, 00015 unsigned int delay=30); //< delay until release 00016 };
Generated on Tue Aug 2 2022 06:03:56 by 1.7.2