mirror of
https://github.com/baketnk/frame-yap.git
synced 2026-10-06 04:04:07 +02:00
Finish companion controls and retain panel textures during manipulation
This commit is contained in:
1 parent
b0767d1b36
commit
bcd330d42c
28 files changed
+906
-158
No files matched your search
+68
-21
@@ -1,29 +1,76 @@
|
||||
{
|
||||
"default_bindings": [
|
||||
{ "controller_type": "frame_controller", "binding_url": "bindings_frame_controller.json" },
|
||||
{ "controller_type": "knuckles", "binding_url": "bindings_knuckles.json" }
|
||||
{
|
||||
"controller_type": "frame_controller",
|
||||
"binding_url": "bindings_frame_controller.json"
|
||||
},
|
||||
{
|
||||
"controller_type": "knuckles",
|
||||
"binding_url": "bindings_knuckles.json"
|
||||
}
|
||||
],
|
||||
"action_sets": [
|
||||
{ "name": "/actions/frameyap", "usage": "single" }
|
||||
{
|
||||
"name": "/actions/frameyap",
|
||||
"usage": "single"
|
||||
},
|
||||
{
|
||||
"name": "/actions/grab",
|
||||
"usage": "single"
|
||||
}
|
||||
],
|
||||
"actions": [
|
||||
{ "name": "/actions/frameyap/in/left_grip", "type": "boolean" },
|
||||
{ "name": "/actions/frameyap/in/right_grip", "type": "boolean" },
|
||||
{ "name": "/actions/frameyap/in/ptt", "type": "boolean" },
|
||||
{ "name": "/actions/frameyap/in/cancel", "type": "boolean" },
|
||||
{ "name": "/actions/frameyap/in/insert", "type": "boolean" },
|
||||
{ "name": "/actions/frameyap/in/enter", "type": "boolean" },
|
||||
{ "name": "/actions/frameyap/in/quick_chat", "type": "boolean" }
|
||||
{
|
||||
"name": "/actions/frameyap/in/left_grip",
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"name": "/actions/frameyap/in/right_grip",
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"name": "/actions/frameyap/in/ptt",
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"name": "/actions/frameyap/in/cancel",
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"name": "/actions/frameyap/in/insert",
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"name": "/actions/frameyap/in/enter",
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"name": "/actions/frameyap/in/quick_chat",
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"name": "/actions/grab/in/left_depth",
|
||||
"type": "vector2"
|
||||
},
|
||||
{
|
||||
"name": "/actions/grab/in/right_depth",
|
||||
"type": "vector2"
|
||||
}
|
||||
],
|
||||
"localization": [{
|
||||
"language_tag": "en_US",
|
||||
"/actions/frameyap": "FrameYap controls",
|
||||
"/actions/frameyap/in/left_grip": "Double tap left grip: Type + Enter (enabled only)",
|
||||
"/actions/frameyap/in/right_grip": "Tap right grip briefly, then squeeze and hold to record; release to finish",
|
||||
"/actions/frameyap/in/ptt": "Hold right X to record (default; remappable)",
|
||||
"/actions/frameyap/in/cancel": "Cancel recording or discard",
|
||||
"/actions/frameyap/in/insert": "Type reviewed text + trailing space",
|
||||
"/actions/frameyap/in/enter": "Type + Enter: pending text + Enter, or Enter alone",
|
||||
"/actions/frameyap/in/quick_chat": "Open quick phrases / cycle selection"
|
||||
}]
|
||||
"localization": [
|
||||
{
|
||||
"language_tag": "en_US",
|
||||
"/actions/frameyap": "FrameYap controls",
|
||||
"/actions/frameyap/in/left_grip": "Double tap left grip: Type + Enter (enabled only)",
|
||||
"/actions/frameyap/in/right_grip": "Tap right grip briefly, then squeeze and hold to record; release to finish",
|
||||
"/actions/frameyap/in/ptt": "Hold right X to record (default; remappable)",
|
||||
"/actions/frameyap/in/cancel": "Cancel recording or discard",
|
||||
"/actions/frameyap/in/insert": "Type reviewed text + trailing space",
|
||||
"/actions/frameyap/in/enter": "Type + Enter: pending text + Enter, or Enter alone",
|
||||
"/actions/frameyap/in/quick_chat": "Open quick phrases / cycle selection",
|
||||
"/actions/grab": "Held panel depth",
|
||||
"/actions/grab/in/left_depth": "Left stick: move held panel forward/back",
|
||||
"/actions/grab/in/right_depth": "Right stick: move held panel forward/back"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -8,32 +8,78 @@
|
||||
{
|
||||
"path": "/user/hand/left/input/grip",
|
||||
"mode": "button",
|
||||
"inputs": { "click": { "output": "/actions/frameyap/in/left_grip" } }
|
||||
"inputs": {
|
||||
"click": {
|
||||
"output": "/actions/frameyap/in/left_grip"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/user/hand/right/input/grip",
|
||||
"mode": "button",
|
||||
"inputs": { "click": { "output": "/actions/frameyap/in/right_grip" } }
|
||||
"inputs": {
|
||||
"click": {
|
||||
"output": "/actions/frameyap/in/right_grip"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/user/hand/right/input/x",
|
||||
"mode": "button",
|
||||
"inputs": { "click": { "output": "/actions/frameyap/in/ptt" } }
|
||||
"inputs": {
|
||||
"click": {
|
||||
"output": "/actions/frameyap/in/ptt"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/user/hand/right/input/b",
|
||||
"mode": "button",
|
||||
"inputs": { "click": { "output": "/actions/frameyap/in/cancel" } }
|
||||
"inputs": {
|
||||
"click": {
|
||||
"output": "/actions/frameyap/in/cancel"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/user/hand/right/input/a",
|
||||
"mode": "button",
|
||||
"inputs": { "click": { "output": "/actions/frameyap/in/insert" } }
|
||||
"inputs": {
|
||||
"click": {
|
||||
"output": "/actions/frameyap/in/insert"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/user/hand/right/input/y",
|
||||
"mode": "button",
|
||||
"inputs": { "click": { "output": "/actions/frameyap/in/quick_chat" } }
|
||||
"inputs": {
|
||||
"click": {
|
||||
"output": "/actions/frameyap/in/quick_chat"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"/actions/grab": {
|
||||
"sources": [
|
||||
{
|
||||
"path": "/user/hand/left/input/thumbstick",
|
||||
"mode": "joystick",
|
||||
"inputs": {
|
||||
"position": {
|
||||
"output": "/actions/grab/in/left_depth"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/user/hand/right/input/thumbstick",
|
||||
"mode": "joystick",
|
||||
"inputs": {
|
||||
"position": {
|
||||
"output": "/actions/grab/in/right_depth"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -8,12 +8,42 @@
|
||||
{
|
||||
"path": "/user/hand/left/input/grip",
|
||||
"mode": "button",
|
||||
"inputs": { "click": { "output": "/actions/frameyap/in/left_grip" } }
|
||||
"inputs": {
|
||||
"click": {
|
||||
"output": "/actions/frameyap/in/left_grip"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/user/hand/right/input/grip",
|
||||
"mode": "button",
|
||||
"inputs": { "click": { "output": "/actions/frameyap/in/right_grip" } }
|
||||
"inputs": {
|
||||
"click": {
|
||||
"output": "/actions/frameyap/in/right_grip"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"/actions/grab": {
|
||||
"sources": [
|
||||
{
|
||||
"path": "/user/hand/left/input/thumbstick",
|
||||
"mode": "joystick",
|
||||
"inputs": {
|
||||
"position": {
|
||||
"output": "/actions/grab/in/left_depth"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/user/hand/right/input/thumbstick",
|
||||
"mode": "joystick",
|
||||
"inputs": {
|
||||
"position": {
|
||||
"output": "/actions/grab/in/right_depth"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
"frame_start": "#1fff91",
|
||||
"frame_end": "#1f70ff"
|
||||
},
|
||||
"gradient": {"enabled": true, "period_seconds": 30, "strength": 0.12},
|
||||
"gradient": {"enabled": false, "period_seconds": 30, "strength": 0.12},
|
||||
"buttons": {
|
||||
"left_grip": "/user/hand/left/input/grip",
|
||||
"right_grip": "/user/hand/right/input/grip",
|
||||
|
||||
Reference in new issue
Block a user