Table of Contents

Interface IR3GlobalHook

Namespace
SharpHook.R3
Assembly
SharpHook.R3.dll

Represents a reactive R3 global keyboard and mouse hook.

public interface IR3GlobalHook : IBasicGlobalHook, IDisposable
Inherited Members

Remarks

All observables of objects of this interface are completed when the object is disposed.

It is highly recommended to extend the BasicGlobalHookBase class if you want to implement this inteface as it correctly implements the invariants required for advanced scenarios.

Properties

HookDisabled

Gets an observable which emits a value when the global hook is disabled.

Observable<HookEventArgs> HookDisabled { get; }

Property Value

Observable<HookEventArgs>

An observable which emits a value when the global hook is disabled.

Remarks

The observable emits a value when the Stop() or Dispose() method is called.

HookEnabled

Gets an observable which emits a value when the global hook is enabled.

Observable<HookEventArgs> HookEnabled { get; }

Property Value

Observable<HookEventArgs>

An observable which emits a value when the global hook is enabled.

Remarks

The observable emits a value when the Run() or RunAsync() method is called.

KeyPressed

Gets an observable which emits a value when a key is pressed.

Observable<KeyboardHookEventArgs> KeyPressed { get; }

Property Value

Observable<KeyboardHookEventArgs>

An observable which emits a value when a key is pressed.

KeyReleased

Gets an observable which emits a value when a key is released.

Observable<KeyboardHookEventArgs> KeyReleased { get; }

Property Value

Observable<KeyboardHookEventArgs>

An observable which emits a value when a key is released.

KeyTyped

Gets an observable which emits a value when a key is typed.

Observable<KeyboardHookEventArgs> KeyTyped { get; }

Property Value

Observable<KeyboardHookEventArgs>

An observable which emits a value when a key is typed.

MouseClicked

Gets an observable which emits a value when a mouse button is clicked.

Observable<MouseHookEventArgs> MouseClicked { get; }

Property Value

Observable<MouseHookEventArgs>

An observable which emits a value when a mouse button is clicked.

MouseDragged

Gets an observable which emits a value when the mouse cursor is dragged.

Observable<MouseHookEventArgs> MouseDragged { get; }

Property Value

Observable<MouseHookEventArgs>

An observable which emits a value when the mouse cursor is dragged.

MouseMoved

Gets an observable which emits a value when the mouse cursor is moved.

Observable<MouseHookEventArgs> MouseMoved { get; }

Property Value

Observable<MouseHookEventArgs>

An observable which emits a value when the mouse cursor is moved.

MousePressed

Gets an observable which emits a value when a mouse button is pressed.

Observable<MouseHookEventArgs> MousePressed { get; }

Property Value

Observable<MouseHookEventArgs>

An observable which emits a value when a mouse button is pressed.

MouseReleased

Gets an observable which emits a value when a mouse button is released.

Observable<MouseHookEventArgs> MouseReleased { get; }

Property Value

Observable<MouseHookEventArgs>

An observable which emits a value when a mouse button is released.

MouseWheel

Gets an observable which emits a value when the mouse wheel is scrolled.

Observable<MouseWheelHookEventArgs> MouseWheel { get; }

Property Value

Observable<MouseWheelHookEventArgs>

An observable which emits a value when the mouse wheel is scrolled.

See Also