MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

Reged: 02/18/17
Posts: 24
Send PM
Adding "NOT" statements to cfg control entries
02/22/17 02:46 PM

I have the 'back' button set up as my default 'insert' coin button on my Xbox 360 controller. The problem I'm having is I've also decided to make it a sort of 'hotkey'. In other words, back + Dpad up = TAB menu, back + A = save state, back + B = load state, so on and so forth. I pretty much have everything useful mapped to an alternate control scheme that is accessed while holding the back button.

The problem is it isn't always ideal to insert coins every time you want to do something (like bring up the TAB menu). So I figured out that if you alter the cfg files, you can make certain buttons not work while other buttons are held.

For example, the following entry:

port type="COIN1"

newseq type="standard"



This makes button 8 (the 'back' button) as the coin button, but not while "up" on the D-pad is held. Now I can hold up, tap 'back,' and the menu opens. You can add multiple "NOT" statements, but there is a limit (it looks like I'm able to do it 7 times).

So my question is, is there any way to make it so that a button only works if it is pressed by itself? That would make things so much easier than adding multiple "not" statements. Plus, 7 isn't enough for me.

Any help here would be appreciated.

Edited by Typhon (02/22/17 02:48 PM)

Entire thread
Subject Posted by Posted on
* Adding "NOT" statements to cfg control entries Typhon 02/22/17 02:46 PM

Extra information Permissions
Moderator:  redk9258, URherenow, Tafoid 
0 registered and 38 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 672