* added actions for haptics * Haptic WIP #1 crash on haptic event * haptics rough implemented * fixed action names and prox sensor work-around * added workaround to catch-all in begineer chaperone switch * added idle work-around to alarm warning * changed visibility slider values to reflect new API limits * added disable chaperone * added display Logic * fixed visibility slider display and some saving fade distance when chaperone disabled * fixed warnings not always working (hopefully) centralized action/input keys into ivrinput.h * default bindings for HMD's * chaperone input re-factor * refactored ivrinput class * fixed naming errors commented out prox testing * formatting removed commented code * format * fixed compiler warnings * updated documentation * Reduced reload chaperone calls * adjusted haptics for chaperone bounds warnings
186 lines
5.5 KiB
JSON
186 lines
5.5 KiB
JSON
{
|
|
"default_bindings": [
|
|
{
|
|
"controller_type": "vive_controller",
|
|
"binding_url": "default_action_manifests/vive_defaults.json"
|
|
},
|
|
{
|
|
"controller_type" : "generic",
|
|
"binding_url" : "default_action_manifests/generic_hmd_defaults.json"
|
|
},
|
|
{
|
|
"controller_type" : "vive",
|
|
"binding_url" : "default_action_manifests/vive_hmd_defaults.json"
|
|
}
|
|
],
|
|
"actions": [
|
|
{
|
|
"name": "/actions/main/in/NextTrack",
|
|
"requirement": "optional",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "/actions/main/in/PreviousTrack",
|
|
"requirement": "optional",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "/actions/main/in/PausePlayTrack",
|
|
"requirement": "optional",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "/actions/main/in/StopTrack",
|
|
"requirement": "optional",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "/actions/main/in/ProxSensor",
|
|
"requirement": "optional",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "/actions/main/out/HapticsLeft",
|
|
"type": "vibration"
|
|
},
|
|
{
|
|
"name": "/actions/main/out/HapticsRight",
|
|
"type": "vibration"
|
|
},
|
|
{
|
|
"name": "/actions/main/in/LeftHandSpaceTurn",
|
|
"requirement": "optional",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "/actions/main/in/RightHandSpaceTurn",
|
|
"requirement": "optional",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "/actions/main/in/LeftHandSpaceDrag",
|
|
"requirement": "optional",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "/actions/main/in/RightHandSpaceDrag",
|
|
"requirement": "optional",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "/actions/main/in/OptionalOverrideLeftHandSpaceTurn",
|
|
"requirement": "optional",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "/actions/main/in/OptionalOverrideRightHandSpaceTurn",
|
|
"requirement": "optional",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "/actions/main/in/OptionalOverrideLeftHandSpaceDrag",
|
|
"requirement": "optional",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "/actions/main/in/OptionalOverrideRightHandSpaceDrag",
|
|
"requirement": "optional",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "/actions/main/in/SwapSpaceDragToLeftHandOverride",
|
|
"requirement": "optional",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "/actions/main/in/SwapSpaceDragToRightHandOverride",
|
|
"requirement": "optional",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "/actions/main/in/GravityToggle",
|
|
"requirement": "optional",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "/actions/main/in/HeightToggle",
|
|
"requirement": "optional",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "/actions/main/in/ResetOffsets",
|
|
"requirement": "optional",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "/actions/main/in/SnapTurnLeft",
|
|
"requirement": "optional",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "/actions/main/in/SnapTurnRight",
|
|
"requirement": "optional",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "/actions/main/in/XAxisLockToggle",
|
|
"requirement": "optional",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "/actions/main/in/YAxisLockToggle",
|
|
"requirement": "optional",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "/actions/main/in/ZAxisLockToggle",
|
|
"requirement": "optional",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "/actions/main/in/PushToTalk",
|
|
"requirement": "optional",
|
|
"type": "boolean"
|
|
}
|
|
],
|
|
"action_sets": [
|
|
{
|
|
"name": "/actions/main",
|
|
"usage": "leftright"
|
|
}
|
|
],
|
|
"localization" : [
|
|
{
|
|
"language_tag": "en_US",
|
|
|
|
"/actions/main" : "Advanced Settings Actions",
|
|
|
|
"/actions/main/in/NextTrack" : "Play Next Track",
|
|
"/actions/main/in/PreviousTrack" : "Play Previous Track",
|
|
"/actions/main/in/PausePlayTrack" : "Pause/Play Track",
|
|
"/actions/main/in/StopTrack" : "Stop Track",
|
|
"/actions/main/out/HapticsLeft" : "Haptics Left",
|
|
"/actions/main/out/HapticsRight" : " Haptics Right",
|
|
"/actions/main/in/LeftHandSpaceTurn" : "Left Hand Space Turn",
|
|
"/actions/main/in/RightHandSpaceTurn" : "Right Hand Space Turn",
|
|
"/actions/main/in/LeftHandSpaceDrag" : "Left Hand Space Drag",
|
|
"/actions/main/in/RightHandSpaceDrag" : "Right Hand Space Drag",
|
|
"/actions/main/in/OptionalOverrideLeftHandSpaceTurn" : "(Optional Override) Left Hand Space Turn",
|
|
"/actions/main/in/OptionalOverrideRightHandSpaceTurn" : "(Optional Override) Right Hand Space Turn",
|
|
"/actions/main/in/OptionalOverrideLeftHandSpaceDrag" : "(Optional Override) Left Hand Space Drag",
|
|
"/actions/main/in/OptionalOverrideRightHandSpaceDrag" : "(Optional Override) Right Hand Space Drag",
|
|
"/actions/main/in/SwapSpaceDragToLeftHandOverride" : "Swap Active Space Drag to Left Hand (Override)",
|
|
"/actions/main/in/SwapSpaceDragToRightHandOverride" : "Swap Active Space Drag to Right Hand (Override)",
|
|
"/actions/main/in/GravityToggle" : "Gravity Toggle",
|
|
"/actions/main/in/HeightToggle" : "Height Toggle",
|
|
"/actions/main/in/ResetOffsets" : "Reset Offsets",
|
|
"/actions/main/in/SnapTurnLeft" : "Snap-Turn Left",
|
|
"/actions/main/in/SnapTurnRight" : "Snap-Turn Right",
|
|
"/actions/main/in/XAxisLockToggle" : "X-Axis Lock Toggle",
|
|
"/actions/main/in/YAxisLockToggle" : "Y-Axis Lock Toggle",
|
|
"/actions/main/in/ZAxisLockToggle" : "Z-Axis Lock Toggle",
|
|
|
|
"/actions/main/in/PushToTalk" : "Push To Talk"
|
|
}
|
|
]
|
|
} |