Skip to content

Commit

Permalink
Add "TARGET" category to some keybindings (#40348)
Browse files Browse the repository at this point in the history
* Add missing category to target UI keybindings

* Move them to single spot

* Change 'F' from FIRE to SWITCH_MODE
To be consistent with how it works outside target selection UI
  • Loading branch information
olanti-p authored May 9, 2020
1 parent 70f7048 commit 442916a
Showing 1 changed file with 19 additions and 8 deletions.
27 changes: 19 additions & 8 deletions data/raw/keybindings.json
Original file line number Diff line number Diff line change
Expand Up @@ -870,17 +870,18 @@
{
"type": "keybinding",
"id": "FIRE",
"category": "TARGET",
"name": "Fire Weapon",
"bindings": [
{ "input_method": "keyboard", "key": "f" },
{ "input_method": "keyboard", "key": "F" },
{ "input_method": "keyboard", "key": "RETURN" },
{ "input_method": "mouse", "key": "MOUSE_RIGHT" }
]
},
{
"type": "keybinding",
"id": "PREV_TARGET",
"category": "TARGET",
"name": "Prev Target",
"bindings": [
{ "input_method": "keyboard", "key": "BACKTAB" },
Expand All @@ -891,6 +892,7 @@
{
"type": "keybinding",
"id": "NEXT_TARGET",
"category": "TARGET",
"name": "Next Target",
"bindings": [
{ "input_method": "keyboard", "key": "TAB" },
Expand All @@ -901,51 +903,66 @@
{
"type": "keybinding",
"id": "AIM",
"category": "TARGET",
"name": "Aim",
"bindings": [ { "input_method": "keyboard", "key": "." }, { "input_method": "keyboard", "key": "5" } ]
},
{
"type": "keybinding",
"id": "AIMED_SHOT",
"category": "TARGET",
"name": "Aimed Shot",
"bindings": [ { "input_method": "keyboard", "key": "a" } ]
},
{
"type": "keybinding",
"id": "CAREFUL_SHOT",
"category": "TARGET",
"name": "Careful Shot",
"bindings": [ { "input_method": "keyboard", "key": "c" } ]
},
{
"type": "keybinding",
"id": "PRECISE_SHOT",
"category": "TARGET",
"name": "Precise Shot",
"bindings": [ { "input_method": "keyboard", "key": "p" } ]
},
{
"type": "keybinding",
"id": "SWITCH_AIM",
"category": "TARGET",
"name": "Switch Aiming Mode",
"bindings": [ { "input_method": "keyboard", "key": "m" } ]
},
{
"type": "keybinding",
"id": "SWITCH_AMMO",
"category": "TARGET",
"name": "Switch ammo",
"bindings": [ { "input_method": "keyboard", "key": "o" } ]
},
{
"type": "keybinding",
"id": "SWITCH_MODE",
"category": "TARGET",
"name": "Switch Firing Mode",
"bindings": [ { "input_method": "keyboard", "key": "s" } ]
"bindings": [ { "input_method": "keyboard", "key": "s" }, { "input_method": "keyboard", "key": "F" } ]
},
{
"type": "keybinding",
"id": "TOGGLE_TURRET_LINES",
"category": "TARGET",
"name": "Toggle turret lines",
"bindings": [ { "input_method": "keyboard", "key": "t" } ]
},
{
"type": "keybinding",
"id": "TOGGLE_SNAP_TO_TARGET",
"category": "TARGET",
"name": "Toggle Snap to Target",
"bindings": [ { "input_method": "keyboard", "key": "*" } ]
},
{
"type": "keybinding",
"id": "SELECT",
Expand Down Expand Up @@ -994,12 +1011,6 @@
"name": "Travel to destination",
"bindings": [ { "input_method": "keyboard", "key": "T" } ]
},
{
"type": "keybinding",
"id": "TOGGLE_SNAP_TO_TARGET",
"name": "Toggle Snap to Target",
"bindings": [ { "input_method": "keyboard", "key": "*" } ]
},
{
"type": "keybinding",
"id": "CENTER",
Expand Down

0 comments on commit 442916a

Please sign in to comment.