STM32F769IDiscovery  1.00
uDANTE Audio Networking with STM32F7 DISCO board
Macros | Functions | Variables
usbh_hid_keybd.c File Reference

This file is the application layer for USB Host HID Keyboard handling QWERTY and AZERTY Keyboard are supported as per the selection in usbh_hid_keybd.h. More...

#include "usbh_hid_keybd.h"
#include "usbh_hid_parser.h"

Go to the source code of this file.

Macros

#define QWERTY_KEYBOARD
 
#define KBD_LEFT_CTRL   0x01
 
#define KBD_LEFT_SHIFT   0x02
 
#define KBD_LEFT_ALT   0x04
 
#define KBD_LEFT_GUI   0x08
 
#define KBD_RIGHT_CTRL   0x10
 
#define KBD_RIGHT_SHIFT   0x20
 
#define KBD_RIGHT_ALT   0x40
 
#define KBD_RIGHT_GUI   0x80
 
#define KBR_MAX_NBR_PRESSED   6
 

Functions

USBH_StatusTypeDef USBH_HID_KeybdInit (USBH_HandleTypeDef *phost)
 USBH_HID_KeybdInit The function init the HID keyboard. More...
 
HID_KEYBD_Info_TypeDefUSBH_HID_GetKeybdInfo (USBH_HandleTypeDef *phost)
 USBH_HID_GetKeybdInfo The function return keyboard information. More...
 
uint8_t USBH_HID_GetASCIICode (HID_KEYBD_Info_TypeDef *info)
 USBH_HID_GetASCIICode The function decode keyboard data into ASCII characters. More...
 

Variables

HID_KEYBD_Info_TypeDef keybd_info
 
uint32_t keybd_report_data [2]
 

Detailed Description

This file is the application layer for USB Host HID Keyboard handling QWERTY and AZERTY Keyboard are supported as per the selection in usbh_hid_keybd.h.

Author
MCD Application Team
Version
V3.2.2
Date
07-July-2015
Attention

© COPYRIGHT 2015 STMicroelectronics

Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at:

   http://www.st.com/software_license_agreement_liberty_v2

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file usbh_hid_keybd.c.