From 81e2fab47f4ec9423fd92b8e5fd013e83a080e2b Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 28 Dec 2024 09:30:11 +0100 Subject: Global hotkeys: only grab devices after all keys have been released --- TODO | 3 --- 1 file changed, 3 deletions(-) (limited to 'TODO') diff --git a/TODO b/TODO index 99813df..2996290 100644 --- a/TODO +++ b/TODO @@ -111,9 +111,6 @@ Save audio devices by name instead of id. This is more robust since audio id can Improve linux global hotkeys startup time by parsing /proc/bus/input/devices instead of ioctl. -Keyboard grabbing has some issues. If a key is grabbed while its being held down that it will be kept in held-down state (a hack exists to workaround this, but it may not work in all environments). - This also causes an issue where is a key is pressed before key is grabbed and then released while grabbed and then key is ungrabbed then the key will have to be pressed twice to register in the display server. - We can get the name of the running steam game without x11 by listing processes and finding the one that runs a program called "reaper" with the arguments SteamLaunch AppId=. The binary comes after the -- argument, get the name of the game by parsing out name from that, in the format steamapps/common//. All steam game names by ID are available at https://api.steampowered.com/ISteamApps/GetAppList/v2/. The name of a single game can be retrieved from http://store.steampowered.com/api/appdetails?appids=115800. -- cgit v1.2.3