AntiMicroX / antimicrox

Graphical program used to map keyboard buttons and mouse controls to a gamepad. Useful for playing games with no gamepad support.
GNU General Public License v3.0
2.39k stars 140 forks source link

More zones in Triggers and 1-axis analog inputs #179

Open Starfiretbt opened 3 years ago

Starfiretbt commented 3 years ago

I am using a Thrustmaster T-FlightStick X (1) and trying to play a game that is a flight simulator. The game doesn't use all of my joystick so I have been using AntiMicro which I hear is getting replaced with AntiMicroX. It has been working fine for most of my joystick except one. The problem: The joypad has a slider control called the throttle at the base which is meant to control speed on the craft you are playing, full on would mean max speed, half would mean half speed, and full off would mean no speed. The games I play don't always recognize the throttle but they have two buttons for increasing and decreasing speed. I don't know how to assign them without Antimicro thinking either one button is always on or the other button is always on. This means if my throttle is only one for a minimum setting instead of minimum speed I get max speed, if my throttle is on the opposite direction instead of less speed I get no speed. I posted this at the AntiMicro Forum? I don't know what else to call it. And someone suggested I post it here. He had an idea for a solution. The solution: I am quoting them since I only know enough of what they are saying to understand, not repeat... "So, regarding the feature request: I suggest you make a feature request on th AntiMicroX repo (https://GitHub.com/AntiMicroX/antimicrox/issues your post to something like "[Feature Request] Multiple triggers for analog inputs". Then, please please follow the template, as it makes understanding your feature request a thousand times easier to understand.

So, what you want are a variable number of trigger events (as many as there are throttle graduations) based on the analog value, with different keys for if the value rises above or falls below the threshold.

Since you can set the button press time within AntiMicroX, you'd have to work out the timing (e.g. how long it takes to go from 0% throttle to 100% throttle)."


Upvote & Fund

Fund with Polar

pktiuk commented 1 year ago

@Starfiretbt
Do you mean something like variable number of steps activating different actions in Throttle/Trigger?
Something like this? image

Your description is a bit unclear for me.

Starfiretbt commented 1 year ago

If my description is unclear what I mean is some flight simulators have a throttle control. The throttle control is a button that slides instead of getting pressed. The purpose is to control speed in a vehicle, either a fighter, airplane, battlemech, even a race car. It works by having hundreds of settings of positions, such as all the way down the vehicle doesn't move, half on half speed, 68% on 68% speed, full on full speed, etc. It allows for great speed control in the vehicle your operating. The problem I'm having is some games don't recognize the throttle control so that's not an option. They do have a button for speed I would like to assign to the throttle but when I use AntimicroX that program only see's button on or off so either full or no speed, there's no in between speed. I see from your picture you might be able to make multiple input steps. Do you have a video on YouTube explaining how to do that or at least some instructions?

pktiuk commented 1 year ago

I made it in paint to show and clarify the idea.

Starfiretbt commented 1 year ago

Then yes, something like that would be great. For example if my throttle switch was at 33% in one direction then I would love the speed of my craft to be 33%.