A simple WPF app that allows to bind shortcuts to a gamepad thumbsticks.
I'm daily driving a Steamdeck as a portable windows PC.
While you can bind different keys and shortcuts using something like HandheldCompanion. It lacks the ability to quickly change bindings.
This little app on the other hand allows one to bind 72 different shortcuts in a single config file, and quickly switch between configs.
I'm using it in combination with HandheldCompanion with any bindings removed from thumbsticks
Use Right stick
to select a zone.
Use Left stick
to select an action.
Right stick click
switches to the next layout
Left stick click
toggles the window visibility
Look at the default config examples.
then place your config.json
file into the configs
folder.
There're 9 zones that you can choose from:
[
"Center",
"Left",
"Right",
"Top",
"Bottom",
"TopLeft",
"TopRight"
"BottomLeft",
"BottomRight",
]
Each zone can hold up to 8 shortcuts.
each shortcut consists of two fields: Action
and Icon
{ "Action": "Ctrl+c", "Icon": "c" }
You can simply type: "Ctrl+Shift+s"
into the Action
field
To specify multiple shortcuts at once split them with a comma:
{ "Action": "Ctrl+k,Ctrl+o", "Icon": "c" }
Not that it's super usefull, but you can even bind whole sentences like that:
{ "Action": "Shift+h,e,l,l,o, ,w,o,r,l,d", "Icon": "c" }
Alternatively you can use VirtualKeyCode
values from InputSimulatorCore
{ "Icon": "*", "Action": "Ctrl+OEM_COMMA" }
This app uses RobotoMono Nerd Font Mono
from nerd-fonts
Please make sure your text editor of choise has this font installed.
You can open the font file with something like Character Map UWP
Simply copy paste the glyph you like into the "Icon" field.
Sure, you can use it with any windows compatible gamepad that has thumbsticks, although I don't know why would you do that :)