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.26k stars 138 forks source link

WARN QCommandLineParser: option not defined: "next" #772

Closed asdf23 closed 1 year ago

asdf23 commented 1 year ago

Is there an existing issue for this?

Current Behavior

When changing profiles via the command line (antimicrox -- profile ~/myFile.gamecontroller.amgp) I get this error !WARN QCommandLineParser: option not defined: "next" AntiMicroX is already running.

Expected Behavior

This warning should not appear. "next" does not seem to be a valid command line parameter.

Steps To Reproduce

change the profile from command line with antimicrox --profile ~/myFile.gamecontroller.amgp

Environment

Program Version 3.3.3
Program Compiled on Feb 13 2023 at 00:00:00
Built Against SDL 2.26.2
Running With SDL 2.26.3
Using Qt 5.15.9
Using Event Handler: XTest
Compositor type: x11
Host OS: fedora Version: 37 Architecture: x86_64

Anything else?

No response

asdf23 commented 1 year ago

This is working in:

Program Version 3.3.3 Program Compiled on Feb 13 2023 at 00:00:00 Built Against SDL 2.26.2 Running With SDL 2.26.3 Using Qt 5.15.8 Using Event Handler: XTest Compositor type: x11 Host OS: fedora Version: 36 Architecture: x86_64

pktiuk commented 1 year ago

Duplicate of: https://github.com/AntiMicroX/antimicrox/issues/189

oldtools commented 11 months ago

What would be the command line option to assign profiles to joysticks if the "next" option is removed?

pktiuk commented 11 months ago

@oldtools --next option is not working anyway (i don't know why it was broken or whether it worked at all). And nobody complained about this, so I assume it is not needed by anyone