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.53k stars 146 forks source link

Profile Switching Issue: Returning to Incorrect Profile after end of "while held" action #1048

Open dwi110 opened 2 months ago

dwi110 commented 2 months ago

Is there an existing issue for this?

Current Behavior

Hi,

I'm trying to set up a configuration with antimicrox to control 4 cameras and a scoreboard using a game controller. Here’s the setup I want:

Buttons A, B, X, Y: Press to switch between camera profiles (1-4). In all 4 profiles, holding L1 should temporarily switch to profile 5 for scoreboard actions. Once I release L1, it should return to the camera profile I was in before. The issue I’m encountering is that antimicrox always returns to the profile where I last configured L1 to switch to profile 5.

For example:

I configured L1 in profile 4 last. When I’m in profile 2 and hold L1, after releasing it, it doesn’t go back to profile 2 but to profile 4. Is this behavior intentional (by design), or is it a bug? Does anyone have suggestions for a workaround?

Thanks in advance!

Expected Behavior

Pressing buttons A, B, X, Y should switch to the respective camera profiles (1-4). Holding L1 in any camera profile (1-4) should switch temporarily to profile 5 for scoreboard actions. After releasing L1, the profile should return to the camera profile (1-4) that was active before L1 was held.

Steps To Reproduce

No response

Environment

3.4.1
win 10

Anything else?

ill fund via polar to get this fixed / feature added


Upvote & Fund

Fund with Polar

pktiuk commented 2 months ago

Discussion, where this problem was mentioned earlier: https://github.com/AntiMicroX/antimicrox/discussions/1028

rogerhub commented 2 months ago

I think the software might not currently support what you're trying to do? You can sort of emulate the same behavior by making many copies of set 5 though.

dwi110 commented 2 months ago

@rogerhub thanks that could work but unfortunately i have 5 cameras not 4 so i would need 10 or more profiles but the limit is 8 at the moment. and also i have 2 profiles for other stream related settings to adjust. but aynways that still will help with 4 cameras layout

thanks!

pktiuk commented 1 month ago

@dwi110
Just as rogerhub said.
This feature is not supported. AntiMicroX does not remember from which set you are coming from. It only knows where it should switch you to when you press or release selected buttons. It is not a bug, but this is a good idea for possible improvement in the future.