AntiMicro / antimicro

[NOT maintained anymore] Graphical program used to map keyboard buttons and mouse controls to a gamepad. Useful for playing games with no gamepad support
1.79k stars 202 forks source link

AntiMicro issue on all Linux distros I try #289

Closed SkOrPn closed 4 years ago

SkOrPn commented 4 years ago

Hello again, for the last few days I have been trying to break away from using Windows 10 for my gaming needs. So, I upgraded to MX Linux 19 (Debian buster based) and then installed Steam and AntiMicro (which I have been using for years). I set it up as I normally do but as soon as I enter my chosen game the character spins, runs, fires, etc etc out of control. I thought it was a kernel issue at first so I went through 3 different kernel builds to no avail. Then I tried other games, and even went as far as trying other distros. ALL of them do the exact same thing as soon as I install AntiMicro, the character spins out of control. However on Windows 10 using AntiMicro my joystick works perfectly.

What I noticed is that everything seems to be fine UNTIL I install Antimicro, but once it is installed I can't get rid of the issue, even after uninstalling Antimicro. So my guess is a misbehaving dependency possibly?

Is there a method to put back the system exactly how it was before I installed AntiMicro, and if not does anyone here please have a suggestion on getting the Joystick to function normally? Oh and I know its the Joystick because the issue disapears the very instant the joystick is removed. But it doesn't occur until after installing AntiMicro either.

Any ideas please? Thank you very much for creating the very best Joystick GUI for both Windows and Linux. Again Thanks.

SkOrPn commented 4 years ago

OK, I'm guessing its something to do with the Steam+in game steam controller features and Metro 2033 Redux having hard coded controller suport, plus installing AntiMicro for some odd reason.

Not sure why all this works perfectly in Windows but is a mess in Linux.

notklaatu commented 4 years ago

I can confirm Antimicro 2.23 works as expected in Steam running on Slackware 14.2, Ubuntu 16.04, and Fedora 30 with Logitech f310 and f370 controllers.

That said, Metro 2033 Redux has full controller support, so generally you shouldn't need Antimicro for that game.

What controller do you have, and does your controller have a driver mode setting, or otherwise identify what driver it's using? You should probably uninstall (or otherwise disable) the joystick driver on whatever Linux you're using (it might try to seize control of your controller, but you probably want to use either the xpad or xbox-drv driver). Might be able to provide better clues if you identify your controller, but I suspect a driver conflict.

SkOrPn commented 4 years ago

Hello notklaatu, thanks for your reply.

We have since discovered that I was wrong, it is most definitely the game itself. For what ever reason the Metro 2033 game see every Joystick I connect (I since purchased two more) as a xbox style controller. And no, no matter how hard I try it is impossible to setup a joystick like a xbox controller. Besides in order to use the controller feature it forces you to program every last button and will NOT give me the save or complete button until I do. However my Joysticks do not have enough buttons to fulfill the requirement and I am 2 buttons shy of it thus the game NEVER gives me a "complete" or "save" controller setup button. Also I am working closely with a MX19 Gaming OS developer and he has verified that it is a bug in the game on Linux because on Windows the controller feature is greyed out until you plug in an actual gamepad controller, but Metro see's every single Joystick I throw at it as a Xbox style controller, in other words all the settings are asking me to push A, B, X or Y just exactly like on a gamepad controller. The expected behaviour has been confirmed should be a greyed out Controller section, just exactly like it is on Windows.It should not come out of being greyed out until you actually plugin a Gamepad.

The ONLY option I have is to try and create a blank profile that has no buttons assigned to it and then use AntiMicro. But I have not figured out how to create a blank controller config because the game and Steam will not save one until I assign it more buttons than I actually have. Lol, this is a real conundrum for me since I absolutely love this game series. Haha

Anyway, yeah false alarm on it being a AntiMicro issue. By the way it was the Developer who first thought it was AntiMicro. I had them put AntiMicro into the official MX19 repositories. I really like AntiMicro because it looks the same on both Windows and Linux. You can't same that about many other joystick managers. Thank you very much for that.

By the way, I tried Ubuntu 19:10 and it also did not work as expected in Metro 2033 Redux. But it works perfectly in other games on the same systems. We have not figure out how to fix it yet, just how to work around it, and as I said I have not accomplished that either. Haha

Best Regards Rod

SkOrPn commented 4 years ago

By the way, I should probably close this case since I am now 99% sure it has nothing to do with AntiMicro. Thanks again for such a great Joystick program.