117 Commits

Author SHA1 Message Date
renovate[bot]
1a94c7801f chore(deps): update rust crate tao to 0.26 (#60)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-21 19:44:10 +02:00
renovate[bot]
a4e761bfa3 chore(deps): update rust crate eframe to 0.26 (#57)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-05 21:57:12 +02:00
renovate[bot]
6e05854182 chore(deps): update rust crate tao to 0.25 (#56)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-04 00:28:21 +02:00
github-actions[bot]
1c5717b01b Apply Version Updates From Current Changes (#54)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
global-hotkey-v0.4 global-hotkey-v0.4.2
2024-01-18 03:16:51 +02:00
amrbashir
b538534f91 fix: use a new name for internal window class
closes #53
2024-01-18 03:16:08 +02:00
renovate[bot]
6f599069e6 chore(deps): update rust crate eframe to 0.25 (#52)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-08 15:01:04 +02:00
github-actions[bot]
712dc1106b Apply Version Updates From Current Changes (#46)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
global-hotkey-v0.4.1
2023-11-24 03:01:23 +02:00
Amr Bashir
1f9be3e063 fix(linux): fire release event even if the modifiers have been released (#47)
closes #39
2023-11-24 03:00:45 +02:00
Amr Bashir
860a44926e perf: improve un/register_all performance on Linux (#45)
* perf: improve `un/register_all` performance on Linux

closes #33

pr: 464.645µs
dev branch: 1.259750603s

by passing the hotkeys in one go and registering all of them at once, we get 2711x faster

* change file
2023-11-24 02:20:33 +02:00
Amr Bashir
a8345a90d2 feat: support Code::Backquote on Linux (#44)
closes #41
2023-11-24 01:39:12 +02:00
renovate[bot]
6fb2bb4588 chore(deps): update rust crate eframe to 0.24 (#43)
* chore(deps): update rust crate eframe to 0.24

* fix example

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: amrbashir <amr.bashir2015@gmail.com>
2023-11-23 20:08:35 +02:00
renovate[bot]
2ae5b3e220 chore(deps): update rust crate tao to 0.24 (#42)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-20 19:05:26 +02:00
renovate[bot]
3291963473 fix(deps): update rust crate windows-sys to 0.52 (#40)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-16 17:12:13 +02:00
renovate[bot]
afe527a9dc chore(deps): update rust crate winit to 0.29 (#38)
* chore(deps): update rust crate winit to 0.29

* fix example

* again

* again

* update actions

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-10-24 04:38:07 +03:00
github-actions[bot]
b51b93702d Apply Version Updates From Current Changes (#37)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
global-hotkey-v0.4.0
2023-10-19 18:56:19 +03:00
Amr Bashir
f0dd73b1cd chore: change bump to minor 2023-10-19 18:55:46 +03:00
Amr Bashir
53961a1ade feat(windows): add pressed and released states (#35)
continuation of: https://github.com/tauri-apps/global-hotkey/pull/34

ref: https://github.com/tauri-apps/global-hotkey/issues/9
2023-10-19 18:43:48 +03:00
renovate[bot]
0e235a6df4 chore(deps): update rust crate tao to 0.23 (#36)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-19 01:45:27 +03:00
Chris
0e35ee3f5b feat(macOS&linux): ad pressed and released states (#34)
* feat: add Pressed and Released enum to GlobalHotKeyEvent

* feet: handle macos hotkey release

* fix: examples consider hotkey state

* docs: add comment for pub struct and enum

* Apply suggestions from code review

---------

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-10-18 17:40:50 +03:00
renovate[bot]
ac630648ee chore(deps): update rust crate eframe to 0.23 (#32)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-12 17:15:38 +03:00
amrbashir
37f763f3eb chore: fix egui example, loop in the thread 2023-09-04 15:30:07 +03:00
amrbashir
47bbbb15e4 chore: update egui example to use thread
closes #31
2023-09-04 15:23:37 +03:00
github-actions[bot]
49d9b0e8fe Apply Version Updates From Current Changes (#30)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
global-hotkey-v0.3 global-hotkey-v0.3.0
2023-09-01 15:17:48 +03:00
Amr Bashir
fa47029435 chore: add change file 2023-09-01 15:16:45 +03:00
renovate[bot]
c30318cf50 fix(deps): update rust crate keyboard-types to 0.7 (#29)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-01 15:14:32 +03:00
github-actions[bot]
9206018192 Apply Version Updates From Current Changes (#27)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
global-hotkey-v0.2 global-hotkey-v0.2.4
2023-08-14 02:20:54 +03:00
Amr Bashir
5d8369d4f0 chore: update tao version 2023-08-14 02:12:34 +03:00
Amr Bashir
b0975f9983 feat: export CMD_OR_CTRL const 2023-07-18 05:10:48 +03:00
Amr Bashir
b96060952d feat: impl TryFrom for HotKey 2023-07-18 04:30:39 +03:00
Amr Bashir
dc9e619736 feat: add GlobalHotKeyEvent::id 2023-07-18 03:55:13 +03:00
github-actions[bot]
3cba4bc818 Apply Version Updates From Current Changes (#26)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
global-hotkey-v0.2.3
2023-07-08 16:54:00 +03:00
Alexey Parfenov
589ecd9afd fix: fix unregister_all calling register internally instead of unregister (#25)
* fix: typo in unregister_all

* change file

---------
2023-07-08 16:53:01 +03:00
Amr Bashir
62c439005b chore: update .changes/readme.md 2023-07-08 16:42:07 +03:00
github-actions[bot]
0b91f4beb9 Apply Version Updates From Current Changes (#24)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
global-hotkey-v0.2.2
2023-06-13 16:48:55 +03:00
Amr Bashir
bbd3ffbea2 fix: hash-based id for hotkey (#23) 2023-06-13 16:41:02 +03:00
renovate[bot]
8f642b1c0d chore(deps): update rust crate eframe to 0.22 (#22)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-23 21:57:48 +03:00
github-actions[bot]
62544d9b61 Apply Version Updates From Current Changes (#21)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
global-hotkey-v0.2.1
2023-05-12 09:18:48 -03:00
Lucas Fernandes Nogueira
b503530eb4 feat(manager): make it Send + Sync on macOS (#20) 2023-05-12 09:16:50 -03:00
github-actions[bot]
bc9bd2df2a Apply Version Updates From Current Changes (#18)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
global-hotkey-v0.2.0
2023-04-19 03:14:10 +02:00
Amr Bashir
25cbda58c5 feat: add more variants and case-insensitive hotkey parsing (#19) 2023-04-19 03:12:11 +02:00
amrbashir
a88b8b26b2 chore: send back an error for unregister on x11 2023-04-18 02:29:13 +02:00
renovate[bot]
cd43704568 fix(deps): update rust crate windows-sys to 0.48 (#17)
* fix(deps): update rust crate windows-sys to 0.48

* fix compilation

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: amrbashir <amr.bashir2015@gmail.com>
2023-04-17 13:29:35 +02:00
amrbashir
1f25ac5861 chore: added egui example 2023-03-07 00:19:03 +02:00
github-actions[bot]
268db4d3f3 Apply Version Updates From Current Changes (#14)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
global-hotkey-v0.1 global-hotkey-v0.1.2
2023-02-13 01:55:22 +02:00
amrbashir
65d1f6dffd fix(window): correctly check error result 2023-02-13 01:28:27 +02:00
amrbashir
4c08d82fa4 fix: emit error on non x11 window systems 2023-02-13 01:11:58 +02:00
github-actions[bot]
721fe6c3d7 Apply Version Updates From Current Changes (#13)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
global-hotkey-v0.1.1
2023-02-08 21:24:25 +02:00
amrbashir
6409e5dd35 docs: update docs 2023-02-08 21:11:29 +02:00
renovate[bot]
56f4e03c27 chore(deps): update rust crate winit to 0.28 (#12)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-02 15:23:56 +02:00
renovate[bot]
41bab854bb fix(deps): update rust crate windows-sys to 0.45 (#11)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-21 04:37:19 +02:00