11#include <util/coTypes.h>
12#include "../coInteraction.h"
42 WHEEL_UP = 0x01000000,
43 WHEEL_DOWN = 0x02000000,
44 WHEEL_LEFT = 0x04000000,
45 WHEEL_RIGHT = 0x08000000,
46 WHEEL = WHEEL_UP | WHEEL_DOWN | WHEEL_LEFT | WHEEL_RIGHT,
47 JOYSTICK_RIGHT = 0x10000000,
48 JOYSTICK_DOWN = 0x20000000,
49 JOYSTICK_LEFT = 0x40000000,
50 JOYSTICK_UP = 0x80000000,
51 ALL_BUTTONS = ACTION_BUTTON | DRIVE_BUTTON | XFORM_BUTTON | FORWARD_BUTTON | BACKWARD_BUTTON
55 virtual unsigned int wasPressed(
unsigned int buttonMask=ALL_BUTTONS)
const = 0;
56 virtual unsigned int wasReleased(
unsigned int buttonMask=ALL_BUTTONS)
const = 0;
collaborative interface manager
Definition: coVRCommunication.h:41
@ ButtonToggleDocuments
Definition: coInteraction.h:56
@ ButtonZoom
Definition: coInteraction.h:58
@ ButtonPrevPerson
Definition: coInteraction.h:64
@ ButtonAction
Definition: coInteraction.h:47
@ ButtonNextPerson
Definition: coInteraction.h:63
@ LastButton
Definition: coInteraction.h:65
@ ButtonDrive
Definition: coInteraction.h:49
@ ButtonBack
Definition: coInteraction.h:55
@ ButtonXform
Definition: coInteraction.h:51
@ ButtonQuit
Definition: coInteraction.h:60
@ ButtonMenu
Definition: coInteraction.h:59
@ ButtonForward
Definition: coInteraction.h:53
@ ButtonPrevInter
Definition: coInteraction.h:62
@ ButtonNextInter
Definition: coInteraction.h:61
@ ButtonDrag
Definition: coInteraction.h:57
Definition: vruiButtons.h:18
virtual unsigned int wasPressed(unsigned int buttonMask=ALL_BUTTONS) const =0
virtual unsigned int getOldStatus() const =0
virtual unsigned int getStatus() const =0
vruiButtons()
Definition: vruiButtons.h:20
virtual unsigned int wasReleased(unsigned int buttonMask=ALL_BUTTONS) const =0
virtual int getWheelCount(size_t idx=0) const =0
Button
Definition: vruiButtons.h:26