Table of Contents

Class Keyboard

Namespace
Bonsai.Shaders.Input
Assembly
Bonsai.Shaders.dll

Represents an operator that generates a sequence with the current state of the specified keyboard device.

public class Keyboard : Source<KeyboardState>
Inheritance
Keyboard
Inherited Members

Properties

Index

Gets or sets the index of the keyboard device. If it is not specified, the combined state of all devices is retrieved.

Methods

Generate()

Generates an observable sequence where each element represents the current state of the specified keyboard device.

Generate<TSource>(IObservable<TSource>)

Generates an observable sequence where each element represents the current state of the specified keyboard device, at the time the source sequence emits a notification.