vrpn 07.35
Virtual Reality Peripheral Network
|
#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.
#define BUTTON_READY (1) |
Definition at line 36 of file vrpn_Button.C.
#define PACK_ADMIN_MESSAGE | ( | i, | |
event | |||
) |
Definition at line 59 of file vrpn_Button.C.
#define PACK_ALERT_MESSAGE | ( | i, | |
event | |||
) |
Definition at line 69 of file vrpn_Button.C.
#define PACK_MESSAGE | ( | i, | |
event | |||
) |
Definition at line 80 of file vrpn_Button.C.
const unsigned char PG_END_BYTE | ( | 0x8F | ) |
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().