Skip to content

Instantly share code, notes, and snippets.

@kazu0617
Last active May 5, 2021 05:38
Show Gist options
  • Save kazu0617/a99b11cf4a39cc26c6ca0e97aacb4a01 to your computer and use it in GitHub Desktop.
Save kazu0617/a99b11cf4a39cc26c6ca0e97aacb4a01 to your computer and use it in GitHub Desktop.
Vive Tracker profile にPogopinを追加するやつ。入れる場所: \steamapps\common\SteamVR\drivers\htc\resources\input
{
"jsonid" : "input_profile",
"controller_type": "vive_tracker_camera",
"input_bindingui_mode" : "single_device",
"input_bindingui_right" :
{
"image": "{htc}/icons/vive_tracker.svg"
},
"input_source" :
{
"/input/power" : {
"type" : "button",
"order" : 1,
"binding_image_point" : [ 100, 90 ]
},
"/input/trigger" : {
"type" : "button",
"order" : 2,
"binding_image_point" : [ 100, 90 ]
},
"/input/grip" : {
"type" : "button",
"order" : 3,
"binding_image_point" : [ 100, 90 ]
},
"/input/application_menu" : {
"type" : "button",
"order" : 4,
"binding_image_point" : [ 100, 90 ]
},
"/input/thumb" : {
"type" : "button",
"order" : 5,
"binding_image_point" : [ 100, 90 ]
},
"/pose/raw" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/front" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/back" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/pistol" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/front_rolled" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
}
}
}
{
"jsonid" : "input_profile",
"controller_type": "vive_tracker_chest",
"input_bindingui_mode" : "single_device",
"should_show_binding_errors": true,
"input_bindingui_right" :
{
"image": "{htc}/icons/vive_tracker.svg"
},
"input_source" :
{
"/input/power" : {
"type" : "button",
"order" : 1,
"binding_image_point" : [ 100, 90 ]
},
"/input/trigger" : {
"type" : "button",
"order" : 2,
"binding_image_point" : [ 100, 90 ]
},
"/input/grip" : {
"type" : "button",
"order" : 3,
"binding_image_point" : [ 100, 90 ]
},
"/input/application_menu" : {
"type" : "button",
"order" : 4,
"binding_image_point" : [ 100, 90 ]
},
"/input/thumb" : {
"type" : "button",
"order" : 5,
"binding_image_point" : [ 100, 90 ]
},
"/pose/raw" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/front" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/back" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/pistol" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/front_rolled" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
}
}
}
{
"jsonid" : "input_profile",
"controller_type": "vive_tracker_handed",
"legacy_binding" : "{htc}/input/tracker/legacy_bindings_vive_tracker_handed_rotated.json",
"override_device_class" : "TrackedDeviceClass_Controller",
"input_bindingui_mode" : "controller_handed",
"hand_priority" : -1,
"should_show_binding_errors": true,
"input_bindingui_left" :
{
"transform" : "scale(-1,1)",
"image": "{htc}/icons/vive_tracker_with_handle.svg"
},
"input_bindingui_right" :
{
"image": "{htc}/icons/vive_tracker_with_handle.svg"
},
"input_source" :
{
"/input/power" : {
"type" : "button",
"order" : 1,
"binding_image_point" : [ 42, 37 ]
},
"/input/trigger" : {
"type" : "button",
"order" : 2,
"binding_image_point" : [ 80, 110 ]
},
"/input/grip" : {
"type" : "button",
"order" : 3,
"binding_image_point" : [ 110, 110 ]
},
"/input/application_menu" : {
"type" : "button",
"order" : 4,
"binding_image_point" : [ 75, 70 ]
},
"/input/thumb" : {
"type" : "button",
"order" : 5,
"binding_image_point" : [ 90, 80 ]
},
"/pose/raw" : {
"type" : "pose",
"binding_image_point" : [ 15, 25 ]
},
"/pose/front" : {
"type" : "pose",
"binding_image_point" : [ 15, 25 ]
},
"/pose/back" : {
"type" : "pose",
"binding_image_point" : [ 15, 25 ]
},
"/pose/pistol" : {
"type" : "pose",
"binding_image_point" : [ 15, 25 ]
},
"/pose/front_rolled" : {
"type" : "pose",
"binding_image_point" : [ 15, 25 ]
}
},
"default_bindings" :
[
{
"app_key" : "steam.app.503580",
"binding_url" : "legacy_bindings_vive_tracker_handed.json"
},
{
"app_key" : "steam.app.456180",
"binding_url" : "legacy_bindings_vive_tracker_handed.json"
},
{
"app_key" : "steam.app.342180",
"binding_url" : "legacy_bindings_vive_tracker_handed_pistol.json"
},
{
"app_key" : "steam.app.611720",
"binding_url" : "legacy_bindings_vive_tracker_handed.json"
},
{
"app_key" : "steam.app.720510",
"binding_url" : "legacy_bindings_vive_tracker_handed.json"
}
]
}
{
"jsonid" : "input_profile",
"controller_type": "vive_tracker_keyboard",
"input_bindingui_mode" : "single_device",
"should_show_binding_errors": true,
"input_bindingui_right" :
{
"image": "{htc}/icons/vive_tracker.svg"
},
"input_source" :
{
"/input/power" : {
"type" : "button",
"order" : 1,
"binding_image_point" : [ 100, 90 ]
},
"/input/trigger" : {
"type" : "button",
"order" : 2,
"binding_image_point" : [ 100, 90 ]
},
"/input/grip" : {
"type" : "button",
"order" : 3,
"binding_image_point" : [ 100, 90 ]
},
"/input/application_menu" : {
"type" : "button",
"order" : 4,
"binding_image_point" : [ 100, 90 ]
},
"/input/thumb" : {
"type" : "button",
"order" : 5,
"binding_image_point" : [ 100, 90 ]
},
"/pose/raw" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/front" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/back" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/pistol" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/front_rolled" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
}
}
}
{
"jsonid" : "input_profile",
"controller_type": "vive_tracker_left_elbow",
"input_bindingui_mode" : "single_device",
"should_show_binding_errors": true,
"input_bindingui_right" :
{
"image": "{htc}/icons/vive_tracker.svg"
},
"input_source" :
{
"/input/power" : {
"type" : "button",
"order" : 1,
"binding_image_point" : [ 100, 90 ]
},
"/input/trigger" : {
"type" : "button",
"order" : 2,
"binding_image_point" : [ 100, 90 ]
},
"/input/grip" : {
"type" : "button",
"order" : 3,
"binding_image_point" : [ 100, 90 ]
},
"/input/application_menu" : {
"type" : "button",
"order" : 4,
"binding_image_point" : [ 100, 90 ]
},
"/input/thumb" : {
"type" : "button",
"order" : 5,
"binding_image_point" : [ 100, 90 ]
},
"/pose/raw" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/front" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/back" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/pistol" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/front_rolled" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
}
}
}
{
"jsonid" : "input_profile",
"controller_type": "vive_tracker_left_foot",
"input_bindingui_mode" : "single_device",
"should_show_binding_errors": true,
"input_bindingui_right" :
{
"image": "{htc}/icons/vive_tracker.svg"
},
"input_source" :
{
"/input/power" : {
"type" : "button",
"order" : 1,
"binding_image_point" : [ 100, 90 ]
},
"/input/trigger" : {
"type" : "button",
"order" : 2,
"binding_image_point" : [ 100, 90 ]
},
"/input/grip" : {
"type" : "button",
"order" : 3,
"binding_image_point" : [ 100, 90 ]
},
"/input/application_menu" : {
"type" : "button",
"order" : 4,
"binding_image_point" : [ 100, 90 ]
},
"/input/thumb" : {
"type" : "button",
"order" : 5,
"binding_image_point" : [ 100, 90 ]
},
"/pose/raw" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/front" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/back" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/pistol" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/front_rolled" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
}
}
}
{
"jsonid" : "input_profile",
"controller_type": "vive_tracker_left_knee",
"input_bindingui_mode" : "single_device",
"should_show_binding_errors": true,
"input_bindingui_right" :
{
"image": "{htc}/icons/vive_tracker.svg"
},
"input_source" :
{
"/input/power" : {
"type" : "button",
"order" : 1,
"binding_image_point" : [ 100, 90 ]
},
"/input/trigger" : {
"type" : "button",
"order" : 2,
"binding_image_point" : [ 100, 90 ]
},
"/input/grip" : {
"type" : "button",
"order" : 3,
"binding_image_point" : [ 100, 90 ]
},
"/input/application_menu" : {
"type" : "button",
"order" : 4,
"binding_image_point" : [ 100, 90 ]
},
"/input/thumb" : {
"type" : "button",
"order" : 5,
"binding_image_point" : [ 100, 90 ]
},
"/pose/raw" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/front" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/back" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/pistol" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/front_rolled" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
}
}
}
{
"jsonid" : "input_profile",
"controller_type": "vive_tracker_left_shoulder",
"input_bindingui_mode" : "single_device",
"should_show_binding_errors": true,
"input_bindingui_right" :
{
"image": "{htc}/icons/vive_tracker.svg"
},
"input_source" :
{
"/input/power" : {
"type" : "button",
"order" : 1,
"binding_image_point" : [ 100, 90 ]
},
"/input/trigger" : {
"type" : "button",
"order" : 2,
"binding_image_point" : [ 100, 90 ]
},
"/input/grip" : {
"type" : "button",
"order" : 3,
"binding_image_point" : [ 100, 90 ]
},
"/input/application_menu" : {
"type" : "button",
"order" : 4,
"binding_image_point" : [ 100, 90 ]
},
"/input/thumb" : {
"type" : "button",
"order" : 5,
"binding_image_point" : [ 100, 90 ]
},
"/pose/raw" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/front" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/back" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/pistol" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/front_rolled" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
}
}
}
{
"jsonid" : "input_profile",
"controller_type": "vive_tracker_right_elbow",
"input_bindingui_mode" : "single_device",
"should_show_binding_errors": true,
"input_bindingui_right" :
{
"image": "{htc}/icons/vive_tracker.svg"
},
"input_source" :
{
"/input/power" : {
"type" : "button",
"order" : 1,
"binding_image_point" : [ 100, 90 ]
},
"/input/trigger" : {
"type" : "button",
"order" : 2,
"binding_image_point" : [ 100, 90 ]
},
"/input/grip" : {
"type" : "button",
"order" : 3,
"binding_image_point" : [ 100, 90 ]
},
"/input/application_menu" : {
"type" : "button",
"order" : 4,
"binding_image_point" : [ 100, 90 ]
},
"/input/thumb" : {
"type" : "button",
"order" : 5,
"binding_image_point" : [ 100, 90 ]
},
"/pose/raw" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/front" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/back" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/pistol" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/front_rolled" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
}
}
}
{
"jsonid" : "input_profile",
"controller_type": "vive_tracker_right_foot",
"input_bindingui_mode" : "single_device",
"should_show_binding_errors": true,
"input_bindingui_right" :
{
"image": "{htc}/icons/vive_tracker.svg"
},
"input_source" :
{
"/input/power" : {
"type" : "button",
"order" : 1,
"binding_image_point" : [ 100, 90 ]
},
"/input/trigger" : {
"type" : "button",
"order" : 2,
"binding_image_point" : [ 100, 90 ]
},
"/input/grip" : {
"type" : "button",
"order" : 3,
"binding_image_point" : [ 100, 90 ]
},
"/input/application_menu" : {
"type" : "button",
"order" : 4,
"binding_image_point" : [ 100, 90 ]
},
"/input/thumb" : {
"type" : "button",
"order" : 5,
"binding_image_point" : [ 100, 90 ]
},
"/pose/raw" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/front" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/back" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/pistol" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/front_rolled" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
}
}
}
{
"jsonid" : "input_profile",
"controller_type": "vive_tracker_right_knee",
"input_bindingui_mode" : "single_device",
"should_show_binding_errors": true,
"input_bindingui_right" :
{
"image": "{htc}/icons/vive_tracker.svg"
},
"input_source" :
{
"/input/power" : {
"type" : "button",
"order" : 1,
"binding_image_point" : [ 100, 90 ]
},
"/input/trigger" : {
"type" : "button",
"order" : 2,
"binding_image_point" : [ 100, 90 ]
},
"/input/grip" : {
"type" : "button",
"order" : 3,
"binding_image_point" : [ 100, 90 ]
},
"/input/application_menu" : {
"type" : "button",
"order" : 4,
"binding_image_point" : [ 100, 90 ]
},
"/input/thumb" : {
"type" : "button",
"order" : 5,
"binding_image_point" : [ 100, 90 ]
},
"/pose/raw" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/front" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/back" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/pistol" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/front_rolled" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
}
}
}
{
"jsonid" : "input_profile",
"controller_type": "vive_tracker_right_shoulder",
"input_bindingui_mode" : "single_device",
"should_show_binding_errors": true,
"input_bindingui_right" :
{
"image": "{htc}/icons/vive_tracker.svg"
},
"input_source" :
{
"/input/power" : {
"type" : "button",
"order" : 1,
"binding_image_point" : [ 100, 90 ]
},
"/input/trigger" : {
"type" : "button",
"order" : 2,
"binding_image_point" : [ 100, 90 ]
},
"/input/grip" : {
"type" : "button",
"order" : 3,
"binding_image_point" : [ 100, 90 ]
},
"/input/application_menu" : {
"type" : "button",
"order" : 4,
"binding_image_point" : [ 100, 90 ]
},
"/input/thumb" : {
"type" : "button",
"order" : 5,
"binding_image_point" : [ 100, 90 ]
},
"/pose/raw" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/front" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/back" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/pistol" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/front_rolled" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
}
}
}
{
"jsonid" : "input_profile",
"controller_type": "vive_tracker_waist",
"input_bindingui_mode" : "single_device",
"should_show_binding_errors": true,
"input_bindingui_right" :
{
"image": "{htc}/icons/vive_tracker.svg"
},
"input_source" :
{
"/input/power" : {
"type" : "button",
"order" : 1,
"binding_image_point" : [ 100, 90 ]
},
"/input/trigger" : {
"type" : "button",
"order" : 2,
"binding_image_point" : [ 100, 90 ]
},
"/input/grip" : {
"type" : "button",
"order" : 3,
"binding_image_point" : [ 100, 90 ]
},
"/input/application_menu" : {
"type" : "button",
"order" : 4,
"binding_image_point" : [ 100, 90 ]
},
"/input/thumb" : {
"type" : "button",
"order" : 5,
"binding_image_point" : [ 100, 90 ]
},
"/pose/raw" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/front" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/back" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/pistol" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
},
"/pose/front_rolled" : {
"type" : "pose",
"binding_image_point" : [ 100, 90 ]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment