Add eye/left and eye/right devices;

Currently nobody returns data for them, though headset drivers could
start to provide poses estimated from the head pose and IPD info.

This also makes it easier to integrate eye tracking later.
This commit is contained in:
bjorn 2020-01-29 17:53:03 -08:00
parent 12d2e32903
commit f89998b21f
2 changed files with 4 additions and 0 deletions

View File

@ -33,6 +33,8 @@ const char* Devices[] = {
[DEVICE_HEAD] = "head",
[DEVICE_HAND_LEFT] = "hand/left",
[DEVICE_HAND_RIGHT] = "hand/right",
[DEVICE_EYE_LEFT] = "eye/left",
[DEVICE_EYE_RIGHT] = "eye/right",
NULL
};

View File

@ -26,6 +26,8 @@ typedef enum {
DEVICE_HEAD,
DEVICE_HAND_LEFT,
DEVICE_HAND_RIGHT,
DEVICE_EYE_LEFT,
DEVICE_EYE_RIGHT,
MAX_DEVICES
} Device;