Monash Posted December 31, 2022 Posted December 31, 2022 I used the TARGET software to bind the "Drop bombs mode toggle" keybind [LWIN+B] to a button on my Warthog joystick, specifically button H2U. The event is of type "pulse" and it is attached to the "press" event. When I press this button in-game it actives the bombs mode toggle as expected, but it also drops the bombs (keybind "B") which is unexpected and unwanted. It acts as if the game is receiving two signals "LWIN+B" and "B". I'd appreciate help diagnosing/solving this problem. Thanks.
dburne Posted December 31, 2022 Posted December 31, 2022 8 minutes ago, Monash said: I used the TARGET software to bind the "Drop bombs mode toggle" keybind [LWIN+B] to a button on my Warthog joystick, specifically button H2U. The event is of type "pulse" and it is attached to the "press" event. When I press this button in-game it actives the bombs mode toggle as expected, but it also drops the bombs (keybind "B") which is unexpected and unwanted. It acts as if the game is receiving two signals "LWIN+B" and "B". I'd appreciate help diagnosing/solving this problem. Thanks. Put a small delay between LWIN and B.
Monash Posted December 31, 2022 Author Posted December 31, 2022 (edited) 31 minutes ago, dburne said: Put a small delay between LWIN and B. Thanks for helping me out! I've added increasingly values for delay, from 1 to 500 milliseconds, but the issue remains. The added delay has perhaps made some improvement, its hard to tell, but the problem persists. Edited December 31, 2022 by Monash
dburne Posted December 31, 2022 Posted December 31, 2022 3 minutes ago, Monash said: Thanks for helping me out! I've added increasingly values for delay, from 10 to 500 milliseconds, but the issue remains. The added delay has perhaps made some improvement, its hard to tell, but the problem persists. Sorry that is all I can think of however I have also been away from using their software for a while. It really should only take around 50ms if that.
JG27*PapaFly Posted December 31, 2022 Posted December 31, 2022 (edited) 3 hours ago, Monash said: I used the TARGET software to bind the "Drop bombs mode toggle" keybind [LWIN+B] to a button on my Warthog joystick, specifically button H2U. The event is of type "pulse" and it is attached to the "press" event. When I press this button in-game it actives the bombs mode toggle as expected, but it also drops the bombs (keybind "B") which is unexpected and unwanted. It acts as if the game is receiving two signals "LWIN+B" and "B". I'd appreciate help diagnosing/solving this problem. Thanks. The game has a peculiar way of determining the status of your keys. It's basically polling say 60 times per second which keys are pressed. This can lead to issues as the one you described, when a pulse input is so short that it slips unregistered between 2 polling events. There's an easy solution. You have to split your LWin+B into following sequence of commands: 1) LWin press and hold 2) B press and hold 3) B release 4) LWin release The combination of HOLDING the keys pressed (event type in TARGET: "press") and a delay of 30-60 ms between each of these inputs gives the game enough time to actually register the key state. That's what I've been using for years. Avoid "pulse" inputs with this game. Edited December 31, 2022 by JG27_PapaFly
JG27*PapaFly Posted December 31, 2022 Posted December 31, 2022 Here is a sequence showing how I coded a similar command (LShift+B). I added 30 ms delay to each step following the first one.
Monash Posted December 31, 2022 Author Posted December 31, 2022 Brilliant. Thank you. This worked for me. 2
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now