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: ps/2 trackball fire button  (Read 1276 times)

0 Members and 1 Guest are viewing this topic.

mclaught

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 51
  • Last login:April 20, 2006, 08:09:11 pm
  • I'm a llama!
ps/2 trackball fire button
« on: June 05, 2003, 03:54:30 pm »
I have the imperial ps/2 trackball hooked up, only using one button (green wire from the trackball) and that acts as my left click button for windows. I also want to rig that same button up to SW1 of my IPAC. However, when I tried this, neither the trackball nor the keyboard controls would work. I ran a wire from that NC tab to SW1 and kept the green wire on. I tried a couple different ways to ground it, nothing seemed to work.
Is it possible to have one button work like this? Any advice is appreciated, as always.

mpm32

  • Cheesecake Master
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4121
  • Last login:November 20, 2018, 09:25:14 pm
  • I want to Build My Own Arcade Controls!!
Re:ps/2 trackball fire button
« Reply #1 on: June 05, 2003, 04:14:04 pm »
When I configure a game with -mouse,  it assumes that the left click button is the fire button.  No need to wire to S1

mclaught

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 51
  • Last login:April 20, 2006, 08:09:11 pm
  • I'm a llama!
Re:ps/2 trackball fire button
« Reply #2 on: June 06, 2003, 10:01:56 am »
nope, the mouse button works correctly in windows but it won't fire in mame. oh well, thanks for the reply anyway.

mccall

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 65
  • Last login:July 23, 2003, 03:58:39 pm
Re:ps/2 trackball fire button
« Reply #3 on: June 06, 2003, 10:13:21 am »
Shouldn't you be using NO (normally open) not NC (normally closed) on your switches?

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re:ps/2 trackball fire button
« Reply #4 on: June 06, 2003, 04:42:19 pm »
nope, the mouse button works correctly in windows but it won't fire in mame. oh well, thanks for the reply anyway.

This is answered in the mame faq; read the faq

Just for you, special instructions:
Press TAB, go into "Input (general)", and set "player 1 button 1" to "L ctrl OR mouse button 0": go to player1 button 1 in the menu, press [enter] key, press the player 1 "fire" button on your CP, wait until "Lctrl" shows, press enter again, press the trackball "fire" button.

You can also do this with ctrlr ini files, instead, but that will take a little more understanding.  To learn more on this read docs/ctrlr.txt and easyemu
Robin
Knowledge is Power

_Iz-

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 703
  • Last login:Yesterday at 11:11:12 pm
  • Time to coin up!
Re:ps/2 trackball fire button
« Reply #5 on: June 06, 2003, 05:12:17 pm »
you need to enable the mouse in mame.

If using mame32 then put a check beside mouse in the controllers section. make sure you do this in the default settings area. You need this to be global not per game.

If using regular mame then mouse=1 in mame.ini.

« Last Edit: June 06, 2003, 05:13:24 pm by _Iz- »

mclaught

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 51
  • Last login:April 20, 2006, 08:09:11 pm
  • I'm a llama!
Re:ps/2 trackball fire button
« Reply #6 on: June 08, 2003, 12:04:38 am »
rebelscum, you are right, that was in the FAQ and I didn't catch it. I honestly don't think I would have known what I was looking for even if I did read that. At any rate, your link and directions fixed the problem, it is now working as I had hoped and I am eternally greatful. And I did mean NO instead of NC, I wasn't paying attention when I typed that I guess. Or I'm just dumber than I realize. thanks again.