keyboard_invoker 2.0.0
keyboard_invoker: ^2.0.0 copied to clipboard
This plugin allows you to invoke keystrokes on the host machine from a Flutter application. It also has a built-in Recorder that allows you to record and replay keystrokes.
Changelog #
2.0.0 #
Due to too many breaking changes, i decided to raise the package version to 2.0.0
Changes #
- Changed
invokeMacroListfunction name toinvokeKeys invokeKeyswill now take a list ofKeyRecordinginstead of a List of logicalKeyboardKeys, sologicalKeyboardKeysToMacrois no longer needed, and got removed.- All recorder-related functions have been moved into a dedicated
KeyboardRecorderclass, which is now accessible as therecorderproperty of theKeyboardInvokerclass. - Added
KeyMapenum to represent the key mapping, instead of using the flutter logical key ids. TheKeyMapenum can return theBaseKeyand theKeyRecordingfor each key inside the enum. - Added
BaseKeyMapclass to map the logical keys to theBaseKeyclasses. - Added
KeyRecordingsMapclass to convert a list ofLogicalKeyboardKeyto a list ofKeyRecording. - Added
KeyRecordingclass to represent a key recording, which includes the logical key id, description, and delay. - Added
KeyEventTypeenum to represent the type of key event (keyDown, keyUp, keyInvoke). - Updated the example app.
1.0.0 #
- Initial release.