Added documentation for IsConnected and added (disabled) IsLedOn/IsLedOff methods.
This commit is contained in:
parent
14d96ccfc9
commit
96cef32bfc
1 changed files with 17 additions and 0 deletions
|
@ -85,12 +85,29 @@ namespace OpenTK.Input
|
|||
return !ReadBit((int)key);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="System.Boolean"/> indicating whether this keyboard
|
||||
/// is connected.
|
||||
/// </summary>
|
||||
public bool IsConnected
|
||||
{
|
||||
get { return is_connected; }
|
||||
internal set { is_connected = value; }
|
||||
}
|
||||
|
||||
#if false
|
||||
// Disabled until the correct cross-platform API can be determined.
|
||||
public bool IsLedOn(KeyboardLeds led)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool IsLedOff(KeyboardLeds led)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// Checks whether two <see cref="KeyboardState" /> instances are equal.
|
||||
/// </summary>
|
||||
|
|
Loading…
Reference in a new issue