mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 12:46:12 +00:00
a/bindings: Add eye gaze support
This commit is contained in:
parent
96c88f488e
commit
aefeeb1403
|
@ -1355,6 +1355,26 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"/interaction_profiles/ext/eye_gaze_interaction": {
|
||||||
|
"title": "Extension Eye Gaze Interaction",
|
||||||
|
"type": "eye_tracker",
|
||||||
|
"monado_device": "XRT_DEVICE_EYE_GAZE_INTERACTION",
|
||||||
|
"extension": "XR_EXT_eye_gaze_interaction",
|
||||||
|
"subaction_paths": [
|
||||||
|
"/user/eyes_ext"
|
||||||
|
],
|
||||||
|
"subpaths": {
|
||||||
|
"/input/gaze_ext": {
|
||||||
|
"type": "pose",
|
||||||
|
"localized_name": "Gaze",
|
||||||
|
"components": ["pose"],
|
||||||
|
"monado_bindings": {
|
||||||
|
"pose": "XRT_INPUT_GENERIC_EYE_GAZE_POSE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,7 +7,8 @@
|
||||||
"enum": [
|
"enum": [
|
||||||
"tracked_controller",
|
"tracked_controller",
|
||||||
"untracked_controller",
|
"untracked_controller",
|
||||||
"tracked_hmd"
|
"tracked_hmd",
|
||||||
|
"eye_tracker"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"subpathType": {
|
"subpathType": {
|
||||||
|
@ -42,7 +43,8 @@
|
||||||
"/user/hand/left",
|
"/user/hand/left",
|
||||||
"/user/hand/right",
|
"/user/hand/right",
|
||||||
"/user/head",
|
"/user/head",
|
||||||
"/user/gamepad"
|
"/user/gamepad",
|
||||||
|
"/user/eyes_ext"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"steamVrControllerType": {
|
"steamVrControllerType": {
|
||||||
|
@ -195,7 +197,7 @@
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"title": "Paths provided by this profile",
|
"title": "Paths provided by this profile",
|
||||||
"propertyNames": {
|
"propertyNames": {
|
||||||
"pattern": "^(/input/(select|menu|grip|aim|trackpad|system|squeeze|trigger|volume_up|volume_down|mute_mic|thumbrest|home|start|([a-z]+)_mndx|[1-4]|thumbstick(_left|_right)?|view|a|b|x|y|dpad_(up|down|left|right)|shoulder(_left|_right)?))|(/output/haptic(_left|_right|_left_trigger|_right_trigger)?)$"
|
"pattern": "^(/input/(select|menu|grip|aim|trackpad|system|squeeze|trigger|volume_up|volume_down|mute_mic|thumbrest|home|start|gaze_ext|([a-z]+)_mndx|[1-4]|thumbstick(_left|_right)?|view|a|b|x|y|dpad_(up|down|left|right)|shoulder(_left|_right)?))|(/output/haptic(_left|_right|_left_trigger|_right_trigger)?)$"
|
||||||
},
|
},
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
"$ref": "#/definitions/subpathData"
|
"$ref": "#/definitions/subpathData"
|
||||||
|
|
Loading…
Reference in a new issue