117 Commits

Author SHA1 Message Date
Sergio Alejandro Ribera Costa
d70622077a chore: Update minimum supported Rust version to 1.77 (#165)
Co-authored-by: Fabian-Lars <github@fabianlars.de>
2025-11-03 11:14:39 +01:00
Alex Touchet
c01a2b648a chore: update repository URL (#164) 2025-10-03 11:50:12 +02:00
github-actions[bot]
dc7a755790 apply version updates (#153)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
global-hotkey-v0 global-hotkey-v0.7 global-hotkey-v0.7.0
2025-05-07 03:37:50 +03:00
amrbashir
3b9a3f5734 chore: use variable insider format directly 2025-05-07 03:07:02 +03:00
amrbashir
a92240d8a1 refactor(x11): use a HotKeyState struct to track internal state 2025-05-07 02:32:14 +03:00
amrbashir
72f81292b2 chor: clippy 2025-05-07 02:26:59 +03:00
amrbashir
bdcede7ba3 refactor: consistent error handling 2025-05-07 02:25:55 +03:00
Exidex
77dbe4ebe5 refactor: migrate from x11-dl to x11rb (#150) 2025-05-07 02:22:15 +03:00
renovate[bot]
24def6231f chore(deps): update rust crate winit to v0.30.9 (#147)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-19 01:49:01 +02:00
Exidex
1259dddb66 Update iced example to 0.13 (#145) 2025-04-19 01:43:30 +02:00
Amr Bashir
b0e542d323 ci: Update lockfile on versioning PRs 2025-04-18 01:09:41 +02:00
renovate[bot]
f088aeed3c fix(deps): update rust crate crossbeam-channel to v0.5.15 [security] (#143)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-16 15:56:59 +02:00
FabianLars
29a202ae92 chore: update lockfile global-hotkey-v0.6 global-hotkey-v0.6.4 2025-02-21 14:27:31 +01:00
github-actions[bot]
09df2434cf apply version updates (#121)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
2025-02-21 14:24:18 +01:00
Fabian-Lars
a25c485b6f chore(deps): objc2 0.6 (#120)
* chore(deps): objc2 0.6

* uwu
2025-01-29 13:41:53 +02:00
amrbashir
f3b9bd95b5 chore(examples): update winit to 0.30 2025-01-22 01:47:13 +02:00
Mads Marquart
53cf96f91f chore: prepare for objc2 frameworks v0.3 (#117)
These will have a bunch of default features enabled, so let's
pre-emptively disable them.
2025-01-22 00:26:19 +02:00
Exidex
d0d1950a02 enhance: better error messages on windows for registration errors returned by OS (#115) 2024-11-18 19:39:07 +02:00
github-actions[bot]
f6dafbc03d Apply Version Updates From Current Changes (#113)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
global-hotkey-v0.6.3
2024-10-29 23:05:26 +03:00
Amr Bashir
ddf5515712 feat: support Pause/PauseBreak key (#112)
closes #86
2024-10-29 23:01:10 +03:00
Hamir Mahal
2636872792 fix: usage of a deprecated Node.js version in CI (#110)
* chore: changes from formatting on save

* fix: usage of `a deprecated Node.js version` in CI
2024-10-13 03:03:02 +03:00
github-actions[bot]
da5e91a8dc Apply Version Updates From Current Changes (#107)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
global-hotkey-v0.6.2
2024-09-11 16:49:38 +03:00
Fabian-Lars
2c7397b27c fix(linux): Use c_ulong for ffi calls instead of u64 (#106) 2024-09-11 16:42:30 +03:00
mixy1
c9913a9766 enhance: pack mods & key into a u32 as id instead of hashing (#104)
* fix: Update id to be directly derived from mods + key

* Return id to 32 bit, using 16 bits for mod and 16 for key.

* cargo fmt + clippy
2024-09-10 02:17:14 +03:00
github-actions[bot]
7efa8a055d Apply Version Updates From Current Changes (#100)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
global-hotkey-v0.6.1
2024-09-08 04:33:32 +03:00
Mads Marquart
7d15d09e51 Migrate from objc to objc2 (#99) 2024-09-08 04:30:51 +03:00
renovate[bot]
cd18ef40b8 chore(deps): update rust crate tao to 0.30 (#97)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-02 19:00:32 +03:00
renovate[bot]
f4e4809ebc chore(deps): update rust crate tao to 0.29 (#96)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-17 04:49:22 +03:00
github-actions[bot]
404e96cc2c Apply Version Updates From Current Changes (#95)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
global-hotkey-v0.6.0
2024-08-15 16:41:17 +03:00
renovate[bot]
229bf63bb0 fix(deps): update rust crate cocoa to 0.26 (#93)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-15 15:52:23 +03:00
amrbashir
8b13a6159d chore(deps): update windows-sys crate to 0.59 2024-08-15 15:40:44 +03:00
github-actions[bot]
095fcb055a Apply Version Updates From Current Changes (#94)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
global-hotkey-v0.5 global-hotkey-v0.5.5
2024-08-13 20:35:22 +03:00
Astrid
c7500047fb fix: fix panic when multiple modifier keys and no main key (#92) 2024-08-13 20:29:41 +03:00
Amr Bashir
86e68f70ce ci: recognize contributors in releases 2024-06-06 20:07:44 +03:00
github-actions[bot]
91c275e191 Apply Version Updates From Current Changes (#89)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
global-hotkey-v0.5.4
2024-05-27 19:33:09 +03:00
amrbashir
e9d263c2d9 fix: fix parsing of MEDIATRACKPREVIOUS
closes #88
closes tauri-apps/plugins-workspace#1369
2024-05-27 19:22:55 +03:00
renovate[bot]
91373c8f66 chore(deps): update rust crate tao to 0.28 (#79)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-07 18:22:00 +03:00
github-actions[bot]
75dc206d73 Apply Version Updates From Current Changes (#76)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
global-hotkey-v0.5.3
2024-04-24 02:38:27 +02:00
Amr Bashir
a468ede66a feat: add serde (#75)
* feat: add `serde`

* into_string
2024-04-24 02:37:02 +02:00
github-actions[bot]
cd9051d725 Apply Version Updates From Current Changes (#74)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
global-hotkey-v0.5.2
2024-04-23 15:11:00 +02:00
Amr Bashir
c530be0dbf feat: support registering media play/pause/stop/next/prev keys (#71)
* feat: support registering media play/pause/stop/next/prev keys

closes #70

* feat(macos): register media keys (#72)

* feat(macos): register media keys

* chore: update documents

* organize codes

* fix: using RefCell for event_tap

* docs: remove mut from GlobalHotKeyManager::new()

* use mutex and stop watching media keys on drop

---------

Co-authored-by: Jason Tsai <jason@pews.dev>
2024-04-23 15:08:23 +02:00
Ivor Wanders
24f41b0fd9 fix: always process all events in the queue on x11. (#73)
* Always process all events in the queue on x11.

Previously, there was always a 50ms delay between processing individual
events, which could lead to a queue of events building up if the key
repeat was higher than 20 Hz. This resulted in the global hotkey release
only being detected long after the key is released.

* change file

---------

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2024-04-22 16:38:42 +02:00
nednoodlehead
9af0a800d4 chore: add iced example (#69) 2024-04-08 22:42:39 +02:00
renovate[bot]
cff5b56c7a chore(deps): update rust crate tao to 0.27 (#67)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-01 18:56:40 +02:00
renovate[bot]
b57202b6ce chore(deps): update rust crate eframe to 0.27 (#66)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-27 00:28:04 +02:00
github-actions[bot]
840d16ad09 Apply Version Updates From Current Changes (#65)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
global-hotkey-v0.5.1
2024-03-07 18:45:34 +02:00
Amr Bashir
89199d930d feat: no-op implementations (#64)
closes #63
2024-03-07 18:38:52 +02:00
github-actions[bot]
89f9679570 Apply Version Updates From Current Changes (#62)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
global-hotkey-v0.5.0
2024-03-06 21:10:19 +02:00
Amr Bashir
7d99bd78a3 fix: avoid panic when parsing invalid hotkey string (#61) 2024-03-06 21:09:54 +02:00
Amr Bashir
fb20307dff ci: use fetch-depth 0 for covector 2024-02-22 02:13:18 +02:00