Atmel Software Framework

thirdparty/wireless/avr2102_rf4control/addons/kbd/udi_hid_kbd.h File Reference

USB Device Human Interface Device (HID) keyboard interface.

Copyright (c) 2014-2015 Atmel Corporation. All rights reserved.

#include "conf_usb.h"
#include "usb_protocol.h"
#include "usb_protocol_hid.h"
#include "udc_desc.h"
#include "udi.h"

Data Structures

struct  udi_hid_kbd_desc_t
 Interface descriptor structure for HID keyboard. More...
 
struct  udi_hid_kbd_report_desc_t
 Report descriptor for HID keyboard. More...
 

Macros

#define UDI_HID_KBD_DESC
 
#define UDI_HID_KBD_EP_SIZE   8
 
#define UDI_HID_KBD_STRING_ID   0
 

Functions

bool udi_hid_kbd_down (uint8_t key_id)
 Send events key pressed. More...
 
bool udi_hid_kbd_modifier_down (uint8_t modifier_id)
 Send events key modifier pressed. More...
 
bool udi_hid_kbd_modifier_up (uint8_t modifier_id)
 Send events key modifier released. More...
 
bool udi_hid_kbd_up (uint8_t key_id)
 Send events key released. More...
 
bool udi_hid_mkbd_modifier_down (uint16_t modifier_id)
 Send events media key modifier pressed. More...
 
bool udi_hid_mkbd_modifier_up (uint16_t modifier_id)
 Send events media key modifier released. More...
 

Variables

UDC_DESC_STORAGE udi_api_t udi_api_hid_kbd
 Global structure which contains standard UDI interface for UDC. More...