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 Mouse 1 and 2 to buttons (solved)  (Read 1910 times)

0 Members and 1 Guest are viewing this topic.

Ryglore

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 779
  • Last login:November 16, 2021, 05:49:39 pm
  • Likes to make things difficult.
    • The Brush Wizard
Mapping Mouse 1 and 2 to buttons (solved)
« on: October 13, 2009, 06:18:34 pm »
I've been looking everywhere and I can't seem to find info on mapping mouse buttons to MaLa's control schemes. I've got a Happ 3" USB trackball and it comes prewired for mouse buttons. I have them hooked up properly, and they work fine when I navigate the PC, but when I go into MaLa and edit Player 1's control set, I can't get MaLa to recognize my inputs.

It will accept button presses of the keyboard, but not the clicks of the mouse. It seems like a couple of arrows pop up like I can scroll through options, but any button I press on the KB just inputs that key as the input. I know there is a way to set mouse buttons as inputs, since they are preset as another button in the menu already... Obviously I am missing something. Any help or pointing me in the right direction will be extremely helpful. Thanks.
« Last Edit: October 14, 2009, 12:27:44 am by Ryglore »

Ryglore

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 779
  • Last login:November 16, 2021, 05:49:39 pm
  • Likes to make things difficult.
    • The Brush Wizard
Re: Mapping Mouse 1 and 2 to buttons (solved)
« Reply #1 on: October 14, 2009, 08:46:43 am »
Solved this last night. The problem seemed to be two separate issues combined. The first being a problem with the mame.ini file, which had the entry for the mouse set to 0 and it should be set to 1.

The second, seemed to be an issue with the connection of the trackball to the PC. Originally I had it connected to the USB port and it would work on the PC and MaLa but not in Mame. After I switched the connection to the PS/2 port, I was able to set the buttons and use the trackball in all of my trackball games.

Took me a couple hours of hair pulling, but it was really a simple fix!  :D

JustMichael

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1438
  • Last login:September 27, 2015, 01:19:40 am
  • Mmmmm!! Cheesecake!!
Re: Mapping Mouse 1 and 2 to buttons (solved)
« Reply #2 on: October 15, 2009, 08:39:16 am »
Quote
The second, seemed to be an issue with the connection of the trackball to the PC. Originally I had it connected to the USB port and it would work on the PC and MaLa but not in Mame. After I switched the connection to the PS/2 port, I was able to set the buttons and use the trackball in all of my trackball games.

Very strange.  I am able to use my USB trackball in Mame just fine.

Ryglore

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 779
  • Last login:November 16, 2021, 05:49:39 pm
  • Likes to make things difficult.
    • The Brush Wizard
Re: Mapping Mouse 1 and 2 to buttons (solved)
« Reply #3 on: October 15, 2009, 09:20:44 am »
Ya, I'm not sure what the deal was. I even had problems with my standard USB mouse mapping buttons.