Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map + and - input axis values to different output axes #900

Open
TRPB opened this issue May 27, 2024 · 0 comments
Open

Map + and - input axis values to different output axes #900

TRPB opened this issue May 27, 2024 · 0 comments

Comments

@TRPB
Copy link

TRPB commented May 27, 2024

I'm trying to play GTA Vice City Definitive edition (I know 馃槀 ), the PC controls for flying are basically broken by design but an xbox controller works. I don't have or want an xbox controller but I do have a joystick.

The problem is, that the Ascend/Descend controls are two different axis on the controler (trigger left/trigger right).

I'd like to map the joystick's throttle control which goes from -32768 to +32768 so that positive values map onto a gamepad's RZ and negative values map onto the RY axis (or any two axis),

(I can then use xboxdrv to map to virtural controller to the xbox controller used in game which is a bit of a pain but works)

Is there any way to do this? It works fine with buttons, positive values can map onto one key where negatives map onto a different key but it doesn't seem possible with axis.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant