Skip to content

Instantly share code, notes, and snippets.

@mpnordland
Created June 2, 2019 11:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mpnordland/42cd809af07fff055510080401295fe7 to your computer and use it in GitHub Desktop.
Save mpnordland/42cd809af07fff055510080401295fe7 to your computer and use it in GitHub Desktop.
SC Controller profile for Space Mercs
{
"_": "",
"buttons": {
"A": {
"action": "button(Keys.BTN_GAMEPAD)"
},
"B": {
"action": "button(Keys.BTN_EAST)"
},
"C": {
"action": "hold(menu('Default.menu'), menu('Profiles.menu'))"
},
"LB": {
"action": "button(Keys.BTN_TL)",
"name": "Tilt Left"
},
"LGRIP": {
"action": "button(Keys.KEY_LEFTSHIFT) and button(Keys.KEY_A)",
"name": "Roll Left"
},
"LPAD": {
"action": "button(Keys.BTN_MIDDLE)"
},
"RB": {
"action": "button(Keys.BTN_TR)",
"name": "Tilt Right"
},
"RGRIP": {
"action": "button(Keys.KEY_LEFTSHIFT) and button(Keys.KEY_D)",
"name": "Roll Right"
},
"RPAD": {
"action": "button(Keys.BTN_LEFT)"
},
"Y": {
"action": "mode(C, turnoff(), button(Keys.KEY_TAB))"
}
},
"cpad": {},
"gyro": {},
"is_template": false,
"menus": {},
"pad_left": {
"action": "circular(mouse(Rels.REL_WHEEL, 1))"
},
"pad_right": {
"action": "smooth(8, 0.78, 2.0, feedback(RIGHT, 256, ball(mouse())))"
},
"stick": {
"action": "sens(1.2, 1.2, XY(axis(Axes.ABS_X), raxis(Axes.ABS_Y)))"
},
"trigger_left": {
"action": "axis(Axes.ABS_RZ)",
"name": "Fire Missile"
},
"trigger_right": {
"action": "axis(Axes.ABS_Z)",
"name": "Fire Gun"
},
"version": 1.4
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment