GithubHelp home page GithubHelp logo

noonesimg / thumbstickcuts Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 1.7 MB

A simple WPF app that allows to bind shortcuts to a gamepad thumbsticks.

C# 100.00%
gamepad handheld shortcuts steamdeckwindows

thumbstickcuts's Introduction

ThumbStickCuts

A simple WPF app that allows to bind shortcuts to a gamepad thumbsticks.

But why?

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.

How to use it with my windows handheld?

I'm using it in combination with HandheldCompanion with any bindings removed from thumbsticks

How to choose a shortcut?

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

How do I setup my custom bindings?

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.

How do I specify a shortcut?

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" } 

How do I specify a shortcut icon?

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.

I don't have a handheld, can I still use this?

Sure, you can use it with any windows compatible gamepad that has thumbsticks, although I don't know why would you do that :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.