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.43k stars 140 forks source link

Press Time slot causes release of previous slots #767

Open sonofevil opened 1 year ago

sonofevil commented 1 year ago

Is there an existing issue for this?

Current Behavior

I'm trying to create a macro where when I hold a button, it holds ALT but only taps TAB. But my attempts seem to be thwarted by a behavior of "Press Time" that isn't mentioned in the wiki. It seems to cause the release of previous key press slots.

I confirmed with an input event viewer that ALT is released before TAB is activated.

Expected Behavior

While holding the button, ALT remains active whereas TAB is activated for 0.1 seconds. (Thus bringing up the window switching popup in Windows and keeping it open.)

Steps To Reproduce

Create an advanced button assignment where a key press slot is followed by a "Press Time" slot and then by a different key press slot: Example: ALT -> Press Time 0.1s -> TAB Then hold the so-assigned button on the controller.

Environment

Edition Windows 10 Pro
Version 21H2
Installed on    ‎04/‎10/‎2022
OS build    19044.2130
Experience  Windows Feature Experience Pack 120.2212.4180.0

Processor   AMD Ryzen 5 5500                                  3.60 GHz
Installed RAM   16.0 GB (15.9 GB usable)
Device ID   0F017A4F-E77D-4D3D-A271-EF9BDF765E1D
Product ID  00330-80000-00000-AA440
System type 64-bit operating system, x64-based processor
Pen and touch   No pen or touch input is available for this display

Anything else?

No response


Upvote & Fund

Fund with Polar

pktiuk commented 1 year ago

Could you provide a proper environment (as described in issue template)?

image

sonofevil commented 1 year ago

Program Version 3.3.2 Compiled from packaging: GitHub Windows Release Built Against SDL 2.0.20 Running With SDL 2.0.20 Using Qt 5.15.2 Using Event Handler: SendInput Host OS: windows Version: 10 Architecture: x86_64

pktiuk commented 1 year ago

Your version is outdated, please update to the latest one.

sonofevil commented 1 year ago

Still reproducible on 3.3.4.