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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AntiMicroX immediately removes the profile when a different app is in focus #936

Open
1 task done
Mapsking opened this issue Mar 13, 2024 · 6 comments
Open
1 task done
Labels
bug Something isn't working waiting for feedback Waiting for feedback from users

Comments

@Mapsking
Copy link

Mapsking commented Mar 13, 2024

Is there an existing issue for this?

  • I searched the existing issues and did not find anything similar.

Current Behavior

Whenever I try to use AntimicroX, it will not keep the profile loaded. I upgraded to v.3.3.3, and also tried 3.3.4, and now 3.4.0, and it does the same thing. I noticed this happening when switching to other programs via ALT+TAB in Windows 10 x64, and also when minimizing the app. It also happens simply if a different app is in focus. When you select keybinds or a saved profile, and then switch to a different app or minimze it, the in use profile switches back to a blank profile, rendering the program useless.

Perhaps there is some setting I have accidentally set that prevents the controller profile actually being used?

The original Antimicro (v2.2.3) works correctly.

Expected Behavior

I set buttons and keys according to my needs in AntiMicroX. I change to the game or application, and use my controller with the keybinds from AntiMicroX.

Steps To Reproduce

  1. Open AntiMicroX (Using v3.4.0).
  2. Select Load .gamecontroller.amgp
  3. Profile is loaded in the dropdown and shows .gamecontroller in the dropdown.
  4. Open another app, such as Calculator.
  5. Profile in dropdown immediately changes to
  6. Alternate method is selecting the profile directly from the dropdown instead of hitting the Load button.
  7. The result is the same.
  8. If a program (like Calculator) is already opened, and you then open a profile via the dropdown in AntiMicroX, and THEN switch to Calculator, the dropdown stays on .gamecontroller UNTIL you switch back to AntiMicroX, in which case it then reverts back to .

Environment

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

Anything else?

Here is an example video of the problem. The original Antimicro (v2.2.3) works correctly.

https://youtu.be/hp_sLsVjoAg


Upvote & Fund

  • If you find this issue important, mark it with 👍. It lets us see which fixes and features are demanded by the most users.
  • We're using Polar.sh so you can upvote and help fund this issue. It may incentivize some developers to contribute to this project and fix some bugs.
  • Funded developer receives the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar
@Mapsking Mapsking added the bug Something isn't working label Mar 13, 2024
@mikehancoski
Copy link

I have a very similar issue that unless antimicro is focused the inputs do not work

The example above is the same except it does not blank the profile and you can just move to cursor out of the window and the inputs stop working in all apps

and yes I have run it in as an administrator

the issue was fixed by pausing my virus protection

@Mapsking
Copy link
Author

I have a very similar issue that unless antimicro is focused the inputs do not work

The example above is the same except it does not blank the profile and you can just move to cursor out of the window and the inputs stop working in all apps

and yes I have run it in as an administrator

the issue was fixed by pausing my virus protection

I have also tried that, it seems to make no difference for me. Thanks for the suggestion.

@pktiuk
Copy link
Member

pktiuk commented Oct 20, 2024

Could you collect some logs when this issue happens?

I need to check what triggers this change in your case. Maybe this may be linked with misbehaving autoprofile.

@pktiuk pktiuk added the waiting for feedback Waiting for feedback from users label Oct 20, 2024
@Mapsking
Copy link
Author

Mapsking commented Nov 6, 2024

Sure, here you go. I was not sure which log level to put it at, but based on the image linked, I had set it to debug. If you need a different one or need me to do anything specific for testing, please let me know. I opened AntimicroX, loaded a profile, moved the sticks randomly, switched to Calculator (already open), it removed the profile.

Thanks

p.s. It seemed to attach the log, but I don't see it anywhere, so I am not actually sure if it did. If not, please let me know how to upload it.

@pktiuk
Copy link
Member

pktiuk commented Nov 6, 2024

You did not post it.
Just drag and drop file into textbox

@Mapsking
Copy link
Author

Mapsking commented Nov 8, 2024

You did not post it. Just drag and drop file into textbox

I did that first, then I added it manually with the paper clip icon.
I will try again, maybe it will take this time.
AntimicroX log.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working waiting for feedback Waiting for feedback from users
Projects
None yet
Development

No branches or pull requests

3 participants