/joystick-monitor

Monitors gamepads/joysticks used by applications and inhibits the screen saver during activity

Primary LanguageGoGNU General Public License v3.0GPL-3.0

Joystick Monitor

Monitors gamepads/joysticks used by applications and inhibits the screen saver during activity.

Supports the Linux event (evdev) interface and legacy joystick API. The screen saver is controlled with org.freedesktop.ScreenSaver.

Installation

Fedora

sudo dnf copr enable unrud/joystick-monitor
sudo dnf install joystick-monitor

Manual

# Install software
sudo wget -O /usr/local/bin/joystick-monitor \
  https://github.com/Unrud/joystick-monitor/releases/download/v0.0.3/joystick-monitor-linux-amd64
sudo chmod +x /usr/local/bin/joystick-monitor

# Create systemd service
sudo wget -O /etc/systemd/user/joystick-monitor.service \
  https://github.com/Unrud/joystick-monitor/releases/download/v0.0.3/joystick-monitor.service

Setup

Enable and start the service for the current user

systemctl --user enable --now joystick-monitor

Enable service for all users

sudo systemctl --global enable joystick-monitor