profile-controller doesn't work with 2 joysticks of same make, --next option removed? #774
-
I'm trying to set up a joystick-only interface on a gamebox (ubuntu 22.04), and am trying to automate some mappings with antimicrox 3.3.3. The best option would be if I could assign multiple profiles to multiple controllers in one command, but it appears this may no longer be supported.. ? When I use something like this: antimicrox/src/commandlineutility.cpp Line 103 in 94a9523 The "--next" option is still listed in the man pages, but I'm guessing it's deprecated or something.. can anyone confirm that? Regardless, I thought fine, I can just run a script with 2 separate commands. However, the GUID recognition seems to be broken.. I have 2 8bitdo controllers that are same model, with following output from the "--list" option (output edited for brevity): When I run the command and set --profile-controller to the unique guid of one controller, it sets the profile for both controllers. It does not distinguish one from the other. I thought, ok, fine, I'll write a script to get the output of the list command, and get the index of the unique guid I'm trying to set, then run the command using index instead of guid. This results in the same thing, both controllers get set to the same profile, even though I use: For various reasons, other features, such as loading profiles based on window properties, won't work for me. Can anyone confirm the above is a bug, or if I'm making some usage/syntax mistake? ..or anyone have alternate ideas about how to automate separate profiles on multiple controllers of same make? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
|
Beta Was this translation helpful? Give feedback.
-
Hi, I'm also trying to set different profiles to different controllers at once via command line and also facing the same issues. While GUID related issues are tracked in #734, I'm wondering if we would re-enable |
Beta Was this translation helpful? Give feedback.
-
#1098 enabled the --next option, but the command-line parser was not written to handle repeated arguments based on position: antimicrox/src/commandlineutility.cpp Line 112 in 50f3eb2 Snippet:
|
Beta Was this translation helpful? Give feedback.
-
I solved this problem by switching to https://github.com/sezanzeb/input-remapper:
|
Beta Was this translation helpful? Give feedback.
--next
is disabled but I don't know why. You can check: #189