Global events/hooks
#1415
-
I'm making an app that requires global keyboard events (not only when the window is focused) is there a way to do that in iced? or maybe use an external crate and integrate with it? |
Beta Was this translation helpful? Give feedback.
Answered by
13r0ck
Aug 31, 2022
Replies: 1 comment 1 reply
-
Use another crate that asks the OS for keyboard inputs, then create a subscription to convert those inputs to iced messages |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
BKSalman
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use another crate that asks the OS for keyboard inputs, then create a subscription to convert those inputs to iced messages
See the websockey example for a how to, your subscription will probably be much simpler