SharpHook provides a cross-platform global keyboard and mouse hook, event simulation, and text entry simulation for .NET
MIT License
Published by TolikPylypchuk almost 2 years ago
This release contains a couple breaking changes and new features. Refer to the migration guide for specifics.
HookEventArgs
now contains the SuppressEvent
property instead of Reserved
.KeyboardEventData.KeyChar
is now of type ushort
instead of char
.RunAsync
create a background thread was added.KeyCode.VcPrintscreen
was renamed to KeyCode.VcPrintScreen
.Published by TolikPylypchuk almost 2 years ago
This release fixes copying libuiohook to the build output folder for .NET Framework-based projects.
Published by TolikPylypchuk about 2 years ago
With this release simulated keyboard events now add scan code info on Windows.
Published by TolikPylypchuk about 2 years ago
This release fixes the trackpad scrolling issue on Windows - previously the rotation value was always 0 which meant that the direction of the scroll couldn't be determined.
Published by TolikPylypchuk about 2 years ago
With this release SharpHook now doesn't require Visual C++ Redistributable on Windows (except when the logging functionality is used). Also, an empty log source was added.
Published by TolikPylypchuk over 2 years ago
This release fixes Windows x86 support.
Published by TolikPylypchuk over 2 years ago
This release contains several breaking changes and new features. Refer to the migration guide for specifics.
UioHookEvent.Time
now contains the event's UNIX timestamp.IGlobalHook
and IReactiveGlobalHook
now contain the IsDisposed
property.HookEvent<TArgs>
class was removed from SharpHook.Reactive.UioHook
class.Published by TolikPylypchuk over 2 years ago
This release contains several breaking changes and new features. Refer to the migration guide for specifics.
Run
and RunAsync
methods, and the Start
method was removed.UioHookEvent.Time
now has the correct type - ulong
instead of ushort
.Published by TolikPylypchuk almost 3 years ago
This release contains multiple new features:
Cross-platform input event simulation using libuiohook.
Support for Windows on Arm64.
MouseWheelEventData.Rotation
now has the correct type - short
instead of ushort
. This is a tiny breaking change, but had to be fixed.
libuiohook was updated to commit 5cf864d.
Published by TolikPylypchuk almost 3 years ago
The first stable release. It's basically the same as v1.0.0 Preview 4, but built with a GA release of .NET 6.
Published by TolikPylypchuk almost 3 years ago
This release fixes a bug in reactive global hooks - now the HookDisabled
event is emitted correctly. Also, when global hooks are disposed, they now unset the hook callback function.
Published by TolikPylypchuk almost 3 years ago
This release makes the Dispose()
method of global hooks safe to call when the hook is not running, and adds the ability to check whether a hook is running. Also, libuiohook was updated to the latest commit.
Published by TolikPylypchuk almost 3 years ago
A very minor release. The only changes are adding SharpHook.Native.ModifierMask.None
and cleaning up package descriptions.
Published by TolikPylypchuk almost 3 years ago
This is the first usable release of SharpHook. All planned features have been implemented.
Currently in preview since it's built with an RC version of .NET 6. Also, some CI stuff might need fixing.