mirror of https://github.com/bjornbytes/lovr.git
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:
parent
12d2e32903
commit
f89998b21f
|
@ -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
|
||||
};
|
||||
|
||||
|
|
|
@ -26,6 +26,8 @@ typedef enum {
|
|||
DEVICE_HEAD,
|
||||
DEVICE_HAND_LEFT,
|
||||
DEVICE_HAND_RIGHT,
|
||||
DEVICE_EYE_LEFT,
|
||||
DEVICE_EYE_RIGHT,
|
||||
MAX_DEVICES
|
||||
} Device;
|
||||
|
||||
|
|
Loading…
Reference in New Issue