csharp
public sealed class KeyboardDeviceThe keyboard, as a set of physical key positions that are down or not.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
No layout, no characters, no modifier flags: a modifier is a key like any other and <Keyboard>/leftShift is how a binding names it. Typed text is ITextInput's job and never arrives here.
Fields and properties (4)
public InputDeviceKind KindWhich family it belongs to.
public int DeviceIdThe id its events arrive under, or 0 for the singleton devices.
public string NameIts name, for a settings screen.
public bool IsConnectedWhether it is still there.
Methods (2)
public bool IsDown(InputKey key)Whether a key is held.
public float ReadValue(InputControl control)Reads one of its controls.
Used by (2)
- InputDeviceSetVixen.Input
- PlatformInputTestsVixen.App.Tests