Gnash 0.8.10dev
Public Member Functions | Static Public Member Functions
gnash::MouseDevice Class Reference

#include <InputDevice.h>

Inheritance diagram for gnash::MouseDevice:
gnash::InputDevice

List of all members.

Public Member Functions

 MouseDevice ()
 MouseDevice (Gui *gui)
virtual bool init ()
virtual bool init (const std::string &filespec, size_t size)
virtual bool check ()
bool command (unsigned char cmd, unsigned char *buf, int count)
 Sends a command to the mouse and waits for the response.

Static Public Member Functions

static std::vector
< boost::shared_ptr
< InputDevice > > 
scanForDevices (Gui *gui)

Constructor & Destructor Documentation

gnash::MouseDevice::MouseDevice ( )

References GNASH_REPORT_FUNCTION.

Referenced by scanForDevices().

gnash::MouseDevice::MouseDevice ( Gui gui)

Member Function Documentation

bool gnash::MouseDevice::check ( ) [virtual]
bool gnash::MouseDevice::command ( unsigned char  cmd,
unsigned char *  buf,
int  count 
)

Sends a command to the mouse and waits for the response.

References _, gnash::InputDevice::_fd, GNASH_REPORT_FUNCTION, gnash::gnashSleep(), gnash::key::n, and gnash::amf::write().

Referenced by init().

bool gnash::MouseDevice::init ( const std::string &  filespec,
size_t  size 
) [virtual]
bool gnash::MouseDevice::init ( ) [virtual]

Reimplemented from gnash::InputDevice.

References GNASH_REPORT_FUNCTION.

std::vector< boost::shared_ptr< InputDevice > > gnash::MouseDevice::scanForDevices ( Gui gui) [static]

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