diff --git a/assets/controllers/pico-4s/left.glb b/assets/controllers/pico-4s/left.glb deleted file mode 100644 index e98215f0..00000000 Binary files a/assets/controllers/pico-4s/left.glb and /dev/null differ diff --git a/assets/controllers/pico-4s/profile.json b/assets/controllers/pico-4s/profile.json deleted file mode 100644 index 99cd1067..00000000 --- a/assets/controllers/pico-4s/profile.json +++ /dev/null @@ -1,286 +0,0 @@ -{ - "profileId": "pico-4s", - "fallbackProfileIds": [ - "generic-trigger-squeeze-thumbstick" - ], - "layouts": { - "left": { - "selectComponentId": "xr-standard-trigger", - "components": { - "xr-standard-trigger": { - "type": "trigger", - "gamepadIndices": { - "button": 0 - }, - "rootNodeName": "xr_standard_trigger", - "visualResponses": { - "xr_standard_trigger_pressed": { - "componentProperty": "button", - "states": [ - "default", - "touched", - "pressed" - ], - "valueNodeProperty": "transform", - "valueNodeName": "xr_standard_trigger_pressed_value", - "minNodeName": "xr_standard_trigger_pressed_min", - "maxNodeName": "xr_standard_trigger_pressed_max" - } - } - }, - "xr-standard-squeeze": { - "type": "squeeze", - "gamepadIndices": { - "button": 1 - }, - "rootNodeName": "xr_standard_squeeze", - "visualResponses": { - "xr_standard_squeeze_pressed": { - "componentProperty": "button", - "states": [ - "default", - "touched", - "pressed" - ], - "valueNodeProperty": "transform", - "valueNodeName": "xr_standard_squeeze_pressed_value", - "minNodeName": "xr_standard_squeeze_pressed_min", - "maxNodeName": "xr_standard_squeeze_pressed_max" - } - } - }, - "xr-standard-thumbstick": { - "type": "thumbstick", - "gamepadIndices": { - "button": 3, - "xAxis": 2, - "yAxis": 3 - }, - "rootNodeName": "xr_standard_thumbstick", - "visualResponses": { - "xr_standard_thumbstick_pressed": { - "componentProperty": "button", - "states": [ - "default", - "touched", - "pressed" - ], - "valueNodeProperty": "transform", - "valueNodeName": "xr_standard_thumbstick_pressed_value", - "minNodeName": "xr_standard_thumbstick_pressed_min", - "maxNodeName": "xr_standard_thumbstick_pressed_max" - }, - "xr_standard_thumbstick_xaxis_pressed": { - "componentProperty": "xAxis", - "states": [ - "default", - "touched", - "pressed" - ], - "valueNodeProperty": "transform", - "valueNodeName": "xr_standard_thumbstick_xaxis_pressed_value", - "minNodeName": "xr_standard_thumbstick_xaxis_pressed_min", - "maxNodeName": "xr_standard_thumbstick_xaxis_pressed_max" - }, - "xr_standard_thumbstick_yaxis_pressed": { - "componentProperty": "yAxis", - "states": [ - "default", - "touched", - "pressed" - ], - "valueNodeProperty": "transform", - "valueNodeName": "xr_standard_thumbstick_yaxis_pressed_value", - "minNodeName": "xr_standard_thumbstick_yaxis_pressed_min", - "maxNodeName": "xr_standard_thumbstick_yaxis_pressed_max" - } - } - }, - "x-button": { - "type": "button", - "gamepadIndices": { - "button": 4 - }, - "rootNodeName": "x_button", - "visualResponses": { - "x_button_pressed": { - "componentProperty": "button", - "states": [ - "default", - "touched", - "pressed" - ], - "valueNodeProperty": "transform", - "valueNodeName": "x_button_pressed_value", - "minNodeName": "x_button_pressed_min", - "maxNodeName": "x_button_pressed_max" - } - } - }, - "y-button": { - "type": "button", - "gamepadIndices": { - "button": 5 - }, - "rootNodeName": "y_button", - "visualResponses": { - "y_button_pressed": { - "componentProperty": "button", - "states": [ - "default", - "touched", - "pressed" - ], - "valueNodeProperty": "transform", - "valueNodeName": "y_button_pressed_value", - "minNodeName": "y_button_pressed_min", - "maxNodeName": "y_button_pressed_max" - } - } - } - }, - "gamepadMapping": "xr-standard", - "rootNodeName": "pico-4s-left", - "assetPath": "left.glb" - }, - "right": { - "selectComponentId": "xr-standard-trigger", - "components": { - "xr-standard-trigger": { - "type": "trigger", - "gamepadIndices": { - "button": 0 - }, - "rootNodeName": "xr_standard_trigger", - "visualResponses": { - "xr_standard_trigger_pressed": { - "componentProperty": "button", - "states": [ - "default", - "touched", - "pressed" - ], - "valueNodeProperty": "transform", - "valueNodeName": "xr_standard_trigger_pressed_value", - "minNodeName": "xr_standard_trigger_pressed_min", - "maxNodeName": "xr_standard_trigger_pressed_max" - } - } - }, - "xr-standard-squeeze": { - "type": "squeeze", - "gamepadIndices": { - "button": 1 - }, - "rootNodeName": "xr_standard_squeeze", - "visualResponses": { - "xr_standard_squeeze_pressed": { - "componentProperty": "button", - "states": [ - "default", - "touched", - "pressed" - ], - "valueNodeProperty": "transform", - "valueNodeName": "xr_standard_squeeze_pressed_value", - "minNodeName": "xr_standard_squeeze_pressed_min", - "maxNodeName": "xr_standard_squeeze_pressed_max" - } - } - }, - "xr-standard-thumbstick": { - "type": "thumbstick", - "gamepadIndices": { - "button": 3, - "xAxis": 2, - "yAxis": 3 - }, - "rootNodeName": "xr_standard_thumbstick", - "visualResponses": { - "xr_standard_thumbstick_pressed": { - "componentProperty": "button", - "states": [ - "default", - "touched", - "pressed" - ], - "valueNodeProperty": "transform", - "valueNodeName": "xr_standard_thumbstick_pressed_value", - "minNodeName": "xr_standard_thumbstick_pressed_min", - "maxNodeName": "xr_standard_thumbstick_pressed_max" - }, - "xr_standard_thumbstick_xaxis_pressed": { - "componentProperty": "xAxis", - "states": [ - "default", - "touched", - "pressed" - ], - "valueNodeProperty": "transform", - "valueNodeName": "xr_standard_thumbstick_xaxis_pressed_value", - "minNodeName": "xr_standard_thumbstick_xaxis_pressed_min", - "maxNodeName": "xr_standard_thumbstick_xaxis_pressed_max" - }, - "xr_standard_thumbstick_yaxis_pressed": { - "componentProperty": "yAxis", - "states": [ - "default", - "touched", - "pressed" - ], - "valueNodeProperty": "transform", - "valueNodeName": "xr_standard_thumbstick_yaxis_pressed_value", - "minNodeName": "xr_standard_thumbstick_yaxis_pressed_min", - "maxNodeName": "xr_standard_thumbstick_yaxis_pressed_max" - } - } - }, - "a-button": { - "type": "button", - "gamepadIndices": { - "button": 4 - }, - "rootNodeName": "a_button", - "visualResponses": { - "a_button_pressed": { - "componentProperty": "button", - "states": [ - "default", - "touched", - "pressed" - ], - "valueNodeProperty": "transform", - "valueNodeName": "a_button_pressed_value", - "minNodeName": "a_button_pressed_min", - "maxNodeName": "a_button_pressed_max" - } - } - }, - "b-button": { - "type": "button", - "gamepadIndices": { - "button": 5 - }, - "rootNodeName": "b_button", - "visualResponses": { - "b_button_pressed": { - "componentProperty": "button", - "states": [ - "default", - "touched", - "pressed" - ], - "valueNodeProperty": "transform", - "valueNodeName": "b_button_pressed_value", - "minNodeName": "b_button_pressed_min", - "maxNodeName": "b_button_pressed_max" - } - } - } - }, - "gamepadMapping": "xr-standard", - "rootNodeName": "pico-4s-right", - "assetPath": "right.glb" - } - } -} \ No newline at end of file diff --git a/assets/controllers/pico-4s/right.glb b/assets/controllers/pico-4s/right.glb deleted file mode 100644 index 2ba9a967..00000000 Binary files a/assets/controllers/pico-4s/right.glb and /dev/null differ diff --git a/client/hardware.cpp b/client/hardware.cpp index 0d32be57..ddf051b4 100644 --- a/client/hardware.cpp +++ b/client/hardware.cpp @@ -256,9 +256,8 @@ std::string controller_name() case model::pico_neo_3: return "pico-neo3"; case model::pico_4: + case model::pico_4s: // TODO: split when we have the pico-4s 3d model return "pico-4"; - case model::pico_4s: - return "pico-4s"; case model::htc_vive_focus_3: case model::htc_vive_focus_vision: case model::htc_vive_xr_elite: