Five switches via arduino controlling windows switcher (to replace ALT+TAB) and left, right mouse click, mouse drag and doubleclick.
- Arduino Uno
- (foot) Switches
- Python, python modules: serial, pyautogui
Exit from serial polling loop: double swich with pedal A (windows switcher)
- piezotest2.ino provides polling for 5 analog inputs
- connect 5 piezos with protective 1 M ohm resistors (like instructed here https://microcontrollerslab.com/piezoelectric-sensor-interfacing-arduino-uno-r3/)
- upload piezotest2/piezotest2.ino to arduino
- connect arduino to pc
- replace your file paths and python executable paths at pedals_launcher.bat
- launch pedals_launcher.bat