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: 720 Degrees Joysick - Fairly easy hack (I think)!  (Read 2796 times)

0 Members and 1 Guest are viewing this topic.

jjanis

  • Guest
  • Trade Count: (0)
720 Degrees Joysick - Fairly easy hack (I think)!
« on: April 15, 2002, 12:03:18 pm »
I received a 720 Degrees cicular spinner joystick in the mail today.  I won it on Ebay for $20 + $8 shipping (from Australia!).

I've been losing a lot of sleep lately wondering how that thing could possible work.  In my head, it had to work like a regular spinner.  Friction-free spinning is the only way to go.  However, the game knows when you are pointing the joystick 'up'.  If it were a regular spinner, it wouldn't have any way of knowing what direction it's in.  As soon as you powered the machine down, spun the joystick, and powered it up again, it would have lost it's position (besides other problems.  For instance, this joystick couldn't possibly keep track of its position for the lifetime of the machine - it would get lost pretty quickly, I'd imagine).

As I hoped would happen, as soon as I took a quick look at the joystick (it's a BIG joystick - holy gods!  It's nearly a foot tall!) it was clear what was happening.  It's sweet.

There are TWO spinner discs on one axle.  One discs is the same as a Discs of Tron spinner, with 128 notches.  The second disc (parallel to the first one) has 2 notches immediately beside each other in (let's say) the 'down' position.  I assume that whenever the notches on the 'down' position are crossed, the machine knows to recalibrate the spinner to the 'down' position.  This occurs with every rotation of the joystick, ensuring that it never has an opportunity to get completely lost.

All it will take is a pretty basic mouse hack - with x and y axes hooked up to each disc.

Then MAME needs to know what to do, also.  I suspect that all I need to do is to treat the X-Axis like a regular spinner, and whenever the Y-Axis is triggered, I know that I must reset the controller's value to some hard coded value for the direction that he's in.  Something like that anyway.  I've been scrutinzing the code for the 720 degrees controls, and there's not much to it.  (Of course I say that after 3 all-nighters of aggressively poking at it).  The code is very nicely laid out to be extremely simple to make substantial modification to it, as far as the controlling method.

Then it's a matter of getting the sensitivity close to correct, and it's done!

It's possible that I may hit a pitfall or two...  Like what if the mouse encoder that I use doesn't pick up EVERY notch crossing when I spin the joystick too fast?  What if the sensitivity settings aren't granular enough for this paricular setup?

I'm not too worried.  Those don't sound like show-stoppers, I bet I could get around them.  And I'd be a little suprised if that happens.  Does anyone know or have recommendations on mouse cards?  Are some more accurate than others at counting notches at high speeds?

Also, does anyone know if it's possible or reasonable to try to make the original arcade encoder card talk to my computer instead of using a mouse hack?

Here are some pictures and information:

http://24.168.47.59:8080/examples/joystick/index.html

Go to the image-link on the left pane of the 720 Degrees joystick to see it.  At the bottom of the page is where I show the good pictures from this morning.

One big (sort of) question.  There's a crazy contraption in the joystick.  It's like a bike chain with gears.  One big gear is connected to a small gear on the side.  The small gear has an axle into some 'thing' with a little metal tube coming out the side.  I don't know what it could be for.  Light beam?  Electric connector?  ???  It doesn't appear to electically connect to anything, but maybe that's what the tube is for?  I don't know.  Maybe it has something to do mechanically for the joystick - somehow improving its feel...  There are several pictures of it on the bottom of the the web site 720 page.  I don't know.  Any suggestions would be greatly appreciated.  I'm hoping it's something normal - something that perhaps someone out there sees everyday and can recognize it.

Thanks!!!
« Last Edit: December 31, 1969, 07:00:00 pm by 1026619200 »

Beley

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 116
  • Last login:September 14, 2013, 09:02:37 pm
Re: 720 Degrees Joysick - Fairly easy hack (I thin
« Reply #1 on: April 15, 2002, 12:27:37 pm »
This is just a guess but ide bet that that thing is there to add friction to the stick so it doesn’t flop around or fall into the down position from gravity. And that little tube that sticks out is probably a grease nipple

... just a guess
« Last Edit: December 31, 1969, 07:00:00 pm by 1026619200 »

jjanis

  • Guest
  • Trade Count: (0)
Re: 720 Degrees Joysick - Fairly easy hack (I thin
« Reply #2 on: April 15, 2002, 12:39:33 pm »
Exactly right...  Thanks!  Yeah, the arcade control panel is at a major slant...  Without that extra friction, the joystick would absolutely fall into the down position, which would be downright (no pun intended) unprofessional.
« Last Edit: December 31, 1969, 07:00:00 pm by 1026619200 »

jerryjanis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 821
  • Last login:February 02, 2023, 01:56:44 am
  • Skate or Die!!!
    • Jake's Joystick
Re: 720 Degrees Joysick - Fairly easy hack (I thin
« Reply #3 on: April 16, 2002, 06:45:34 pm »
Site moved...  http://24.168.46.238:8080/examples/joystick/index.html

I had trouble running out of bandwidth on free sites, so I decided to run it off my cable modem...  Of course, after months of having the same IP address, it changed today.
« Last Edit: December 31, 1969, 07:00:00 pm by 1026619200 »

BASSOFeeSH

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 255
  • Last login:May 29, 2009, 12:46:42 am
  • TD-2779
    • Trooper Armor
Re: 720 Degrees Joysick - Fairly easy hack (I thin
« Reply #4 on: April 16, 2002, 07:04:02 pm »
Check out http://www.tzo.com.  

Basically for something like $20 a year(something like that...I paid $40 or so for two years) they will redirect a url to your home IP.  

For instance my website: bassofeesh.tzo.com will always point to my home PC connected my my cable modem.  You just run a simple background app or service that checks periodically to see what your IP is & updates their DNS servers.  
« Last Edit: December 31, 1969, 07:00:00 pm by 1026619200 »

x-wing

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 98
  • Last login:March 28, 2003, 10:40:37 pm
  • I Built My Own Arcade Controls!!
Re: 720 Degrees Joysick - Fairly easy hack (I thin
« Reply #5 on: April 16, 2002, 07:05:47 pm »
jerryjanis... hook up with a dynamic IP service like www.dynodns.com if you want to use your cable modem service to host a website.  Last I checked, they were still free and allowed a port redirect (8080) like you are using.  There are lots of options if www.dynodns.com doesn't have all the features you are looking for.

« Last Edit: December 31, 1969, 07:00:00 pm by 1026619200 »

jerryjanis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 821
  • Last login:February 02, 2023, 01:56:44 am
  • Skate or Die!!!
    • Jake's Joystick
Re: 720 Degrees Joysick - Fairly easy hack (I thin
« Reply #6 on: April 18, 2002, 09:21:10 am »
Dynodns is really awesome...  And free ?!?

I set it up to work, and I redirected my domain to dynodns.  My domain name is hosted in France ($10/year!)...  France->Dyno->My home...  That's really awesome - it apparently constantly watches my IP address, and if it changes, it's automatically changes the redirection!  Rad!

I'm constantly adding information onto the website.  

One thing I've managed to do, if anyone is interested, is to create a MAME build that allows 8-Way digital joysticks to be used with 720', mapping each direction to a spinner position.  The old method only mapped left and right on the joystick to make you spin clockwise/counterclockwise, which doesn't play very well.  In some ways, this method is better than using a regular spinner.  Where the spinner is weak, the 8-way is strong, and where the 8-way is weak, the spinner is strong.  Go figure.

Try this (my fingers are crossed!):
http://jstookey.com/joystick/
« Last Edit: December 31, 1969, 07:00:00 pm by 1026619200 »