Main Menu

Secondary Menu

Author Options:

HELP ME ::: want to interface ps/2 mouse using uno to pc Answered

Hi friends, i am new to arduino board. Trying to make a arduino uno based PS/2 mouse by using ps2dev.h... From the example from that the mouse move diagonally only. how to set that in other direction left,right,top,bottom..

// move the mouse diagonally delta_x = 1; delta_y = 1; write_packet()

Anyone guide me, how to move right or left or up or down...plz help me

hey! ive been tweaking around with the same code, i have used an accelerometer to control the mouse. i hav been quite succesful in moving the cursor, can you please tell me how the ps2 would differentiate between a single and double click.

I'm not sure. I believe the double click is just two clicks in close succession. I think the operating system sets the time between clicks to determine whether two clicks are deemed a double click or not. Best wishes