#include <stdio.h>#include <fcntl.h>#include <string.h>#include "vrpn_Connection.h"#include "vrpn_Serial.h"#include "vrpn_Shared.h"#include "vrpn_Button.h"
Go to the source code of this file.
Macros | |
| #define | BUTTON_READY (1) |
| #define | BUTTON_FAIL (-1) |
| #define | PACK_ADMIN_MESSAGE(i, event) |
| #define | PACK_ALERT_MESSAGE(i, event) |
| #define | PACK_MESSAGE(i, event) |
Functions | |
| const unsigned char | PG_START_BYTE_DATA (0x80) |
| const unsigned char | PG_START_BYTE_DATA_TIME (0x81) |
| const unsigned char | PG_END_BYTE (0x8F) |
| #define BUTTON_FAIL (-1) |
Definition at line 37 of file vrpn_Button.C.
Referenced by vrpn_Button_PinchGlove::mainloop(), vrpn_Button_Python::mainloop(), vrpn_Button_SerialMouse::mainloop(), vrpn_Button_Parallel::vrpn_Button_Parallel(), vrpn_Button_PinchGlove::vrpn_Button_PinchGlove(), vrpn_Button_Serial::vrpn_Button_Serial(), and vrpn_Button_SerialMouse::vrpn_Button_SerialMouse().
| #define BUTTON_READY (1) |
Definition at line 36 of file vrpn_Button.C.
Referenced by vrpn_Button_PinchGlove::mainloop(), vrpn_Button_Python::mainloop(), vrpn_Button_SerialMouse::mainloop(), vrpn_Button_PinchGlove::read(), vrpn_Button_Python::read(), vrpn_Button_SerialMouse::read(), vrpn_Button_Parallel::vrpn_Button_Parallel(), vrpn_Button_PinchGlove::vrpn_Button_PinchGlove(), vrpn_Button_Serial::vrpn_Button_Serial(), and vrpn_Button_SerialMouse::vrpn_Button_SerialMouse().
| #define PACK_ADMIN_MESSAGE | ( | i, | |
| event ) |
Definition at line 59 of file vrpn_Button.C.
Referenced by vrpn_Button::set_all_momentary(), vrpn_Button::set_all_toggle(), vrpn_Button::set_momentary(), and vrpn_Button::set_toggle().
| #define PACK_ALERT_MESSAGE | ( | i, | |
| event ) |
Definition at line 69 of file vrpn_Button.C.
Referenced by vrpn_Button_Filter::report_changes(), vrpn_Button_Filter::set_all_momentary(), vrpn_Button_Filter::set_all_toggle(), vrpn_Button_Filter::set_momentary(), and vrpn_Button_Filter::set_toggle().
| #define PACK_MESSAGE | ( | i, | |
| event ) |
Definition at line 80 of file vrpn_Button.C.
Referenced by vrpn_Button::report_changes(), and vrpn_Button_Filter::report_changes().
| const unsigned char PG_END_BYTE | ( | 0x8F | ) |
References VRPN_CALLBACK.
Referenced by vrpn_Button_PinchGlove::read(), and vrpn_Button_PinchGlove::report_no_timestamp().
| const unsigned char PG_START_BYTE_DATA | ( | 0x80 | ) |
Referenced by vrpn_Button_PinchGlove::read().
| const unsigned char PG_START_BYTE_DATA_TIME | ( | 0x81 | ) |
Referenced by vrpn_Button_PinchGlove::read().