{
	"jsonid": "input_profile",
	"controller_type": "gripvr_controller_vc2",
	"device_class": "TrackedDeviceClass_Controller",
	"resource_root": "shiftall",
	"driver_name": "lighthouse",
	"legacy_binding": "{shiftall}/input/legacy_bindings_gripvr_controller_vc2.json",
	"remapping" : "{shiftall}/input/gripvr_controller_vc2_remapping.json",
	"input_bindingui_mode": "controller_handed",
	"compatibility_mode_controller_type": "oculus_touch",
	"input_bindingui_right": {
		"image": "{shiftall}/icons/gripvr_controller_vc2_right.svg"
	},
	"input_bindingui_left": {
		"image": "{shiftall}/icons/gripvr_controller_vc2_left.svg"
	},
	"input_source": {
		"/input/joystick": {
			"type": "joystick",
			"binding_image_point": [45, 39],
			"click": true,
			"touch": true,
			"order": 2
		},
		"/input/trigger": {
			"type": "trigger",
			"binding_image_point": [22, 80],
			"value": true,
			"touch": true,
			"order": 1
		},
		"/input/grip": {
			"type": "trigger",
			"binding_image_point": [22, 75],
			"value": true,
			"touch": true,
			"order": 3
		},
		"/input/a": {
			"type": "button",
			"side": "right",
			"binding_image_point": [38, 60],
			"click": true,
			"touch": true,
			"order": 4
		},
		"/input/b": {
			"type": "button",
			"side": "right",
			"binding_image_point": [30, 50],
			"click": true,
			"touch": true,
			"order": 5
		},
		"/input/x": {
			"type": "button",
			"side": "left",
			"binding_image_point": [38, 60],
			"click": true,
			"touch": true,
			"order": 4
		},
		"/input/y": {
			"type": "button",
			"side": "left",
			"binding_image_point": [30, 50],
			"click": true,
			"touch": true,
			"order": 5
		},
		"/input/system": {
			"type": "button",
			"binding_image_point": [47, 56],
			"click": true,
			"touch": true,
			"order": 0
		},
		"/input/thumbrest": {
			"type" : "button",
			"binding_image_point" : [ 70, 65 ],
			"click" : false,
			"touch" : true
		},
		"/input/skeleton/right": {
			"type": "skeleton",
			"side": "right",
			"skeleton": "/skeleton/hand/right",
			"binding_image_point": [47, 100]
		},
		"/input/skeleton/left": {
			"type": "skeleton",
			"side": "left",
			"skeleton": "/skeleton/hand/left",
			"binding_image_point": [47, 100]
		},
		"/output/haptic": {
			"type": "vibration",
			"binding_image_point": [72, 39]
		},
		"/pose/raw": {
			"type": "pose",
			"binding_image_point": [14, 16]
		},
		"/pose/base": {
			"type": "pose",
			"binding_image_point": [11, 150]
		},
		"/pose/handgrip": {
			"type": "pose",
			"binding_image_point": [24, 86]
		},
		"/pose/tip": {
			"type": "pose",
			"binding_image_point": [14, 16]
		},
		"/pose/openxr_aim": {
			"type": "pose",
			"binding_image_point": [14, 16]
		},
		"/pose/openxr_grip": {
			"type": "pose",
			"binding_image_point": [14, 16]
		},
		"/pose/openxr_handmodel": {
			"type": "pose",
			"binding_image_point": [14, 16]
		}
	},
	"input_components": {
		"/input/joystick/x": {
			"bit_offset": 0,
			"bit_width": 8,
			"min": 0,
			"max": 255,
			"type": "scalar",
			"unit": "twos_complement"
		},
		"/input/joystick/y": {
			"bit_offset": 8,
			"bit_width": 8,
			"min": 0,
			"max": 255,
			"type": "scalar",
			"unit": "twos_complement"
		},
		"/input/trigger/value": {
			"bit_offset": 16,
			"bit_width": 8,
			"min": 0,
			"max": 255,
			"type": "scalar",
			"unit": "onesided"
		},
		"/input/grip/value": {
			"bit_offset": 24,
			"bit_width": 8,
			"min": 0,
			"max": 255,
			"type": "scalar",
			"unit": "onesided"
		},
		"/input/a/touch": {
			"bit_offset": 32,
			"type": "bool"
		},
		"/input/x/touch": {
			"bit_offset": 32,
			"type": "bool"
		},
		"/input/b/touch": {
			"bit_offset": 33,
			"type": "bool"
		},
		"/input/y/touch": {
			"bit_offset": 33,
			"type": "bool"
		},
		"/input/trigger/touch": {
			"bit_offset": 34,
			"type": "bool"
		},
		"/input/joystick/touch": {
			"bit_offset": 35,
			"type": "bool"
		},
		"/input/a/click": {
			"bit_offset": 36,
			"type": "bool"
		},
		"/input/x/click": {
			"bit_offset": 36,
			"type": "bool"
		},
		"/input/b/click": {
			"bit_offset": 37,
			"type": "bool"
		},
		"/input/y/click": {
			"bit_offset": 37,
			"type": "bool"
		},
		"/input/system/click": {
			"bit_offset": 38,
			"type": "bool"
		},
		"/input/trigger/click": {
			"bit_offset": 39,
			"type": "bool"
		},
		"/input/grip/click": {
			"bit_offset": 40,
			"type": "bool"
		},
		"/input/joystick/click": {
			"bit_offset": 41,
			"type": "bool"
		},
		"/input/thumbrest/touch": {
			"bit_offset": 42,
			"type": "bool"
		},
		"/output/haptic": {
			"type": "vibration"
		}
	},
	"default_bindings": [{
		"app_key": "openvr.component.vrcompositor",
		"binding_url": "vrcompositor_bindings_gripvr_controller_vc2.json"
	},
	{
		"app_key": "openvr.tool.steamvr_environments",
		"binding_url": "steamtours_bindings_gripvr_controller_vc2.json"
	}]
}
