USB_hid: VR Controls definitions.
This commit is contained in:
parent
c84296d0ad
commit
bc6dc61fb9
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2004-2010, Haiku Inc. All Rights Reserved.
|
||||
* Copyright 2004-2019, Haiku Inc. All Rights Reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef _USB_HID_PAGE_VR_CONTROLS_H
|
||||
@ -7,42 +7,26 @@
|
||||
|
||||
|
||||
/* Reference:
|
||||
* HID Usage Page 0x05: Game Controls
|
||||
* HID Usage Page 0x03: VR Controls
|
||||
* HID Usage Tables Ver. 1.12
|
||||
* http://www.usb.org/developers/devclass_docs/Hut1_12.pdf
|
||||
*/
|
||||
|
||||
// Usage IDs
|
||||
enum {
|
||||
B_HID_UID_GAM_3D_GAME_CONTROLLER = 0x01,
|
||||
B_HID_UID_GAM_PINBALL_DEVICE,
|
||||
B_HID_UID_GAM_GUN_DEVICE,
|
||||
|
||||
B_HID_UID_GAM_POINT_OF_VIEW = 0x20,
|
||||
B_HID_UID_GAM_TURN_RIGHT_LEFT,
|
||||
B_HID_UID_GAM_PITCH_FORWARD_BACKWARD,
|
||||
B_HID_UID_GAM_ROLL_RIGHT_LEFT,
|
||||
B_HID_UID_GAM_MOVE_RIGHT_LEFT,
|
||||
B_HID_UID_GAM_MOVE_FORWARD_BACKWARD,
|
||||
B_HID_UID_GAM_MOVE_UP_DOWN,
|
||||
B_HID_UID_GAM_LEAN_RIGHT_LEFT,
|
||||
B_HID_UID_GAM_LEAN_FORWARD_BACKWARD,
|
||||
B_HID_UID_GAM_HEIGHT_OF_POV,
|
||||
B_HID_UID_GAM_FLIPPER,
|
||||
B_HID_UID_GAM_SECONDARY_FLIPPER,
|
||||
B_HID_UID_GAM_BUMP,
|
||||
B_HID_UID_GAM_NEW_GAME,
|
||||
B_HID_UID_GAM_SHOOT_BALL,
|
||||
B_HID_UID_GAM_PLAYER,
|
||||
B_HID_UID_GAM_GUN_BOLT,
|
||||
B_HID_UID_GAM_GUN_CLIP,
|
||||
B_HID_UID_GAM_GUN_SELECTOR,
|
||||
B_HID_UID_GAM_GUN_SINGLE_SHOT,
|
||||
B_HID_UID_GAM_GUN_BURST,
|
||||
B_HID_UID_GAM_GUN_AUTOMATIC,
|
||||
B_HID_UID_GAM_GUN_SAFETY,
|
||||
B_HID_UID_GAM_GAMEPAD_FIRE_JUMP,
|
||||
B_HID_UID_GAM_GAMEPAD_TRIGGER
|
||||
B_HID_UID_VR_BELT = 0x01,
|
||||
B_HID_UID_VR_BODY_SUIT,
|
||||
B_HID_UID_VR_FLEXOR,
|
||||
B_HID_UID_VR_GLOVE,
|
||||
B_HID_UID_VR_HEAD_TRACKER,
|
||||
B_HID_UID_VR_HEAD_MOUNTED_DISPLAY,
|
||||
B_HID_UID_VR_HAND_TRACKER,
|
||||
B_HID_UID_VR_OCULOMETER,
|
||||
B_HID_UID_VR_VEST,
|
||||
B_HID_UID_VR_ANIMATRONIC_DEVICE,
|
||||
|
||||
B_HID_UID_VR_STEREO_ENABLE = 0x20,
|
||||
B_HID_UID_VR_DISPLAY_ENABLE,
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user