Mouse Event

ScreenRecording

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();

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

Libraries

mouse_event