Skip to content

e2dk4r/gamepad_idle_inhibit

Repository files navigation

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

About

Prevent idling on gamepad events on wayland

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published