Idle Settings is not considering controller inputs
Compositor
- [x] niri
Distribution
Arch on CachyOS
dms version
DankLinux Manager vv0.1.12
Description
When playing a game with controller the screen will turn off based on the time set in Idle settings
Expected Behavior
Controller inputs should be considered as system not idle and should not trigger any of the idle settings settings
Steps to Reproduce
- Set timer to 1min in idle settings for turning off screen
- Play a game with a controller
- Viola! Screen turns off after 1 min
I think this could be similar case to https://github.com/swaywm/swayidle/issues/68 - certain game controllers not creating input events as a keyboard or mouse.
I think it's probably more suited as a discussion in niri? We might be able to add some app rules, though - to inhibit idle when certain apps are focused (like steam) or something.
Im using hyperland and im having the same issue. not fun having to turn off idle settings in settings every time im gaming. is it atleast possible to add a button to disable idle settings somewhere?
Im using hyperland and im having the same issue. not fun having to turn off idle settings in settings every time im gaming. is it atleast possible to add a button to disable idle settings somewhere?
Sure it's possible, but the core issue is a compositor one (not supporting this)
if you can share some info - maybe lsusb it's possible we could add some workarounds for some devices to make an inhibitor, when its active.