mouse_event 0.2.1
mouse_event: ^0.2.1 copied to clipboard
Mouse event plugin for Flutter Desktop(Windows)
Mouse Event #
Flutter Plugin for Windows to catch mouse events, even if you are using other programs;
This Plugin use Windows 's SetWindowsHookEx
API. click the links for details.
WH_MOUSE_LL :
Installs a hook procedure that monitors low-level mouse input events. For more information, see the LowLevelMouseProc hook procedure.
Getting Started #
See example demo
// start listening
MouseEventPlugin.startListening((mouseEvent) {
});
// stop listening
MouseEventPlugin.cancelListening();
Link #
If you want to catch keyboard event, check this repository out
Keyboard Event
Dart Publish Command #
# windows
set https_proxy=127.0.0.1:7890