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: trackball and buttons w/out keyboard encoder for mame  (Read 3707 times)

0 Members and 1 Guest are viewing this topic.

popsicle

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 672
  • Last login:August 19, 2025, 08:27:44 pm
    • forum.arcadecontrols.com/index.php/topic,104229.msg1102713.html#msg1102713
trackball and buttons w/out keyboard encoder for mame
« on: October 26, 2013, 02:07:59 pm »
Is it possible to use a usb trackball that comes with 3 button support and use this exclusively to operate mame only trackball games?

I'm trying to save $ on a keyboard encoder.  I'm thinking use button 3 as a shift/coin key (button 3 + button 1 = player 1 start, button 3 + button 2 = player 2 start, all three buttons = exit). 

Too messy? Too cheap---I'm attempting to get by the auto-censor and should be beaten after I re-read the rules--?

degenatrons

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 364
  • Last login:March 29, 2016, 05:53:23 pm
    • KADE
Re: trackball and buttons w/out keyboard encoder for mame
« Reply #1 on: October 26, 2013, 02:43:10 pm »
The Sparkfun PS/2 trackball is worth a look - if you have an available PS/2 mouse port.  It comes with wiring for 3 buttons and spade connectors are included. 
They work well IMO and are good value at $15.

https://www.sparkfun.com/products/10758


Bambam1963

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 85
  • Last login:March 09, 2024, 11:46:07 pm
  • I love this stuff man!-
Re: trackball and buttons w/out keyboard encoder for mame
« Reply #2 on: October 26, 2013, 03:14:05 pm »
You could hack a keyboard, but it really is not worth the effort.  You will need one eventually if you want to try other games.  An i-Pac 2 is pretty cheap and easy to set up.

John
I am an oldie, who used to troll here years ago.  Now I am back to tweak my machine and help a friend build his.

chopperthedog

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1049
  • Last login:Today at 08:23:11 am
Re: trackball and buttons w/out keyboard encoder for mame
« Reply #3 on: October 26, 2013, 03:23:38 pm »
For golden tee and world class bowling holding all 3 buttons are already functions within a game. For my GT cab I went with a keyboard hack for the 5 buttons needed (left, right, start, coin and exit) which allow the mouse buttons to remain untouched for admin purposes. Also I have found that none of the trackball games in my playing rotation use specific player 1&2 start buttons.


good day.
« Last Edit: October 26, 2013, 03:27:42 pm by chopperthedog »

DarthMarino

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 567
  • Last login:August 17, 2025, 11:57:23 am
Re: trackball and buttons w/out keyboard encoder for mame
« Reply #4 on: October 26, 2013, 05:48:08 pm »
You could always do something wacky like make coin trackball up and one of the buttons at the same time.  Just create combinations you know you will never do by accident during the actual game. It can't hurt to put the games on free play and eliminate coin altogether.

popsicle

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 672
  • Last login:August 19, 2025, 08:27:44 pm
    • forum.arcadecontrols.com/index.php/topic,104229.msg1102713.html#msg1102713
Re: trackball and buttons w/out keyboard encoder for mame
« Reply #5 on: October 26, 2013, 09:26:34 pm »
You could always do something wacky like make coin trackball up and one of the buttons at the same time.  Just create combinations you know you will never do by accident during the actual game. It can't hurt to put the games on free play and eliminate coin altogether.

Ahh, the ol' free play.  I hadn't even thought of that, thanks!

popsicle

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 672
  • Last login:August 19, 2025, 08:27:44 pm
    • forum.arcadecontrols.com/index.php/topic,104229.msg1102713.html#msg1102713
Re: trackball and buttons w/out keyboard encoder for mame
« Reply #6 on: October 26, 2013, 09:31:27 pm »
The Sparkfun PS/2 trackball is worth a look - if you have an available PS/2 mouse port.  It comes with wiring for 3 buttons and spade connectors are included. 
They work well IMO and are good value at $15.

https://www.sparkfun.com/products/10758


You could hack a keyboard, but it really is not worth the effort.  You will need one eventually if you want to try other games.  An i-Pac 2 is pretty cheap and easy to set up.

Yea, I didn't want to hack up a keyboard if I could help it.  I do have other cabinets with ipacs/keywiz, so I know exactly what I'm missing by not having a joystick and lots of buttons.  This is to be a dedicated trackball cab, and the pc I have to use does not have ps/2 port, so I'm trying to find ways for a usb trackball w/3 button support to work out for both game play and simple admin needs.


PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9687
  • Last login:Today at 12:08:48 am
  • Designated spam hunter
Re: trackball and buttons w/out keyboard encoder for mame
« Reply #7 on: October 26, 2013, 11:04:32 pm »
Several of the KADE firmwares support PS/2 trackballs like the Sparkfun trackball -- see this thread for details.



That leaves you lots of AVR inputs for whatever you want.

If you're handy with a soldering iron, you can also buy an AVR from another vendor and use KADE Loader program and firmwares.


Scott

paigeoliver

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10994
  • Last login:July 06, 2024, 08:43:49 pm
  • Awesome face!
Re: trackball and buttons w/out keyboard encoder for mame
« Reply #8 on: October 27, 2013, 06:31:06 pm »
If you are doing a whole cabinet then I wouldn't hobble the project down to 3 inputs just to save $25 on an encoder.
Acceptance of Zen philosophy is marred slightly by the nagging thought that if all things are interconnected, then all things must be in some way involved with Pauly Shore.

popsicle

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 672
  • Last login:August 19, 2025, 08:27:44 pm
    • forum.arcadecontrols.com/index.php/topic,104229.msg1102713.html#msg1102713
Re: trackball and buttons w/out keyboard encoder for mame
« Reply #9 on: October 27, 2013, 09:21:46 pm »
If you are doing a whole cabinet then I wouldn't hobble the project down to 3 inputs just to save $25 on an encoder.

No, you're right, and it looks like just getting the encoder will save some headache.  This is to be the next project for the 'Arcade Fired-Up' course I'm teaching, and we are on a fixed $300 budget.  The pc and monitor are already secured, and I have a bit of scrap wood (not enough for full sides of even a lowboy/cabaret), but trackball setups (esp. the usb ones that don't need mounting plates) are not cheap and when you throw in buttons, switches, wiring, t-molding, paint/stain, screws, marquee retainers, and especially plexi, glass, and printed artwork that $300 goes fast. 

Can anyone else comment on PL1's post?  I need to do some research there.

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9687
  • Last login:Today at 12:08:48 am
  • Designated spam hunter
Re: trackball and buttons w/out keyboard encoder for mame
« Reply #10 on: October 28, 2013, 01:20:50 am »
trackball setups (esp. the usb ones that don't need mounting plates) are not cheap
If you use 12mm (1/2") wood for your CP, you can mount the Sparkfun trackball like Degenatrons shows in this thread.

You can get an AVR to solder your own here, here, or here for under $15 plus shipping.

This is the lowest price trackball/mount/encoder combination that I have seen.

Can anyone else comment on PL1's post?  I need to do some research there.

The video and previously linked thread are pretty straight forward on how to wire the trackball.

The other AVR inputs can be assigned as HID buttons using the free KADE Loader software.

What other questions do you have?


Scott
EDIT: Updated KADE forum URLs.
« Last Edit: December 04, 2019, 02:38:22 pm by PL1 »

rhys

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 42
  • Last login:March 13, 2014, 09:43:56 pm
  • I want to build my own arcade controls!
Re: trackball and buttons w/out keyboard encoder for mame
« Reply #11 on: October 28, 2013, 01:51:49 pm »
My TI Launchpad based encoder will do 30 digital inputs plus a trackball or two spinners, and the Launchpad is all of about $15 shipped from TI.  No fancy interface yet like the KADE software, and the current firmware has it presenting as two gamepads and a mouse rather than a keyboard/mouse.  Shoot me a PM if you would like more info.  I've also done a custom 8 button keyboard/mouse version for another forum member which might work well for your needs too.