#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 _.
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::_fd, gnash::InputDevice::_filespec, and gnash::InputDevice::_type.
std::vector< boost::shared_ptr< InputDevice > > gnash::TouchDevice::scanForDevices | ( | ) | [static] |
Reimplemented from gnash::InputDevice.
References _, gnash::key::i, TouchDevice(), and gnash::InputDevice::UNKNOWN.