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: successful optical mouse hacks?  (Read 3979 times)

0 Members and 1 Guest are viewing this topic.

Bgnome

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 466
  • Last login:January 10, 2005, 04:05:16 pm
  • Who's da gnome?
successful optical mouse hacks?
« on: September 27, 2004, 11:28:21 pm »
i was just wondering if there was anyone out there that has successfully hacked an optical mouse for their controls?  there was a post not too long ago where a person who had problems his ball mouse hack looked up the datasheet on the controller chip.  on a whim, i cracked open an old usb optical mouse i had and to my chagrin, found that the optical sensor chip basically connects directly to the usb controller chip through 4 traces.  guess what those traces are?  thats right! they correspond to x+/x-/y+/y-!  that means, in theory, it should be easy to connect to any standard optic board.  this could mean that people won't have to hunt for usb ball mice or necessarily have to buy oscar's hack, (great guy tho! more power to him).  sure, you could still use the optical sensor for stuff, like maybe spinners or some other analog application but this would let you bypass that particular issue.

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:successful optical mouse hacks?
« Reply #1 on: September 28, 2004, 12:30:39 am »
.... they correspond to x+/x-/y+/y-!  ....

Depends if the optical sensor chip and USB chip are seperate or not.  Many of the new ones the chips are one.  (or at least the new one I looked at was all on one chip.)
Robin
Knowledge is Power

Bgnome

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 466
  • Last login:January 10, 2005, 04:05:16 pm
  • Who's da gnome?
Re:successful optical mouse hacks?
« Reply #2 on: September 28, 2004, 12:38:13 am »
that may be a problem then..  my optical mouse has a separate board for the sensor which is connected to the mainboard with a ribbon cable.  i have noticed the same class usb controller chip in my macally trackball so at least with the separate chips you can bypass the optic sensor.  may still be useful for those with old optical mice laying around..

Bgnome

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 466
  • Last login:January 10, 2005, 04:05:16 pm
  • Who's da gnome?
Re:successful optical mouse hacks?
« Reply #3 on: October 01, 2004, 10:50:09 pm »
this is my mouse.  you can see the separate boards and the gray ribbon cable on the left, (red side indicates 5v line).

Bgnome

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 466
  • Last login:January 10, 2005, 04:05:16 pm
  • Who's da gnome?
Re:successful optical mouse hacks?
« Reply #4 on: October 01, 2004, 10:52:19 pm »
replaced ribbon cable with the corresponding wires from the optics.  also connected wires for buttons and LEDs.  works like a charm!

brained

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 477
  • Last login:June 28, 2025, 07:27:14 pm
  • Raised by Atari
    • Nux
Re:successful optical mouse hacks?
« Reply #5 on: October 11, 2004, 09:16:05 am »
way to go!!! did you looked at the IC datasheet!! 8)
I was the one that had problems with my ball mouse :P
I recommend before hacking a mouse, google IC datasheet. It i'll save you a ton of headaches :P





Bgnome

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 466
  • Last login:January 10, 2005, 04:05:16 pm
  • Who's da gnome?
Re:successful optical mouse hacks?
« Reply #6 on: October 11, 2004, 09:37:35 am »
yeah, it was really useful.  it also turns out that the optical sensor has a built in ps/2 interface capability.  i may be using that later for some sort of spinner or analog device..