Previous Thread
Next Thread
Print Thread
stderr[#4]: Input: Dropping invalid #113454 05/20/18 02:13 PM
Joined: Mar 2007
Posts: 283
RColtrane Offline OP
Senior Member
OP Offline
Senior Member
Joined: Mar 2007
Posts: 283
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
Joined: Mar 2001
Posts: 16,276
R
R. Belmont Online Content
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,276
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
Joined: Feb 2004
Posts: 2,055
Vas Crabb Offline
Very Senior Member
Offline
Very Senior Member
Joined: Feb 2004
Posts: 2,055
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
Joined: Mar 2007
Posts: 283
RColtrane Offline OP
Senior Member
OP Offline
Senior Member
Joined: Mar 2007
Posts: 283
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
Joined: Mar 2001
Posts: 16,276
R
R. Belmont Online Content
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,276
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
Joined: Mar 2007
Posts: 283
RColtrane Offline OP
Senior Member
OP Offline
Senior Member
Joined: Mar 2007
Posts: 283
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 (skylinekiller, nerd4gw, Jim Miller), 143 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,675
Posts113,813
Members4,859
Most Online418
Aug 14th, 2019
Powered by UBB.threads™ PHP Forum Software 7.7.3