I do have one question for you...y would hacking a mouse cause this to happen? If I use a mouse normally it doesn't go backwards
Like I said, since I don't know how your mouse hack worked, the best I can do is answer in generalities.
It depends how the mouse hack is hooked up -
A bit of simplified info and terms on how a mouse works - The encoder wheel (light chopper) turns as the mouse is moved (say up and down). There are two black (or 1 clear) "bricks" on either side of the wheel. One of these is the emitter and one is the receiver. These send light pulses through the encoder wheel to pick up direction and speed of the wheel movement. Signals from the emitter and reciever are processed by the circuit on the PCB into a format which the (serial, PS/2, or USB) port on the computer can interpret.
The most basic hack - if you take the encoder wheel from the mouse and mount it on the end of the spinner - then as long as clockwise was left for the encoder wheel and you maintain that with the spinner the direction will be correct (assuming no gearing involved). If it is backwards, you can flip the mouse PCB (moving the emitter from the top to the bottom of the wheel or vice versa) and it will work.
The next most basic hack - If you desolder the emitter and receiver and mount them to a PCB and then wire these back to the mouse PCB, you can again either swap the PCB direction, or swap wires around, but I'm not sure which ones get changed.
The more advanced hack - If you are using arcade optic boards (like a Happ trackball) and you remove the emitter and receiver from the mouse PCB and wire these in, one pair of wires from the emitter (emitter and receiver?) handles mouse direction, and you can just swap these to change direction.