About SharpHook
SharpHook. Version 2.0.0. Created by Tolik Pylypchuk.
Library Status
No other features are planned, but I will maintain the library to keep up with the releases of libuiohook which uses a
rolling release model - every commit to its 1.2
branch is considered stable. That said, libuiohook itself is not
really active anymore, but is still maintained, so this library will most probably receive updates quite rarely.
Changelog
v2.0.0 (04 February 2022)
Global hooks now support both blocking and non-blocking running via the
Run
andRunAsync
methods, and theStart
method was removed.Support for suppressing event propagation.
UioHookEvent.Time
now has the correct type -ulong
instead ofushort
.Global hooks now throw an exception if they are started when already running.
v1.1.0 (04 December 2021)
Cross-platform input event simulation using libuiohook.
Support for Windows on Arm64.
MouseWheelEventData.Rotation
now has the correct type -short
instead ofushort
. This is a tiny breaking change, but had to be fixed.libuiohook was updated to commit 5cf864d.
v1.0.1 (21 November 2021)
libuiohook was updated to commit 28ccf9c.
v1.0.0 (08 November 2021)
This release is basically the same as v1.0.0 Preview 4, but built with a GA release of .NET 6.
v1.0.0 Preview 4 (06 November 2021)
When
Dispose
on global hooks is called, they now reset the static hook callback function.HookDisabled
is now emitted correctly for reactive global hooks.The assemblies are now trimmable.
v1.0.0 Preview 3 (01 November 2021)
IsRunning
was added toSharpHook.IGlobalHook
andSharpHook.Reactive.IReactiveGlobalHook
.Dispose
is now safe to call when the hook is not running for all implementations.libuiohook was updated to commit 4867b8e.
v1.0.0 Preview 2 (26 October 2021)
SharpHook.Native.ModifierMask.None
was added.Package descriptions were fixed.
v1.0.0 Preview 1 (26 October 2021)
The basic functionality is implemented: native functions, default global hooks, and reactive global hooks.
libuiohook is at commit e2c581f.