discoverpixy
usbh_hid_keybd.h
Go to the documentation of this file.
1 
22 /* Define to prevent recursive -----------------------------------------------*/
23 #ifndef __USBH_HID_KEYBD_H
24 #define __USBH_HID_KEYBD_H
25 
26 /* Includes ------------------------------------------------------------------*/
27 #include "usb_conf.h"
28 #include "usbh_hid_core.h"
29 
60 //#define QWERTY_KEYBOARD
61 #define AZERTY_KEYBOARD
62 
63 #define KBD_LEFT_CTRL 0x01
64 #define KBD_LEFT_SHIFT 0x02
65 #define KBD_LEFT_ALT 0x04
66 #define KBD_LEFT_GUI 0x08
67 #define KBD_RIGHT_CTRL 0x10
68 #define KBD_RIGHT_SHIFT 0x20
69 #define KBD_RIGHT_ALT 0x40
70 #define KBD_RIGHT_GUI 0x80
71 
72 #define KBR_MAX_NBR_PRESSED 6
73 
89 extern HID_cb_TypeDef HID_KEYBRD_cb;
97 void USR_KEYBRD_Init (void);
98 void USR_KEYBRD_ProcessData (uint8_t pbuf);
103 #endif /* __USBH_HID_KEYBD_H */
104 
121 /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/
122 
Definition: usbh_hid_core.h:80
This file contains all the prototypes for the usbh_hid_core.c.