|
ubit
|
UMS event source. More...
#include <source.hpp>
Public Member Functions | |
| int | filedesc () const |
| bool | is_open () const |
| virtual bool | read () |
| reads and process incoming data. | |
| virtual bool | canCalibrate () const |
| virtual void | calibrate () |
| calibrates the device (if this device can be calibrated). | |
| UMSbutton * | getButton (int btn_number) |
| UMSbutton * | getButton (int btn_number, unsigned int mod_mask) |
| void | setButton (int btn_number, unsigned int out_btn_mask, unsigned int out_mod_mask) |
| void | setButton (int btn_number, unsigned int mod_mask, unsigned int out_btn_mask, unsigned int out_mod_mask) |
Protected Attributes | |
| int | fd |
| std::vector< UMSbutton * > | button_map |
UMS event source.
1.8.12