| Main > Main Forum |
| Using the same buttons for mouse and player 2? |
| (1/4) > >> |
| phishpac:
I have done some searching, but have struggled to find help on this topic. I would like to two of player 2's buttons on my control panel as the left and right mouse buttons for my trackball. I have it wired up, but windows thinks when I'm left clicking that I'm hitting "a" on my keyboard. I'm sure there is a very simple answer to this, but I am :dunno: Thanks! oh yeah.. I'm using mame, mala, and an IPAC on windows xp pro |
| severdhed:
i was trying to do this the other day, someone mentioned you could use autokotkey to do it with a script, but when i tried it, it just didn't work. i only messed with it for a few minutes, but people claim that it works. maybe someone with a little more experience could chime in, because i would like to know this as well. |
| TOK:
Sounds like my setup might be different from yours, but I have the Happ 3" ball that has 3 buttons wired as mouse buttons. I put those buttons as the bottom row of player 1, then just reconfigured the MAME defaults. For example, in a game like Street Fighter that uses all the buttons 1 2 3 are regular MAME/IPAC defaults 4 5 6 are mouse 1, 2 and 3 remapped in MAME as 4, 5 and 6. |
| protokatie:
--- Quote ---i was trying to do this the other day, someone mentioned you could use autokotkey to do it with a script, but when i tried it, it just didn't work. i only messed with it for a few minutes, but people claim that it works. maybe someone with a little more experience could chime in, because i would like to know this as well. --- End quote --- Unless you are really good at autohotkey scripting (I am not but wrote a working script), autohotkey needs a modifier (such as alt or ctrl) for it to trigger anything. (This is in the script itself, dunno if I was the one who gave you the script or not, but I have a simple one.) Basically for me, I didnt care that I would have to hold down on a modifier key on the CP to get mouse clicks to work, as using the mouse buttons for me was only so I could deal with the OS without attaching a mouse (I mapped P1's joystick to control mouse movement)... Try playing around with autohotkey a bit more, and look at the examples and commands on their site. |
| phishpac:
tok that makes perfect sense. I shouldn't be trying to have one button physically wired to do two functions. Instead I should be telling mame that player 2 will be using the mouse keys as two of its buttons. Thanks.. when I get a chance I will do this and report back. |
| Navigation |
| Message Index |
| Next page |