#include <InputDevice.h>
|
enum | devicetype_e {
UNKNOWN,
KEYBOARD,
UMOUSE,
MOUSE,
TABLET,
TOUCHSCREEN,
TOUCHMOUSE,
POWERBUTTON,
SLEEPBUTTON,
SERIALUSB,
INFRARED,
UINPUT,
TSLIB
} |
|
◆ devicetype_e
Enumerator |
---|
UNKNOWN | |
KEYBOARD | |
UMOUSE | |
MOUSE | |
TABLET | |
TOUCHSCREEN | |
TOUCHMOUSE | |
POWERBUTTON | |
SLEEPBUTTON | |
SERIALUSB | |
INFRARED | |
UINPUT | |
TSLIB | |
◆ InputDevice() [1/2]
gnash::InputDevice::InputDevice |
( |
| ) |
|
◆ InputDevice() [2/2]
gnash::InputDevice::InputDevice |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
◆ ~InputDevice()
gnash::InputDevice::~InputDevice |
( |
| ) |
|
|
virtual |
◆ addData()
void gnash::InputDevice::addData |
( |
bool |
pressed, |
|
|
key::code |
key, |
|
|
int |
modifier, |
|
|
int |
x, |
|
|
int |
y |
|
) |
| |
|
protected |
◆ check()
virtual bool gnash::InputDevice::check |
( |
| ) |
|
|
pure virtual |
◆ convertAbsCoords()
std::unique_ptr< int[]> gnash::InputDevice::convertAbsCoords |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
|
static |
◆ dump()
void gnash::InputDevice::dump |
( |
| ) |
const |
◆ getType()
◆ id()
virtual const char* gnash::InputDevice::id |
( |
| ) |
|
|
pure virtual |
◆ init() [1/6]
bool gnash::InputDevice::init |
( |
| ) |
|
|
virtual |
◆ init() [2/6]
◆ init() [3/6]
◆ init() [4/6]
bool gnash::InputDevice::init |
( |
devicetype_e |
type, |
|
|
const std::string & |
filespec |
|
) |
| |
◆ init() [5/6]
◆ init() [6/6]
virtual bool gnash::InputDevice::init |
( |
const std::string & |
filespec, |
|
|
size_t |
size |
|
) |
| |
|
pure virtual |
◆ popData()
std::shared_ptr<input_data_t> gnash::InputDevice::popData |
( |
| ) |
|
|
inline |
◆ readData()
std::unique_ptr< std::uint8_t[]> gnash::InputDevice::readData |
( |
size_t |
size | ) |
|
◆ scanForDevices()
std::vector< std::shared_ptr< InputDevice > > gnash::InputDevice::scanForDevices |
( |
| ) |
|
|
static |
◆ setScreenSize()
void gnash::InputDevice::setScreenSize |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
|
inline |
◆ setType()
◆ _buffer
std::unique_ptr<std::uint8_t[]> gnash::InputDevice::_buffer |
|
protected |
◆ _data
std::queue<std::shared_ptr<input_data_t> > gnash::InputDevice::_data |
|
protected |
◆ _fd
int gnash::InputDevice::_fd |
|
protected |
◆ _filespec
std::string gnash::InputDevice::_filespec |
|
protected |
◆ _input_data
◆ _screen_height
int gnash::InputDevice::_screen_height |
|
protected |
◆ _screen_width
int gnash::InputDevice::_screen_width |
|
protected |
◆ _type
The documentation for this class was generated from the following files: