Class KeyboardHook
A glocal keyboard hook, using System.Reactive
Inheritance
System.Object
KeyboardHook
Namespace: Dapplo.Windows.Input
Assembly: Dapplo.Windows.Input.dll
Syntax
public sealed class KeyboardHook : object
Properties
| Improve this Doc View SourceKeyboardEvents
The actual keyboard hook observable
Declaration
public static IObservable<KeyboardHookEventArgs> KeyboardEvents { get; }
Property Value
Type | Description |
---|---|
IObservable<KeyboardHookEventArgs> |
Methods
| Improve this Doc View SourceIsPressed(Keys)
Test if the supplied key is pressed
Declaration
public static bool IsPressed(Keys key)
Parameters
Type | Name | Description |
---|---|---|
Keys | key | Keys |
Returns
Type | Description |
---|---|
System.Boolean | true if pressed |