Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.38 KB

README.md

File metadata and controls

41 lines (28 loc) · 1.38 KB

gamepad_idle_inhibit

Prevent idling for 30 seconds on any gamepad events on wayland.

For this to work your wayland compositor must support "idle-inhibit-unstable-v1".

Forked from https://github.com/e2dk4r/gamepad and adapted to wayland.

limits

  • Simultaneously 10 gamepad connections detected. So if you were able to connect 11 gamepads at same time this would behave unexpectedly.
  • Can read events from maximum of 250 gamepads.

requirements

libraries

library used for
liburing event loop and polling
wayland-client connecting to wayland display

build

meson setup build
ninja -C build
./build/gamepad

references