Logitech_G5_Linux Compile with: g++ -o g5-dpi g5-dpi.cpp -std=c++11 -lstdc++fs Then simply run as root, and if a G5 mouse is detected, the dpi will be set to it's maximum. (2000 DPI)