Simple program to listen for keyboard events and run mpc commands.
The code is released into the public domain.
mpckbd </dev/input/eventN
Requires Linux 'evdev' module: Device Drivers -> Input Device Support -> Event interface.
Edit Makefile to set the keys used (see /usr/include/linux/input.h). Defaults to Power/Sleep/WakeUp for Prev/Toggle/Next.
Last modified 2020-08-24T20:49:06+01:00.
©2002-2024 Simon Arlott. All Rights Reserved.