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