A GW2 joystick device to select mounts in-game.
A joystick and OLED display is controlled by an Arduino Nano (atmega 168), which sends serial messages (integers in the range 1-8), representing each notch on the joystick (clockwise). These messages are then decoded by a java program (SerialKeyboard), that maps the signals to different keystrokes. The generated keystrokes are then sent directly as hardware scan codes to Windows. Only a single modifier can be used at a time, together with a regular key e.g. (ALT + Z). Multiple modifiers are not yet supported e.g. (ALT + CTRL + SHIFT + Z)
Mount icons are displayed in 64x64 on an SSD1306 OLED display.
icon/
folder where the xbm icons are stored, together with the python script that
convert png -> xbm. The png images are from the
gw2 wiki
The joystick enclosure can be found here: https://www.thingiverse.com/thing:4546606
Things I might consider adding to the project:
- Define slots as <serial char> to <key mapping> rather than using pre-defined slots to (where n = 1, 2 .. 8)
- Serial monitor in a tab when a connection has been established