| Main > Main Forum |
| Wandering USB Controller Order |
| << < (4/4) |
| vindic8r:
The lack of the OR is because, I think, my P1B1 is wired to be dual-purpose, and fires both a left mouse button signal and L CONTROL. I worked around this issue by just disabling the left mouse button input in the file. So my Gun 1 button mapping became: --- Code: ---<port type="P1_BUTTON1"> <newseq type="standard"> GUNCODE_BUTTON1 OR KEYCODE_LCONTROL </newseq> </port> --- End code --- I don't know of any games that use the left mouse button as input. Hopefully, there aren't any. In which case, this should work smashingly. Thanks for all the help, drventure. You truly saved my cabinet with this little program of yours. Or at least saved me countless hours of reconfiguration every time I restarted the cab. If you lived in the Chicago-area, I'd totally invite you over for the MOTUMAME launch party. |
| drventure:
As far as I know, mame needs the OR between all the different input types or they won't map properly (ie you can't tell mame that P1B1 is triggered via a KEYBOARD_LCONTROL +and+ a MOUSE_BUTTON1. It's always one or the other, but not both. I've actually got the top 3 buttons on my P2 setup to be P2B1-B3, but they are wired to B1-B3 on my trackball one. I did this so that, outside of Mame, I can use the trackball as a mouse and the mouse buttons are conveniently those top 3 buttons on the P2 cluster, but INSIDE mame, they act just like any other P2B1-B3 would. Works a treat. But, if you don't have your buttons wired that way, you shouldn't need to bother with the mouse code mappings. I used to work for a company in Schaumburg, so I have some good memories of Chicago (at least the Chicago land area). I haven't been up that way in ages though. Hoist one for ControllerRemap at the party and I'll be good! :cheers: |
| Navigation |
| Message Index |
| Previous page |