Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Mapping Trackball mouse buttons  (Read 2190 times)

0 Members and 1 Guest are viewing this topic.

Negativecreep0

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 353
  • Last login:November 28, 2020, 10:59:49 am
  • I'm a llama!
Mapping Trackball mouse buttons
« on: November 12, 2005, 10:01:26 am »
Ok here is my problem i have an ipac 4 i have a trackball with usb harness thing from happs. Now I want to play both pc games and mame games on my cab. But I don't want to have to add extra 2 buttons for mouse buttons for the trackball. can I wire the trackball mouse buttons to my player one controls. Will this interfere with mame running if im playing a fighting game and the one button does both mame function and a left mouse click??? Or will mame ignore the mouse button functionality while running games?



thanks for any help clearing this up


daywane

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2570
  • Last login:August 29, 2025, 03:53:34 pm
  • GRRRR!
Re: Mapping Trackball mouse buttons
« Reply #1 on: November 13, 2005, 06:54:59 am »
I would remove the joystick buttons and repalce with mouse buttons and change the use for the buttons in mame with the tab key.

Mark70

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 479
  • Last login:August 19, 2011, 11:22:49 pm
  • I want to build my own arcade controls!
Re: Mapping Trackball mouse buttons
« Reply #2 on: November 13, 2005, 08:11:47 am »
I have an optipac for my trackball and an ipac.   I wired the last two buttons of a six button layout for player one, to the optipac mouse buttons.  Then I went into mame and redefined the button configuration for all games.  This will set the mouse buttons to B5 and B6 for all games that you don't have a config file for already.  If you had it set up otherwise and did configure buttons for "this game" in any of them, you'll have to reconfig them individually.
... arcade builders could someday rule the world...currency would be reduced to quarters only, and wars would be settled

pmc

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1034
  • Last login:December 20, 2023, 07:43:02 am
    • website
Re: Mapping Trackball mouse buttons
« Reply #3 on: November 13, 2005, 10:51:47 am »
Hmmm... Is the opposite possible? I wonder if there's something similar to JoytoKey (except upside down) that could be used to map keystrokes into mouse button inputs. That way you wouldn't have to wire specifically to support the mouse buttons. You could presumably map any of B1 through B6 to trigger mouse buttons presses for certain games.

I haven't wired my TB up yet, but I intended to leave the mouse button harness swinging in the wind. I hadn't thought about actually needing them until now.

Quote from:
want to play both pc games and mame games on my cab.

Also check to see if you can map input in the games themselves.

-pmc