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

#include <Mouse.h>

Public Member Functions

 Mouse_ (void)
 
void begin (void)
 
void end (void)
 
void click (uint8_t b=MOUSE_LEFT)
 
void move (signed char x, signed char 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)
 
void sendReport (void *data, int length)
 

Protected Member Functions

void buttons (uint8_t b)
 

Protected Attributes

uint8_t _buttons
 

Constructor & Destructor Documentation

◆ Mouse_()

Mouse_::Mouse_ ( void  )

Member Function Documentation

◆ begin()

void Mouse_::begin ( void  )

◆ buttons()

void Mouse_::buttons ( uint8_t  b)
protected

◆ click()

void Mouse_::click ( uint8_t  b = MOUSE_LEFT)

◆ end()

void Mouse_::end ( void  )

◆ isPressed()

bool Mouse_::isPressed ( uint8_t  b = MOUSE_LEFT)

◆ move()

void Mouse_::move ( signed char  x,
signed char  y,
signed char  wheel = 0 
)

◆ press()

void Mouse_::press ( uint8_t  b = MOUSE_LEFT)

◆ release()

void Mouse_::release ( uint8_t  b = MOUSE_LEFT)

◆ sendReport()

void Mouse_::sendReport ( void *  data,
int  length 
)

Member Data Documentation

◆ _buttons

uint8_t Mouse_::_buttons
protected

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