Datalogic .NET SDK
KbdState (Enumeration)
Syntax
[Flags]
public enum KbdState: uint
{
BlueDown = 0x00000001,
BlueOn = 0x00000002,
ShiftDown = 0x00000004,
ShiftOn = 0x00000008,
CtrlDown = 0x00000010,
CtrlOn = 0x00000020,
AltDown = 0x00000040,
AltOn = 0x00000080,
YellowDown = 0x00000400,
YellowOn = 0x00000800,
CapsDown = 0x00001000,
CapsOn = 0x00002000,
StateError = 0xFFFFFFFF,
}
Description
Keyboard State Mask Definitions. This enum is meant to provide constants which may be used directly to interpret or create the bit fields of a variable representing a Keyboard State.
Name |
Value |
Description |
BlueDown |
0x00000001 |
Blue key is down. |
BlueOn |
0x00000002 |
Blue is on. |
ShiftDown |
0x00000004 |
Shift key is down. |
ShiftOn |
0x00000008 |
Shift is on. |
CtrlDown |
0x00000010 |
Ctrl key is down. |
CtrlOn |
0x00000020 |
Ctrl is on. |
AltDown |
0x00000040 |
Alt key is down. |
AltOn |
0x00000080 |
Alt is on. |
YellowDown |
0x00000400 |
Yellow key is dow. |
YellowOn |
0x00000800 |
Yellow is on. |
CapsDown |
0x00001000 |
Caps key is down. |
CapsOn |
0x00002000 |
Caps is on. |
StateError |
0xFFFFFFFF |
Error retrieving state. |
Copyright © Datalogic ADC. All Right Reserved