You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no plans on directly supporting this in tao at the moment since we plan to switch back to use winit which has plans to add access to the event loop rust-windowing/winit#2120
Alternatively, you could spawn a hidden window that you can manage its own event loop to fit your needs.
I want to implement listening for USB device plug and unplug events, in tao,
Like this, there are other event handling that tao does not implement, Is there a way to achieve any specific event handle the user wants?
Here is the hardcoded implementation of the code for usb plug and unplug events:
line 1031 in src\platform_impl\windows\event_loop.rs
Here is the code implemented by the user himself, using the windows api to register event notifications:
here is the effect:
The text was updated successfully, but these errors were encountered: