Skip to content

Commit

Permalink
Merge pull request #79330 from Kilvoctu/uilist_pan
Browse files Browse the repository at this point in the history
Add numpad binds for panning uilists
  • Loading branch information
Maleclypse authored Jan 29, 2025
2 parents 931ee35 + 130f77f commit e78df8b
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions data/raw/keybindings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,41 @@
"type": "keybinding",
"id": "UILIST.UP",
"name": "Pan up",
"bindings": [ { "input_method": "keyboard_any", "key": "UP" } ]
"bindings": [
{ "input_method": "keyboard_any", "key": "UP" },
{ "input_method": "keyboard_any", "key": "8" },
{ "input_method": "keyboard_code", "key": "KEYPAD_8" }
]
},
{
"type": "keybinding",
"id": "UILIST.DOWN",
"name": "Pan down",
"bindings": [ { "input_method": "keyboard_any", "key": "DOWN" } ]
"bindings": [
{ "input_method": "keyboard_any", "key": "DOWN" },
{ "input_method": "keyboard_any", "key": "2" },
{ "input_method": "keyboard_code", "key": "KEYPAD_2" }
]
},
{
"type": "keybinding",
"id": "UILIST.LEFT",
"name": "Pan left",
"bindings": [ { "input_method": "keyboard_any", "key": "LEFT" } ]
"bindings": [
{ "input_method": "keyboard_any", "key": "LEFT" },
{ "input_method": "keyboard_any", "key": "4" },
{ "input_method": "keyboard_code", "key": "KEYPAD_4" }
]
},
{
"type": "keybinding",
"id": "UILIST.RIGHT",
"name": "Pan right",
"bindings": [ { "input_method": "keyboard_any", "key": "RIGHT" } ]
"bindings": [
{ "input_method": "keyboard_any", "key": "RIGHT" },
{ "input_method": "keyboard_any", "key": "6" },
{ "input_method": "keyboard_code", "key": "KEYPAD_6" }
]
},
{
"type": "keybinding",
Expand Down

0 comments on commit e78df8b

Please sign in to comment.