USB Host Shield 2.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Protected Member Functions | List of all members
MouseReportParser Class Reference

#include <hidboot.h>

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

Public Member Functions

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

Protected Member Functions

virtual void OnMouseMove (MOUSEINFO *mi)
 
virtual void OnLeftButtonUp (MOUSEINFO *mi)
 
virtual void OnLeftButtonDown (MOUSEINFO *mi)
 
virtual void OnRightButtonUp (MOUSEINFO *mi)
 
virtual void OnRightButtonDown (MOUSEINFO *mi)
 
virtual void OnMiddleButtonUp (MOUSEINFO *mi)
 
virtual void OnMiddleButtonDown (MOUSEINFO *mi)
 

Detailed Description

Definition at line 59 of file hidboot.h.

Member Function Documentation

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

Implements HIDReportParser.

Definition at line 19 of file hidboot.cpp.

virtual void MouseReportParser::OnMouseMove ( MOUSEINFO mi)
inlineprotectedvirtual

Definition at line 71 of file hidboot.h.

virtual void MouseReportParser::OnLeftButtonUp ( MOUSEINFO mi)
inlineprotectedvirtual

Definition at line 74 of file hidboot.h.

virtual void MouseReportParser::OnLeftButtonDown ( MOUSEINFO mi)
inlineprotectedvirtual

Definition at line 77 of file hidboot.h.

virtual void MouseReportParser::OnRightButtonUp ( MOUSEINFO mi)
inlineprotectedvirtual

Definition at line 80 of file hidboot.h.

virtual void MouseReportParser::OnRightButtonDown ( MOUSEINFO mi)
inlineprotectedvirtual

Definition at line 83 of file hidboot.h.

virtual void MouseReportParser::OnMiddleButtonUp ( MOUSEINFO mi)
inlineprotectedvirtual

Definition at line 86 of file hidboot.h.

virtual void MouseReportParser::OnMiddleButtonDown ( MOUSEINFO mi)
inlineprotectedvirtual

Definition at line 89 of file hidboot.h.

Member Data Documentation

MOUSEINFO MouseReportParser::mouseInfo

Definition at line 62 of file hidboot.h.

uint8_t MouseReportParser::bInfo[sizeof(MOUSEINFO)]

Definition at line 63 of file hidboot.h.


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