Gnash
0.8.10
|
#include <InputDevice.h>
Public Member Functions | |
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) |
Static Public Member Functions | |
static std::vector < boost::shared_ptr < InputDevice > > | scanForDevices () |
gnash::TouchDevice::TouchDevice | ( | ) |
Referenced by scanForDevices().
gnash::TouchDevice::~TouchDevice | ( | ) | [virtual] |
void gnash::TouchDevice::apply_ts_calibration | ( | float * | cx, |
float * | cy, | ||
int | rawx, | ||
int | rawy | ||
) |
initialized
References GNASH_REPORT_FUNCTION, gnash::key::k, gnash::key::a, gnash::key::b, gnash::key::c, gnash::key::d, gnash::key::e, gnash::key::f, and _.
bool gnash::TouchDevice::check | ( | ) | [virtual] |
const char* gnash::TouchDevice::id | ( | ) | [inline, virtual] |
Implements gnash::InputDevice.
bool gnash::TouchDevice::init | ( | ) | [virtual] |
Reimplemented from gnash::InputDevice.
bool gnash::TouchDevice::init | ( | const std::string & | filespec, |
size_t | size | ||
) | [virtual] |
Implements gnash::InputDevice.
References gnash::InputDevice::_type, gnash::InputDevice::TOUCHSCREEN, gnash::InputDevice::_filespec, _, and gnash::InputDevice::_fd.
std::vector< boost::shared_ptr< InputDevice > > gnash::TouchDevice::scanForDevices | ( | ) | [static] |
Reimplemented from gnash::InputDevice.
References gnash::InputDevice::TOUCHSCREEN, gnash::InputDevice::UNKNOWN, gnash::key::i, _, and TouchDevice().