Skip to content

e2dk4r/gamepad_idle_inhibit

Repository files navigation

gamepad_idle_inhibit

After cc482228a41e9e3e31b6b27143d5ed24e7dc5069 commit, it no longer works on sway (>=v1.11-rc1). You can revert it manually then compile.

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