diff --git a/lib/controller_profile.js b/lib/controller_profile.js new file mode 100644 index 0000000..ef1fe38 --- /dev/null +++ b/lib/controller_profile.js @@ -0,0 +1,55 @@ +const data = [{ + "windows" : { + "axis": { + "0": "trackpad", "1": "trackpad", "2": "thumbstick", "3": "thumbstick"}, + "left": { + "0": "trigger", "1": "grip", "2": "trackpad", "3": "thumbstick", "4": null, "5": null, "6": null}, + "right": { + "0": "trigger", "1": "grip", "2": "trackpad", "3": "thumbstick", "4": null, "5": null, "6": null} + }, + + "oc_touch" : { + "axis": { + "0": null, "1": null, "2": "thumbstick", "3": "thumbstick"}, + "left": { + "0": "trigger", "1": "grip", "2": null, "3": "thumbstick", "4": "xbutton", "5": "ybutton", "6": "surface"}, + "right": { + "0": "trigger", "1": "grip", "2": null, "3": "thumbstick", "4": "abutton", "5": "bbutton", "6": "surface"} + }, + + "oc_go" : { + "axis": { + "0": "touchpad", "1": "touchpad", "2": null, "3": null}, + "left": { + "0": "trigger", "1": null, "2": "touchpad", "3": null, "4": null, "5": null, "6": null}, + "right": { + "0": "trigger", "1": null, "2": "touchpad", "3": null, "4": null, "5": null, "6": null } + }, + + "vive" : { + "axis": { + "0": "trackpad", "1": "trackpad", "2": null, "3": null}, + "left": { + "0": "trigger", "1": "grip", "2": "touchpad", "3": null, "4": null, "5": null, "6": null}, + "right": { + "0": "trigger", "1": "grip", "2": "touchpad", "3": null, "4": null, "5": null, "6": null} + }, + + "vive_focus" : { + "axis": { + "0": "trackpad", "1": "trackpad", "2": null, "3": null}, + "left": { + "0": "trigger", "1": null, "2": "touchpad", "3": null, "4": "menu", "5": null, "6": null}, + "right": { + "0": "trigger", "1": null, "2": "touchpad", "3": null, "4": "menu", "5": null, "6": null} + }, + "generic" : { + "axis": { + "0": "touchpad", "1": "touchpad", "2": "thumbstick", "3": "thumbstick"}, + "left": { + "0": "trigger", "1": "grip", "2": "touchpad", "3": "thumbstick", "4": "xbutton", "5": "ybutton", "6": "surface"}, + "right": { + "0": "trigger", "1": "grip", "2": "touchpad", "3": "thumbstick", "4": "abutton", "5": "bbutton", "6": "surface"} + } + +}] \ No newline at end of file