How to lock a HID device to a specific window or screen?
On kde/wayland
i want to lock a keyboard and controller so they are only seen by one window, as in inputs only go that window and it cant move elsewhere.
Also using nixos.
How to lock a HID device to a specific window or screen?
On kde/wayland
i want to lock a keyboard and controller so they are only seen by one window, as in inputs only go that window and it cant move elsewhere.
Also using nixos.
It’s sort of possible, but you’d need to build an accessibility extension for KDE to do so.
Can you be more specific about what you’re trying to do?
My use case is an expo, we have a game people can play on display and I’m doing things on my main screen, ideally I can continue doing work while people try the game but at the bare minimum I would like the keyboard to he restricted to that app.
Ah, then you probably want KDE’s kiosk mode for a second screen with a second user that you can set the defined activity for. Should be quick and easy that way versus trying to split a session and window input.