0-0-7, Here's a simple pinout:
Mouse encoder signals don't give a forward and a reverse. There are just two lines that pulse when the encoder sees light or dark. Direction is determined by which of the two signal lines occurs first when rotating.
I was recently experimenting with mouse rotary encoder too. Made rough sample:
The knob made of VHS head.
There is a program called autohotkey. It alows to map hotkeys to wheelUP/DOWN, buttons.
Hi. was'nt playing alot with autohotkeys. what about someting like that
Lbutton+wheelUP::(assign for scrool up)
Lbutton+whelDOWN::(assign for scrool down)
Rbutton+wheelUP::(assign zoom in)
Rbutton+wheelDOWN::(assign zoom out)
I actualy meade hotkeys just for volume.
i wander if u can buy those encoders in shop separatly.
That would be the best alternative but I'm not sure how to go about it. I'm using a touch screen so I can't use the left mouse button can I? If I connect a push-stay on switch to the right button it only gives 2 options.
Thanks for the suggestion tho agniusm.
I would say that if you remap your mouse buttons they will not acts as mouse buttons anymore. Give it a o and see what happens. Cheers
Instead of saying "GND" I would use the word "Common". The reason I say this is that I checked a PS/2 mouse and found the what you ahve label "GND" actually is reading 5V with a multimeter. If someone were to hook this up to GND you might kill your USB ports or PS/2 connection.