20.03.2020 New version of program avaliable on https://r1per.itch.io/mtvj
Graphic interface for application that converts mouse/keyboard input to vjoy output.
Simple application that converts mouse/keyboard input to vjoy output, created using vjoyinferace and winapi32.
Releases tap on github or https://github.com/R1PeR/MouseToVJoyGUI/releases. You need all four files
Windows:
Open MouseToVJoyGUI.exe
Enjoy.
Useful for racing games, created especially for Assetto Corsa to remove traction control that was build into gamee. Some games I tested it with: Assetto Corsa, Live For Speed, Rfactor.
- BETA 0.8
- FIX:
UseWheelAsShifter
not saving correctly.
- FIX:
- BETA 0.7
- ADD:
UseWheelAsShifter
- ADD: New binaries
- ADD:
- BETA 0.6
- ADD: New binaries
- BETA 0.5
- ADD: New binaries
- BETA 0.4
- ADD: New binaries
- BETA 0.3
- ADD: Padding to form
- CHANGE: Form splitters to
fixed
- BETA 0.2
- ADD: Code that closes MouseToVJoy on GUI exit.
- BETA 0.1
- First working release.
Requires installed version of VJoy 2.1.8 and MouseToVJoy 1.64. Available here: https://sourceforge.net/projects/vjoystick/files/Beta%202.x/
Program can be configured through graphic interface, which have 21 different values. For easier tweaking use VjoyMonitor to visualize axis changes.
The main sensitivity multiplier. Raw data from mouse is multiplied by this value and then added to Vjoy Axis.
E.g. Sensitivity = 6.0
Throttle value when pressed. When throttle is pressed, every 2 ms value is added to Vjoy Axis. The greater the steaper slope of attack.
E.g. AttackTimeThrottle = 200
Throttle value when released. When throttle is released, every 2 ms value is subtracted from Vjoy Axis. The greater the steaper slope of release.
E.g. ReleaseTimeThrottle = 100
Break value when pressed. When break is pressed, every 2 ms value is added to Vjoy Axis. The greater the steaper slope of attack.
E.g. AttackTimeBreak = 200
Break value when released. When break is released, every 2 ms value is subtracted from Vjoy Axis. The greater the steaper slope of release.
E.g. ReleaseTimeBreak = 100
Clutch value when pressed. When clutch is pressed, every 2 ms value is added to Vjoy Axis. The greater the steaper slope of attack.
E.g. AttackTimeClutch = 200
Clutch value when released. When clutch is released, every 2 ms value is subtracted from Vjoy Axis. The greater the steaper slope of release.
E.g. ReleaseTimeClutch = 200
Key responsible for throttle control. Works only when UseMouse is equal to 0. Key value can be anything from 0 to 165 in ASCII KEYCODES!
E.g. ThrottleKey = 87 for "W"
Key responsible for break control. Works only when UseMouse is equal to 0. Key value can be anything from 0 to 165 in ASCII KEYCODES!
E.g. BreakKey = 69 for "E"
Key responsible for clutch control. Key value can be anything from 0 to 165 in ASCII KEYCODES!
E.g. ClutchKey = 67 for "C"
Key responsible for gear shift up. Key value can be anything from 0 to 165 in ASCII KEYCODES!
E.g. GearShiftUpKey = 83 for "D"
Key responsible for gear shift down. Key value can be anything from 0 to 165 in ASCII KEYCODES!
E.g. GearShiftDownKey = 68 for "S"
Key responsible for handbreak. Key value can be anything from 0 to 165 in ASCII KEYCODES!
E.g. HandBrakeKey = 32 for Space
Key responsible for locking mouse in 0,0 coordinates on monitor. Key value can be anything from 0 to 165 in ASCII KEYCODES!
E.g. MouseLockKey = 80 for "P"
Key responsible for centering Steering Vjoy Axis. Key value can be anything from 0 to 165 in ASCII KEYCODES!
E.g. MouseCenterKey = 79 for "0"
Whenever to use mouse buttons as throttle and break. 0 for Disable, 1 for Enable.
E.g. UseMouse = 1
Whenever to reduce mouse sensitivity when closer to center of axis. 0 for Disable, 1 for Enable.
E.g. UseCenterReduction = 1
Whenever to use forcefeedback. 0 for Disable, 1 for Enable.
E.g. UseForceFeedback = 1
Whenever to use mouse wheel as a sequential shifter. Mouse wheel up for next gear and mouse wheel down for lower gear. 0 for Disable, 1 for Enable.
E.g. UseWheelAsShifter = 1
Whenever to add linear acceleration on throttle Vjoy Axis. 0 for Disable, greater then 0 for Enable.
E.g. AccelerationThrottle = 1.01
Whenever to add linear acceleration on break Vjoy Axis. 0 for Disable, greater then 0 for Enable.
E.g. AccelerationBreak = 1.01
Whenever to add linear acceleration on clutch Vjoy Axis. 0 for Disable, greater then 0 for Enable.
E.g. AccelerationBreak = 1.01
How much center reduction to use. Greater then 1 to make center less sensitive while making ends more sensitive. Lesser then 1 to make center more sensitive while making ends less sensitive.
E.g. CenterMultiplier = 1.20
Sebastian Waluś – [email protected]
https://github.com/R1per/github-link
- Fork it (https://github.com/R1PeR/MouseToVJoy/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request
- Vjoy - Virtual Joystick
- VjoyInterface - Virtual Joystick Comminucation Library
- Hat tip to anyone who's code was used