| Main > Main Forum |
| Mouse hack by switching wires in USB plug |
| (1/2) > >> |
| unclet:
Ok, I have mentioned my wishes reagrding my mice hacks a few times, although I have a new idea and wanted to see whether you think it would work . |
| tetsujin:
--- Quote from: unclet on May 13, 2005, 12:54:01 pm ---1) What are the colored wires used for in a Belkin USB mouse? --- End quote --- For any USB device, the colors (black, red, green, white) correspond to the USB ground, 5V source, and the D+/D- signal lines, respectively. The extra black may be for the shielding ground or something. Some USB mice also support a PS/2 connection, usually using an adaptor connected to the USB plug. The mouse detects that it's connected to that adaptor, and its internal circuitry switches to the PS/2 protocol --- Quote ---2) If one of the wires is for X-axis movement and the other one is for Y-axis movement, then it seems like I could simply swap the two wires from the USB cable to the PCB and achieve what I want .... correct? Basically, allowing the X-axis hack information be sent through the USB cable as Y-axis information. For example ... let s say the RED wire represented X-axis movement signalling and the WHITE wire represented the Y-axis movement signalling. If I simply switched positions of the RED and WHITE wires with each other, then would I achieve my goal? --- End quote --- It doesn't work that way. The red and black lines are the power source, of course, and the D+/D- lines carry signals to and from the device. The signals are represented as a binary stream - you can't switch those wires and expect any kind of useful result. Any wire switching has to be done at the other end of the cable, inside the mouse itself. |
| unclet:
Thanks for the description ... one more thing ..... My plan is now to cut the traces on the PCB for the X-axis optics and then wire the X-axis optics solder points to the Y-axis optics solder points. However, will a USB Belkin mouse react weird if the X-axis traces are permanently cut? I mean without those traces being connected will the USB mouse consider the mouse position to always be hard right or hard left, rather than in the middle (ie: not being moved at all) |
| cholin:
If you do it all right, the mouse doesnt care where the traces go through, as long as the right signals are being sent to the processor. You can cut the traces and the mouse will work fine... |
| Tiger-Heli:
--- Quote from: unclet on May 13, 2005, 02:38:03 pm ---Thanks for the description ... one more thing ..... My plan is now to cut the traces on the PCB for the X-axis optics and then wire the X-axis optics solder points to the Y-axis optics solder points. However, will a USB Belkin mouse react weird if the X-axis traces are permanently cut? I mean without those traces being connected will the USB mouse consider the mouse position to always be hard right or hard left, rather than in the middle (ie: not being moved at all) --- End quote --- If I understand correctly - your goal is to have a single mouse hack - dual axis when done. IE - The first mouse is basically just the Twisty-hack - I.e the X-Axis optics running unchanged to the PC. The Y-Axis terminals on this hack will have the sensors removed and will be routed to the X-Axis sensors on the second mouse hack, mounted in a different location on the CP. The Y-Axis terminals on the second hack will stay connected to its circuit board, but will be dead as the second mouse will NEVER BE CONNECTED TO THE COMPUTER. (except the X-axis sensors running back to the first mouse Y-Axis. Is This Correct? |
| Navigation |
| Message Index |
| Next page |