Commit Graph

35 Commits

Author SHA1 Message Date
dec05eba
6fe9f1a8d5 Fix global hotkeys when using virtual mapper that pretends to be a joystick as well (kanata) 2025-02-05 21:03:42 +01:00
dec05eba
fd63ac3626 Fix for steamdeck 2025-02-03 20:27:35 +01:00
dec05eba
2a0782eb02 Attempt to fix global hotkeys not working on steam deck (grabs keys, cant press buttons) 2025-02-03 19:58:42 +01:00
dec05eba
3cb156aecb Delegate keyboard grab until a button has been pressed if the device says its a mouse 2025-01-26 17:43:38 +01:00
dec05eba
dea4393588 Revert global hotkeys change, ignore mice again 2025-01-26 14:12:03 +01:00
dec05eba
c04e6a87e6 Fix hotkeys not working on some keyboards 2025-01-26 10:23:17 +01:00
dec05eba
f036fcbc0f Add 'restart replay on save' option 2025-01-24 00:42:33 +01:00
dec05eba
1d9d4d6398 Make hotkeys reconfigurable, faster hotkey startup time, fix some keyboard locale issues 2025-01-23 21:25:45 +01:00
dec05eba
47ada4d798 Add option to save replay with controller (double-click share button), allow prime-run on wayland 2025-01-20 23:11:00 +01:00
dec05eba
bb54b67956 sys/poll.h -> poll.h 2025-01-10 00:14:18 +01:00
dec05eba
77dd32a3ff Revert "Dont use dlopen in gsr-global-hotkeys"
This reverts commit b0def958c7.
2025-01-09 13:08:12 +01:00
dec05eba
b0def958c7 Dont use dlopen in gsr-global-hotkeys 2025-01-09 12:42:10 +01:00
dec05eba
698538ac84 Unset DRI_PRIME as well 2025-01-08 17:17:48 +01:00
dec05eba
9a5c20836a Try and support different keyboard layouts through x11 xkb mapping 2025-01-07 01:15:56 +01:00
dec05eba
fa5b7a0c75 Only grab left alt, to allow altgr+z to be used for keyboard that type ż with it 2025-01-05 03:22:38 +01:00
dec05eba
52ce22ae22 Add option to only grab virtual devices, to support input remapping software 2025-01-04 05:39:16 +01:00
dec05eba
36c7bbfda3 Simplify gsr-ui-cli 2025-01-04 01:44:25 +01:00
dec05eba
6c03137610 Add option to disable hotkeys, add gsr-ui-cli tool to control gsr-ui remotely 2025-01-03 22:37:13 +01:00
dec05eba
5b7b8f8f8c Global hotkeys: fix incorrect free 2024-12-28 22:35:55 +01:00
dec05eba
c213b5de89 Add option to manage program startup directly in the program 2024-12-28 22:30:30 +01:00
dec05eba
81e2fab47f Global hotkeys: only grab devices after all keys have been released 2024-12-28 09:30:11 +01:00
dec05eba
62fe500637 Virtual keyboard: set EV_SYN and EV_MSC event bits 2024-12-26 15:28:52 +01:00
dec05eba
e5b745d696 Mention that recording has to be restarted to apply changes. Fix stuck in repeat state if pressed while gsr-global-hotkey starts 2024-12-26 15:22:57 +01:00
dec05eba
ec6d4090af More key grab fixes, ignore mice/js/wheel 2024-12-17 22:52:54 +01:00
dec05eba
9ab0e457ab Fix mouse getting grabbed, not allowing mouse movement 2024-12-17 21:05:19 +01:00
dec05eba
423e710809 Dont forward repeat/release keys to focused window for global hotkeys 2024-12-16 22:07:33 +01:00
dec05eba
014f90cbff Ungrab before closing event fd 2024-12-16 21:51:09 +01:00
dec05eba
14b0d376a8 Prevent focused application from receiving global hotkey keys on wayland as well (massive hack) 2024-12-16 21:48:35 +01:00
dec05eba
eb3660a4d8 Add fstack-protector-all to gsr-global-hotkeys 2024-12-16 02:31:45 +01:00
dec05eba
ebd8c2726b Rewrite linux global hotkey to not depend on any libraries (also allows it to work on non-systemd systems(?)), remove unused gsr-window-name 2024-12-16 02:21:38 +01:00
dec05eba
ef7eb26ea5 Fix global hotkeys not working when connecting input after startup 2024-11-25 18:16:21 +01:00
dec05eba
9467abb0a2 Fix freeze on shutdown: change uid to user after getting seat permission 2024-11-25 02:55:25 +01:00
dec05eba
7d19afc0ab cap_sys_admin->cap_setuid for gsr-global-hotkeys 2024-11-24 23:49:24 +01:00
dec05eba
734280f304 Use linux /dev/input for global hotkeys instead of x11. This also works on wayland on any compositor 2024-11-24 18:33:57 +01:00
dec05eba
56a7e558d2 Move gsr-window-name to tools directory 2024-11-24 14:46:03 +01:00