Main > Main Forum
Newbie Mouse-hack question.
barranger:
--- Quote from: spystyle on September 09, 2004, 11:41:12 am ---There's always a keyboard or gamepad hack if you need more buttons than the mouse can supply
--- End quote ---
True but I figured if I already needed the mouse hack for the track ball and only needed 5 buttons.....
Lilwolf:
quick note.
Oscar sells a prehacked mouse for 9 bucks or so. I bought 3 mice and killed 2 trying to hack it.... Then bought a few from Oscar... Worth the price by FAR!
Stingray:
--- Quote from: barranger on September 09, 2004, 11:33:09 am ---My real question was should the 4th and 5th buttons be any different to hack than the first three?
--- End quote ---
No, they should be exactly the same.
-S
Tahnok:
--- Quote from: Lilwolf on September 09, 2004, 11:53:42 am ---quick note.
Oscar sells a prehacked mouse for 9 bucks or so. I bought 3 mice and killed 2 trying to hack it.... Then bought a few from Oscar... Worth the price by FAR!
--- End quote ---
True, mouse hacks can be a bit tough. But if you have done any prior electronic work on circuit boards they really aren't that hard. I got it first try and ended up not spending anything to get my trackball working (the mouse was just laying around).
jerryjanis:
Last time I checked, the Mame code couldn't handle 5 mouse buttons.
In mame/src/windows/input.c there's a line:
for (button = 0; button < 4; button++)
which is only looking for mouse buttons 0, 1, 2, and 3. It's quite possible that changing that 4 to a 5 would add the extra button, but I can't be certain about that without testing it.
Also, mouse buttons are a little bit more flaky than keyboard keys in Mame. For example (last I checked), you can't remap mouse buttons while a game is paused because of the way that the mouse is restricted to a single window. In addition, they're a little bit more complicated than a keyboard key because they can report "mouse button up" and "mouse button down". They typically require 3 wires instead of the usual 2.
I guess what I'm getting at is that it not be worth all the extra trouble just to squeeze a few extra buttons into your cabinet.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version