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: Using Joystick for trackball games...  (Read 5195 times)

0 Members and 1 Guest are viewing this topic.

DeLuSioNal29

  • Global Moderator
  • Trade Count: (+6)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4779
  • Last login:July 11, 2025, 09:17:44 am
  • Build the impossible -"There is no Spoon"
    • DeLuSioNaL's YouTube Videos
Using Joystick for trackball games...
« on: September 24, 2008, 05:21:53 pm »
I'm sure this has been asked before on the forums, but is there a way of making a digital joystick work in trackball games such as centipede?  I know the accuracy will be horrible, but I was wondering if this was possible?

Can someone point me to the forum topic if it has been asked before?

Thanks in advance!
Stop by my Youtube channel and leave a comment:

Ginsu Victim

  • Yeah, owning a MAME cab only leads to owning real ones. MAME just isn't good enough. It's a gateway drug.
  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10092
  • Last login:June 28, 2025, 10:45:55 pm
  • Comanche, OK -- USA
Re: Using Joystick for trackball games...
« Reply #1 on: September 24, 2008, 05:35:38 pm »
Really, it's not worth it. It isn't playable, because the accuracy is horrible. I tried to convince myself otherwise, but it just isn't so. Avoid the joystick.

If you can't install a trackball on your CP, pick up a trackball mouse (I use a Logitech) that you can set on your CP, or buy an X-arcade trackball unit.

DeLuSioNal29

  • Global Moderator
  • Trade Count: (+6)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4779
  • Last login:July 11, 2025, 09:17:44 am
  • Build the impossible -"There is no Spoon"
    • DeLuSioNaL's YouTube Videos
Re: Using Joystick for trackball games...
« Reply #2 on: September 24, 2008, 05:37:44 pm »
I plan to mod a USB stick instead of buying the pricey encoder.  It has analog controls on it.  Perhaps I can mod my panel to have the left stick visible to use for trackball games?  Would that even work?
Stop by my Youtube channel and leave a comment:

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: Using Joystick for trackball games...
« Reply #3 on: September 24, 2008, 07:42:20 pm »
I'm sort of summing up what's written in the top of src\emu\inptport.c OTTOMH, so for more details check it out:

There's two types of analog inputs: absolute and relative.  Analog sticks are absolute; mice & TBs are relative.  Mame converts from relative to absolute pretty well, but doesn't do absolute to relative very well.  (One reason is there are two way to translate, and each works better for different games, so mame didn't favor either.)

So...
Physical input for game input in mame (IMO):
digital --> absolute sucks
digital --> relative sucks
absolute --> relative sucks exactly as bad as digital --> relative
relative --> absolute okay, depending on game

For digital to either analog, remap like normal, but map to ...inc & ...dec.  These are just for this reason.  Some people (usually who never played with the real inputs) can play and have fun.
Robin
Knowledge is Power

Turnarcades

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1973
  • Last login:May 13, 2017, 08:14:29 am
  • Craig @ Turnarcades
    • Turnarcades
Re: Using Joystick for trackball games...
« Reply #4 on: September 24, 2008, 08:28:57 pm »
A lot of games in MAME have joystick versions as well as track versions. Doesn't centipede have a joystick version? If not, mapping it as mentioned above won't be so bad as centipede was ported to home computers or clones were made which played well. I remember a great Spectrum game called Millimon which was basically a centipede clone and it played great with a joystick. That said, Centipede was another game I never got to play for real in the arcades so I don't know what I was missing!  :-\

knightrdrx

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 130
  • Last login:June 06, 2020, 10:45:36 pm
  • I want to build my own arcade controls!
Re: Using Joystick for trackball games...
« Reply #5 on: June 18, 2014, 02:23:18 pm »
I'm just not thinking it's worth the extra $100 for the trackball from Xarcade.  Just for Centipede?  ..well and Links 386 but I can use a mouse for that.  I don't see any other worthy games to use it for...Would rather use the money towards a Spinner.

Locke141

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1692
  • Last login:February 23, 2025, 06:44:01 pm
  • Never grow up.
« Last Edit: June 19, 2014, 01:44:06 am by Locke141 »