Public Attributes

cedrus::response Class Reference

struct to encapsulate a response from an XID device More...

#include <xid_device_t.h>

List of all members.

Public Attributes

int port
 port the response came from.
int button
 button pressed.
bool pressed
 whether or not a button was pressed
int reaction_time
 reaction time
cedrus::key_state key_state
 key state.

Detailed Description

struct to encapsulate a response from an XID device

Definition at line 53 of file xid_device_t.h.


Member Data Documentation

button pressed.

This is a 0 based index

Definition at line 63 of file xid_device_t.h.

key state.

NO_KEY_DETECTED, FOUND_KEY_UP, or FOUND_KEY_DOWN

Definition at line 78 of file xid_device_t.h.

port the response came from.

Usualy 0

Definition at line 58 of file xid_device_t.h.

whether or not a button was pressed

Definition at line 68 of file xid_device_t.h.

reaction time

Definition at line 73 of file xid_device_t.h.


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