Gorgon
Show / Hide Table of Contents

Interface IGorgonKeyboardInfo

Provides capability information about a keyboard device.

Inherited Members
IGorgonRawInputDeviceInfo.Handle
IGorgonRawInputDeviceInfo.Description
IGorgonRawInputDeviceInfo.HIDPath
IGorgonRawInputDeviceInfo.DeviceClass
Namespace: Gorgon.Input
Assembly: Gorgon.Input.dll
Syntax
public interface IGorgonKeyboardInfo : IGorgonRawInputDeviceInfo

Properties

| Edit this page View Source

FunctionKeyCount

Property to return the number of function keys on the keyboard.

Declaration
int FunctionKeyCount { get; }
Property Value
Type Description
int
| Edit this page View Source

IndicatorCount

Property to return the number of LED indicators on the keyboard.

Declaration
int IndicatorCount { get; }
Property Value
Type Description
int
| Edit this page View Source

KeyCount

Property to return the total number of keys present on the keyboard.

Declaration
int KeyCount { get; }
Property Value
Type Description
int
Remarks

This value may or may not be accurate depending on the implementation. That is, for some systems, this will be an estimate, and for others this will be accurate.

| Edit this page View Source

KeyboardType

Property to return the type of keyboard.

Declaration
KeyboardType KeyboardType { get; }
Property Value
Type Description
KeyboardType

Extension Methods

GorgonDebugExtensions.ValidateObject<T>(T, string)
GorgonNullExtensions.AsNullable<T>(object)
GorgonNullExtensions.IfNull<T>(object, T)
GorgonNullExtensions.IsNull(object)
  • Edit this page
  • View Source
In this article
Back to top Copyright 2023 - Licensed under the MIT license by Michael Winsor (Tape_Worm).
Send comments on this topic to the author