Kaleidoscope
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SingleAbsoluteMouse_ Class Reference

#include <SingleAbsoluteMouse.h>

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

Public Member Functions

 SingleAbsoluteMouse_ (void)
 
uint8_t getLeds (void)
 
uint8_t getProtocol (void)
 
- Public Member Functions inherited from AbsoluteMouseAPI
 AbsoluteMouseAPI (void)
 
void begin (void)
 
void end (void)
 
void click (uint8_t b=MOUSE_LEFT)
 
void moveTo (uint16_t x, uint16_t y, signed char wheel=0)
 
void move (int x, int y, signed char wheel=0)
 
void press (uint8_t b=MOUSE_LEFT)
 
void release (uint8_t b=MOUSE_LEFT)
 
bool isPressed (uint8_t b=MOUSE_LEFT)
 

Protected Member Functions

int getInterface (uint8_t *interfaceCount)
 
int getDescriptor (USBSetup &setup)
 
bool setup (USBSetup &setup)
 
virtual void sendReport (void *data, int length) override
 
- Protected Member Functions inherited from AbsoluteMouseAPI
void buttons (uint8_t b)
 
int16_t qadd16 (int16_t base, int16_t increment)
 

Protected Attributes

uint8_t epType [1]
 
uint8_t protocol
 
uint8_t idle
 
- Protected Attributes inherited from AbsoluteMouseAPI
uint16_t xAxis
 
uint16_t yAxis
 
uint8_t _buttons
 

Constructor & Destructor Documentation

◆ SingleAbsoluteMouse_()

SingleAbsoluteMouse_::SingleAbsoluteMouse_ ( void  )

Member Function Documentation

◆ getDescriptor()

int SingleAbsoluteMouse_::getDescriptor ( USBSetup &  setup)
protected

◆ getInterface()

int SingleAbsoluteMouse_::getInterface ( uint8_t *  interfaceCount)
protected

◆ getLeds()

uint8_t SingleAbsoluteMouse_::getLeds ( void  )

◆ getProtocol()

uint8_t SingleAbsoluteMouse_::getProtocol ( void  )

◆ sendReport()

void SingleAbsoluteMouse_::sendReport ( void *  data,
int  length 
)
inlineoverrideprotectedvirtual

Reimplemented from AbsoluteMouseAPI.

◆ setup()

bool SingleAbsoluteMouse_::setup ( USBSetup &  setup)
protected

Member Data Documentation

◆ epType

uint8_t SingleAbsoluteMouse_::epType[1]
protected

◆ idle

uint8_t SingleAbsoluteMouse_::idle
protected

◆ protocol

uint8_t SingleAbsoluteMouse_::protocol
protected

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