USB_Host_Shield_2.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
KeyboardReportParser Class Reference

#include <hidboot.h>

Inheritance diagram for KeyboardReportParser:
Inheritance graph
[legend]
Collaboration diagram for KeyboardReportParser:
Collaboration graph
[legend]

Public Member Functions

 KeyboardReportParser ()
 
virtual void Parse (HID *hid, bool is_rpt_id, uint8_t len, uint8_t *buf)
 

Protected Member Functions

uint8_t OemToAscii (uint8_t mod, uint8_t key)
 
uint8_t HandleLockingKeys (HID *hid, uint8_t key)
 
virtual void OnKeyDown (uint8_t mod, uint8_t key)
 
virtual void OnKeyUp (uint8_t mod, uint8_t key)
 

Protected Attributes

union {
   KBDINFO   kbdInfo
 
   uint8_t   bInfo [sizeof(KBDINFO)]
 
prevState
 
union {
   KBDLEDS   kbdLeds
 
   uint8_t   bLeds
 
kbdLockingKeys
 

Constructor & Destructor Documentation

KeyboardReportParser::KeyboardReportParser ( )
inline

Member Function Documentation

uint8_t KeyboardReportParser::HandleLockingKeys ( HID hid,
uint8_t  key 
)
protected
uint8_t KeyboardReportParser::OemToAscii ( uint8_t  mod,
uint8_t  key 
)
protected
virtual void KeyboardReportParser::OnKeyDown ( uint8_t  mod,
uint8_t  key 
)
inlineprotectedvirtual
virtual void KeyboardReportParser::OnKeyUp ( uint8_t  mod,
uint8_t  key 
)
inlineprotectedvirtual
void KeyboardReportParser::Parse ( HID hid,
bool  is_rpt_id,
uint8_t  len,
uint8_t *  buf 
)
virtual

Implements HIDReportParser.

Member Data Documentation

uint8_t KeyboardReportParser::bInfo[sizeof(KBDINFO)]
uint8_t KeyboardReportParser::bLeds
KBDINFO KeyboardReportParser::kbdInfo
KBDLEDS KeyboardReportParser::kbdLeds
union { ... } KeyboardReportParser::kbdLockingKeys
union { ... } KeyboardReportParser::prevState

The documentation for this class was generated from the following files: