Previous Thread
Next Thread
Print Thread
#113454 - 05/20/18 02:13 PM stderr[#4]: Input: Dropping invalid  
Joined: Mar 2007
Posts: 274
RColtrane Offline
Senior Member
RColtrane  Offline
Senior Member

Joined: Mar 2007
Posts: 274
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!

#113455 - 05/20/18 03:55 PM Re: stderr[#4]: Input: Dropping invalid [Re: RColtrane]  
Joined: Mar 2001
Posts: 15,956
R. Belmont Offline
R. Belmont  Offline

Very Senior Member

Joined: Mar 2001
Posts: 15,956
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).

#113459 - 05/21/18 10:45 AM Re: stderr[#4]: Input: Dropping invalid [Re: RColtrane]  
Joined: Feb 2004
Posts: 1,961
Vas Crabb Offline
Very Senior Member
Vas Crabb  Offline
Very Senior Member

Joined: Feb 2004
Posts: 1,961
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.

#113460 - 05/22/18 11:42 AM Re: stderr[#4]: Input: Dropping invalid [Re: RColtrane]  
Joined: Mar 2007
Posts: 274
RColtrane Offline
Senior Member
RColtrane  Offline
Senior Member

Joined: Mar 2007
Posts: 274
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.
#113461 - 05/22/18 12:37 PM Re: stderr[#4]: Input: Dropping invalid [Re: RColtrane]  
Joined: Mar 2001
Posts: 15,956
R. Belmont Offline
R. Belmont  Offline

Very Senior Member

Joined: Mar 2001
Posts: 15,956
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.

#113469 - 05/24/18 01:40 PM Re: stderr[#4]: Input: Dropping invalid [Re: R. Belmont]  
Joined: Mar 2007
Posts: 274
RColtrane Offline
Senior Member
RColtrane  Offline
Senior Member

Joined: Mar 2007
Posts: 274
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
0 registered members (), 13 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,544
Posts111,686
Members4,795
Most Online225
May 26th, 2014
Powered by UBB.threads™ PHP Forum Software 7.6.0
Page Time: 0.068s Queries: 14 (0.048s) Memory: 4.9665 MB (Peak: 5.1609 MB) Zlib enabled. Server Time: 2018-06-24 04:55:08 UTC