Control your desktop with a controller.
This program allows you to control the mouse using the left pad of your controller and scroll with the right pad. Once connected, it exclusively receives events from the controller, preventing other applications from doing so. You can easily release the controller to stop controlling the mouse and switch to gaming with a simple button press.
HOME
: grab/ungrab the controllerL
: slow down mouse speedA
: left clickRPAD
: middle clickY
: right clickB
:Escape
X
:XF86AudioPlay
R
:Super+q
LEFT
:Super+Control+h
RIGHT
:Super+Control+l
UP
:Super+f
PLUS
:XF86AudioRaiseVolume
MINUS
:XF86AudioLowerVolume
ZL
:Shift
ZR
:Control
LPAD
:Super+d
You can change these mappings in config.h. You may also need to change the buttons code for your controller in controller.c.
usage: desktop-controller [-h] [-v] [-l] [CONTROLLER]
Control your desktop with a controller.
positional arguments:
CONTROLLER the path to the controller to use (example: /dev/input/event20)
options:
-h, --help show this help message and exit
-v, --version show program's version number and exit
-l, --list list all available controllers and exit
make
Create an optimized production build by running the following command:
make BUILD_MODE=release
Warning
If you build and then you build with BUILD_MODE=release
, you must force make
to rebuild everything by adding -B
.