Previous Thread
Next Thread
Print Thread
stderr[#4]: Input: Dropping invalid #113454
05/20/18 02:13 PM
05/20/18 02:13 PM
Joined: Mar 2007
Posts: 281
RColtrane Offline OP
Senior Member
RColtrane  Offline OP
Senior Member
Joined: Mar 2007
Posts: 281
Sometimes when I disconnect my joystick from the computer, QMC2 drops my joystick settings from MAME, so I have to enter the input options in MAME and configure my inputs all over again. Here's one of the messages displayed by QMC2 when entering a game with my joystick disconnected: 11:00:19.348: stderr[#4]: Input: Dropping invalid input token JOYCODE_1_BOTãODEâNGULODEVISãOU

I understnd that QMC2 should not drop my input seetings even when my joystick is disconnected. If I want to configure it again for another device, I will do it myself. Losing all my input settings just because I have my joystick disconnected is terrible!

Re: stderr[#4]: Input: Dropping invalid [Re: RColtrane] #113455
05/20/18 03:55 PM
05/20/18 03:55 PM
Joined: Mar 2001
Posts: 16,105
USA
R
R. Belmont Offline
Very Senior Member
R. Belmont  Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,105
USA
MAME itself drops joystick settings when you unplug, because it's assumed unplugging the controller means you want to use mouse and keyboard (and in fact back around 15 years ago people complained that that was exactly what they wanted).

Re: stderr[#4]: Input: Dropping invalid [Re: RColtrane] #113459
05/21/18 10:45 AM
05/21/18 10:45 AM
Joined: Feb 2004
Posts: 2,027
Sydney, Australia
Vas Crabb Offline
Very Senior Member
Vas Crabb  Offline
Very Senior Member
Joined: Feb 2004
Posts: 2,027
Sydney, Australia
I'm not sure anyone complained that they wanted that specifically. It was more that they screamed, "Help! I mapped Exit to a combination of gamepad buttons, and I started MAME without the gamepad connected and can't close it! Now I have to unplug the computer from the wall!" MAME's behaviour is designed to stop that from happening.

Re: stderr[#4]: Input: Dropping invalid [Re: RColtrane] #113460
05/22/18 11:42 AM
05/22/18 11:42 AM
Joined: Mar 2007
Posts: 281
RColtrane Offline OP
Senior Member
RColtrane  Offline OP
Senior Member
Joined: Mar 2007
Posts: 281
Thank you for the explanation. I don't like this behavior but now I understand the reasons.

Last edited by RColtrane; 05/22/18 11:43 AM.
Re: stderr[#4]: Input: Dropping invalid [Re: RColtrane] #113461
05/22/18 12:37 PM
05/22/18 12:37 PM
Joined: Mar 2001
Posts: 16,105
USA
R
R. Belmont Offline
Very Senior Member
R. Belmont  Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,105
USA
You can stop MAME from doing it by setting the files in your CFG folder to read-only once you've set up the controller.

Re: stderr[#4]: Input: Dropping invalid [Re: R. Belmont] #113469
05/24/18 01:40 PM
05/24/18 01:40 PM
Joined: Mar 2007
Posts: 281
RColtrane Offline OP
Senior Member
RColtrane  Offline OP
Senior Member
Joined: Mar 2007
Posts: 281
Originally Posted by R. Belmont
You can stop MAME from doing it by setting the files in your CFG folder to read-only once you've set up the controller.


Thanks for the tip RB!! I'll do that laugh


Moderated by  qmc2 

Who's Online Now
3 registered members (hal3000, crazyc, shattered), 159 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,624
Posts112,761
Members4,839
Most Online324
Dec 20th, 2018
Powered by UBB.threads™ PHP Forum Software 7.6.1.1
(Release build 20180111)
Page Time: 0.032s Queries: 14 (0.009s) Memory: 5.6241 MB (Peak: 5.8115 MB) Zlib enabled. Server Time: 2019-02-15 22:55:48 UTC