Skip to content

A mouse replacement using an Arduino Micro, joystick, and rotary encoder.

Notifications You must be signed in to change notification settings

chrisleewoo/Joymouse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 

Repository files navigation

Joymouse

A mouse replacement using an Arduino Micro (Mega32u4), joystick, and rotary encoder.

Analog joystick:

GND          
+5V
VRx         x-axis        pin A0     
VRy         y-axis        pin A1      
SW          left click    pin D11 (input pullup)      

Rotary encoder:

  CLK       right click   pin D4
  DT        scroll up     pin D6
  SW        scroll down   pin D12 (input pullup)
  +
  GND                    

Modified the example sketch named JoystickMouseControl. Be aware that this sketch is only meant to work for the Micro or Leonardo.

<iframe src="https://create.arduino.cc/editor/Chrisleewoo/1d5991aa-af45-4a96-8859-bdff87cf46c8/preview?embed" style="height:510px;width:100%;margin:10px 0" frameborder="0"></iframe>

About

A mouse replacement using an Arduino Micro, joystick, and rotary encoder.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published