Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/swedeachu/reversejoy
Mouse and keyboard to virtual controller translator
https://github.com/swedeachu/reversejoy
Last synced: 26 days ago
JSON representation
Mouse and keyboard to virtual controller translator
- Host: GitHub
- URL: https://github.com/swedeachu/reversejoy
- Owner: Swedeachu
- Created: 2024-08-05T17:06:00.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-08-11T22:27:06.000Z (6 months ago)
- Last Synced: 2024-08-12T23:55:13.941Z (6 months ago)
- Language: C
- Homepage:
- Size: 142 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ReverseJoy
Mouse and Keyboard to virtual controller input translator. This can give aim assist and axis heavy movement in certain games.
This also can give keyboard and mouse support for games that only support controllers, such as emulated games.
I recommend you fork and edit the code if you want something more customizable than this, as this is more just for my hardcoded personal use.
This is really useful if you are a game developer that needs to test controller input for your game, and you don't have a controller on hand.# How to use
Install vJoy driver, ViGem bus driver, and Interception driver:
https://sourceforge.net/projects/vjoystick/
https://vigembusdriver.com/
https://github.com/oblitum/Interception
Then download the ReverseJoy program in releases and make sure you have C++ redistrutable installed.# Controls
G to toggle active (off goes into normal mouse and keyboard input)
J to kill switch the entire program
H to toggle mouse override (so right stick and left/right triggers are bound to mouse)
WASD to move left stick around for movement
Space to press A button
Q to press X button
E to press B button
1 to press left bumper
2 to press Y button
3 to press right bumper
Mouse movement to control right stick to aim and look around
Left click to do left trigger
Right click to do right triggerExtra binds to do later:
Escape to do start button
Scroll wheel up or down for left and right bumper# TO DO
1. Mouse input sucks right now, playable but not in the percision way you would want, it's too similar to a non precise analog joystick at the moment.
To fix this problem I might make a more customizable sensitivity for each axis. I also probably just need to do some math and program smarter "autopilot" controls.
2. Mouse clicks come in delayed and holding down left/right mouse button does not register properly. I think this is a report rate issue, especially since I am sending 2 reports from a mouse and keyboard seperately.
Right now the best way to play most games using this is with the H key mouse override toggled off (see controls list)