2 #if (USE_STM32_USB_HOST_MODE || USE_STM32_USB_USE_DEVICE_MODE || USE_STM32_USB_OTG_MODE)
31 #ifndef __USBH_HID_KEYBD_H
32 #define __USBH_HID_KEYBD_H
35 #include "config/usb_conf.h"
36 #include "stm32/usb/usbh_hid_core.h"
69 #define AZERTY_KEYBOARD
71 #define KBD_LEFT_CTRL 0x01
72 #define KBD_LEFT_SHIFT 0x02
73 #define KBD_LEFT_ALT 0x04
74 #define KBD_LEFT_GUI 0x08
75 #define KBD_RIGHT_CTRL 0x10
76 #define KBD_RIGHT_SHIFT 0x20
77 #define KBD_RIGHT_ALT 0x40
78 #define KBD_RIGHT_GUI 0x80
80 #define KBR_MAX_NBR_PRESSED 6
97 extern HID_cb_TypeDef HID_KEYBRD_cb;
105 void USR_KEYBRD_Init (
void);
106 void USR_KEYBRD_ProcessData (uint8_t pbuf);
libheivs configuration file