A downloadable tool for Windows

This tool detects inputs from a (gaming) controller and simulates corresponding keyboard & mouse inputs.

For example: You want to play a game, that uses the wasd-keys to move and the space bar to jump, on your pc with a controller, but the game doesn't support that. This tool can however simulate a press of the space bar whenever it detects a button pressed on the controller. This way you can play the game.


Additionally, these are all the assignment possibilities:

any buttonany key
joystickgroup of 4 keys (wasd, arrow keys)
d-padgroup of 4 keys
any d-pad buttonany key
any buttonany mouse button
joystickmouse movement
joystickmouse scrolling


You can assign buttons or joysticks from the controller to keys or mouse actions and then also save that.

Important: The tool saves everything into the folder 'prefabs'. Make sure that it remains next to the executable, so that it can be loaded.


Tutorial:

  1. Download the executable
  2. Open it (two windows will open, one default window and one with the main screen)
  3. On the main screen, choose to make a new setting/prefab
  4. Input anything on your controller (e.g. a button) and a small window pops up and asks you to choose a key or mouse button (screenshot 1)
  5. For a joystick, move it and choose similarly from a window (screenshot 2)
  6. All the connections will be shown in a sort of list (screenshot 3)
  7. Click on save
  8. The window closes so that you can find the other (default) window to type the name
  9. If you choose "load" on the main screen, a list will show all the prefabs (also the one you just created)
  10. Click on one and choose to run or edit it (screenshot 4)
  11. If you click on "run", the window will once again disappear since it's not needed anymore. Don't close the default window now unless you want to end the input conversion
  12. You can test it in a notepad ;)


Known issues:

  • Many games don't register the artificial mouse movement -> maybe not perfect for FPS Games, though you could use the controller together with a regular mouse...
  • In the editor, if you move the joystick extremely fast from the rest position all the way (0 - 100%), the joystick gets interpreted as a button. Does not happen while playing
  • Multiple controllers at the same time don't work


All this works at least for me with Switch Joy-Cons, that I let BetterJoy interpret as a controller. I hope the tool works for every kind of controller on every kind of Windows pc. If something doesn't work for you, let me know via a comment, maybe I can fix it.

If anyone is interested, I also put the source code for download.

Download

Download
inputConverter.exe 25 MB
Download
inputConverter.py 29 kB

Leave a comment

Log in with itch.io to leave a comment.