Commit Graph

57 Commits

Author SHA1 Message Date
Federico Terzi
5256e3e79f
fix(misc): fix clippy warnings (#1342)
* fix(misc): fix clippy warnings

* fix(misc): fix clippy warnings

* fix(misc): fix clippy warnings

* fix(misc): fix clippy warnings

* fix(misc): fix clippy warnings
2022-08-25 21:23:55 +02:00
Federico Terzi
abf31616c3
feat: implement alt-code emulation. #988 (#1277) 2022-07-02 20:58:51 +02:00
Federico Terzi
880c7c0708 fix(misc): upgrade cc crate version to (hopefully) fix windows build on github ci 2022-03-05 22:05:15 +01:00
Federico Terzi
ec24100260 fix(detect): remove noisy log. Fix #961 2022-02-13 19:34:47 +01:00
Federico Terzi
2745257ce9 fix(detect): add workaround to fix inconsistent modifier states on macOS. Fix #825 Fix #858 2021-11-12 20:49:56 +01:00
Federico Terzi
ec7f1772dd fix(detect): unregister device from epoll when removed on Wayland. #836 2021-11-01 21:57:32 +01:00
Federico Terzi
92645e0987 feat(detect): add option to lower the windows keyboard layout cache interval, #745 2021-10-25 21:30:16 +02:00
Federico Terzi
d9d7966cfc fix(detect): use c_char alias to fix build on ARM linux. Fix #801 2021-10-22 20:02:54 +02:00
Federico Terzi
a584ee94ec fix(detect): filter out values from keyboard events when Alt key is pressed, related to #725 2021-10-16 14:42:22 +02:00
Federico Terzi
379ab08cf1 feat(detect): handle modifiers release event on macOS 2021-10-13 22:34:36 +02:00
Federico Terzi
12ba0b8755 fix(detect): add missing case that prevented some keys from being detected correctly on Windows. Fix #307 2021-10-12 22:17:19 +02:00
Federico Terzi
48bd591bd6 fix(detect): add flag to ToUnicodeEx call to prevent spurious random characters when pressing ALT+Arrow keys. Fix #552 2021-10-12 20:31:22 +02:00
Federico Terzi
4f37a0abd1 fix(detect): fix warning 2021-10-06 19:25:20 +02:00
Federico Terzi
947edb0cbf fix(detect): fix warnings 2021-10-06 19:17:59 +02:00
Federico Terzi
bab9c1dc92 fix(detect): fix warnings on Wayland 2021-10-06 19:06:43 +02:00
Federico Terzi
d11af8b1c2 style(detect): fix formatting 2021-10-06 18:37:32 +02:00
Federico Terzi
2ecf86d9fa fix(detect): fix warnings 2021-10-05 22:06:06 +02:00
Federico Terzi
eb7474763b fix(detect): fix bug that caused espanso to consume 100% on some occasions. Fix #737 Fix #125 2021-08-24 19:20:08 +02:00
Federico Terzi
53eef3ce7b fix(detect): exclude software-generated events by default on Windows to avoid reading back espanso's events 2021-08-22 21:45:49 +02:00
Federico Terzi
97130e972c feat(detect): filter out espanso-generated events on macOS 2021-08-14 16:07:14 +02:00
Federico Terzi
0f6c32350e fix(detect): fix possible memory leak 2021-08-10 21:10:56 +02:00
Federico Terzi
20d9324f38 fix(detect): fix possible memory leak 2021-08-10 20:29:14 +02:00
Federico Terzi
bb4e88c445 fix(detect): fix possible undefined behavior 2021-08-09 22:24:13 +02:00
Federico Terzi
1aea1261f0 feat(detect): add active layout detection on Gnome (wayland) 2021-08-09 21:57:01 +02:00
Federico Terzi
e9d4dde750 feat(detect): add active keyboard layout detection on X11 2021-08-07 10:22:41 +02:00
Federico Terzi
93a7caa101 fix(detect): fix incorrect modifier sync on Wayland 2021-07-30 19:49:03 +02:00
Federico Terzi
bee79eb4a4 fix(detect): fix wrong default feature and improve context information 2021-07-30 19:37:18 +02:00
Federico Terzi
33b9012802 feat(detect): implement modifier state synchronization on Wayland 2021-07-30 19:31:33 +02:00
Federico Terzi
d9f275895b fix(detect): fix wrong handling of repeated key presses on Wayland 2021-07-10 11:19:24 +02:00
Federico Terzi
aa6853293a fix(detect): fix compilation warnings 2021-03-28 18:36:56 +02:00
Federico Terzi
4038dd0cf3 feat(clipboard): implement wayland clipboard manager 2021-03-16 19:56:55 +01:00
Federico Terzi
353f3f10de fix: broken tests on Windows and macOS 2021-03-15 21:05:21 +01:00
Federico Terzi
2647f099ad style: formatting 2021-03-15 19:08:08 +01:00
Federico Terzi
307599b761 Finish implementation of hotkey detection on Wayland 2021-03-15 19:05:49 +01:00
Federico Terzi
b18cf1c153 First half of hotkeys detection on Wayland 2021-03-15 12:26:22 +01:00
Federico Terzi
fbeca8b6e9 Implement hotkeys handling on X11 2021-03-14 21:53:17 +01:00
Federico Terzi
474eae69d5 Add hotkey detection implementation to Windows 2021-03-14 18:24:37 +01:00
Federico Terzi
89805a0248 First draft of hotkey support on macOS 2021-03-14 15:50:54 +01:00
Federico Terzi
e8881d0faf Add license header and formatting 2021-03-09 16:06:50 +01:00
Federico Terzi
79a1b85769 Refactor linux methods 2021-02-18 19:51:45 +01:00
Federico Terzi
75ca7ec071 Refactor macOS implementation 2021-02-17 20:40:27 +01:00
Federico Terzi
a57092517e Add windows IPC implementation and general refactor 2021-02-17 19:09:28 +01:00
Federico Terzi
cfadebc733 Improve wayland settings 2021-02-15 15:34:24 +01:00
Federico Terzi
3737eed034 Introduce wayland feature 2021-02-14 22:01:42 +01:00
Federico Terzi
a9d24d400d First draft of evdev inject backend 2021-02-14 21:02:50 +01:00
Federico Terzi
e3e1ad720f Format code 2021-02-10 21:33:14 +01:00
Federico Terzi
afb64df17c Initial macOS detect implementation 2021-02-09 17:12:16 +01:00
Federico Terzi
18515319a8 Format code 2021-02-08 21:23:28 +01:00
Federico Terzi
7d357149ff First draft of macOS ui layer 2021-02-08 21:13:33 +01:00
Federico Terzi
bee2001e28 Improve detect error handling 2021-02-08 17:16:35 +01:00