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
This release adds the ability to simulate a sequence of events together. It also fixes simulating mouse wheel events on Windows when the scrolling direction is reversed in settings, obsoletes two key codes, and adds .NET 10 as a target. libuiohook was updated to commit 57a8f17.
This release contains multiple breaking changes, features, and bug fixes. View the migration guide for upgrade guidelines.
Breaking Changes
SimpleReactiveGlobalHook was renamed to ReactiveGlobalHook.
The Run, RunAsync, and Stop methods as well as the IsRunning and IsDisposed properties were moved from IGlobalHook and IReactiveGlobalHook into IBasicGlobalHook which both IGlobalHook and IReactiveGlobalHook now extend.
Because of the above change, RunAsync for reactive global hooks now returns a Task instead of an IObservable<Unit>.
ReactiveLogSourceAdapter now contains a single constructor with a default parameter instead of two constructors.
New Features
SharpHook.R3 – a new package for integration with R3 was added.
EventLoopGlobalHook – a new implementation of IGlobalHook – was added.
IBasicGlobalHook and BasicGlobalHookBase were added for easier creation of custom global hooks with different event forms.
ReactiveLogSourceAdapter now implements ILogSource in addition to IReactiveLogSource.
Bug Fixes
On Windows, global hooks now correctly report the key that was pressed or released on non-QWERTY layouts.
This release adds the ability to disable events of type KeyTyped and fixes simulating keyboard events on macOS. libuiohook was updated to commit 4217638.
This release fixes simulating letter keys on Windows - the same keys are now simulated regardless of the current keyboard layout (e.g., QWERTY or AZERTY). libuiohook was updated to commit a8d1578.
This release adds the ability to control the behaviour of TestGlobalHook and TestProvider (simple dispatching from version 5 vs an event loop from version 6). The simple behaviour from version 5 is the default as it is much easier to use.