Datalogic .NET SDK
DLKeys (Enumeration)
Syntax
public enum DLKeys: int
{
#region Standard .NET Keys
// The following keys are selectively, manually inherited from the
// standard .NET Keys enum type.
None = System.Windows.Forms.Keys.None,
// no LButton
// no RButton
Cancel = System.Windows.Forms.Keys.Cancel,
// no MButton
// no XButton1
// no XButton2
Backspace = System.Windows.Forms.Keys.Back,
Tab = System.Windows.Forms.Keys.Tab,
// no LineFeed
Clear = System.Windows.Forms.Keys.Clear,
Return = System.Windows.Forms.Keys.Return,
Enter = System.Windows.Forms.Keys.Enter,
ShiftKey = System.Windows.Forms.Keys.ShiftKey,
ControlKey = System.Windows.Forms.Keys.ControlKey,
Menu = System.Windows.Forms.Keys.Menu,
AltKey = System.Windows.Forms.Keys.Menu, // same value as Menu
Pause = System.Windows.Forms.Keys.Pause,
Capital = System.Windows.Forms.Keys.Capital,
CapsLock = System.Windows.Forms.Keys.CapsLock, // same value as Capital
// no KanaMode
// no HanguelMode
// no HangulMode
// no JunjaMode
// no FinalMode
// no HanjaMode
// no KanjiMode
Escape = System.Windows.Forms.Keys.Escape,
// no IMEConvert
// no IMENonconvert
// no IMEAccept
// no IMEAceept
// no IMEModeChange
Space = System.Windows.Forms.Keys.Space,
Prior = System.Windows.Forms.Keys.Prior,
PageUp = System.Windows.Forms.Keys.PageUp, // same value as Prior
Next = System.Windows.Forms.Keys.Next,
PageDown = System.Windows.Forms.Keys.PageDown, // same value as Next
End = System.Windows.Forms.Keys.End,
Home = System.Windows.Forms.Keys.Home,
Left = System.Windows.Forms.Keys.Left,
Up = System.Windows.Forms.Keys.Up,
Right = System.Windows.Forms.Keys.Right,
Down = System.Windows.Forms.Keys.Down,
FieldExit = System.Windows.Forms.Keys.Select, // hijacked on purpose
// no Print
// no Execute
Snapshot = System.Windows.Forms.Keys.Snapshot,
PrintScreen = System.Windows.Forms.Keys.PrintScreen, // same value as Snapshot
Insert = System.Windows.Forms.Keys.Insert,
Delete = System.Windows.Forms.Keys.Delete,
Help = System.Windows.Forms.Keys.Help,
D0 = System.Windows.Forms.Keys.D0, // 'D' chars are used since enum values can't start with digit chars
D1 = System.Windows.Forms.Keys.D1,
D2 = System.Windows.Forms.Keys.D2,
D3 = System.Windows.Forms.Keys.D3,
D4 = System.Windows.Forms.Keys.D4,
D5 = System.Windows.Forms.Keys.D5,
D6 = System.Windows.Forms.Keys.D6,
D7 = System.Windows.Forms.Keys.D7,
D8 = System.Windows.Forms.Keys.D8,
D9 = System.Windows.Forms.Keys.D9,
A = System.Windows.Forms.Keys.A,
B = System.Windows.Forms.Keys.B,
C = System.Windows.Forms.Keys.C,
D = System.Windows.Forms.Keys.D,
E = System.Windows.Forms.Keys.E,
F = System.Windows.Forms.Keys.F,
G = System.Windows.Forms.Keys.G,
H = System.Windows.Forms.Keys.H,
I = System.Windows.Forms.Keys.I,
J = System.Windows.Forms.Keys.J,
K = System.Windows.Forms.Keys.K,
L = System.Windows.Forms.Keys.L,
M = System.Windows.Forms.Keys.M,
N = System.Windows.Forms.Keys.N,
O = System.Windows.Forms.Keys.O,
P = System.Windows.Forms.Keys.P,
Q = System.Windows.Forms.Keys.Q,
R = System.Windows.Forms.Keys.R,
S = System.Windows.Forms.Keys.S,
T = System.Windows.Forms.Keys.T,
U = System.Windows.Forms.Keys.U,
V = System.Windows.Forms.Keys.V,
W = System.Windows.Forms.Keys.W,
X = System.Windows.Forms.Keys.X,
Y = System.Windows.Forms.Keys.Y,
Z = System.Windows.Forms.Keys.Z,
Win = System.Windows.Forms.Keys.LWin, // Our devices generate LWin instead of RWin
// no RWin
// no Apps
// no Sleep
// no NumPad0
// no NumPad1
// no NumPad2
// no NumPad3
// no NumPad4
// no NumPad5
// no NumPad6
// no NumPad7
// no NumPad8
// no NumPad9
// no Multiply
// no Add
// no Separator
// no Subtract
// no Decimal
// no Divide
F1 = System.Windows.Forms.Keys.F1,
F2 = System.Windows.Forms.Keys.F2,
F3 = System.Windows.Forms.Keys.F3,
F4 = System.Windows.Forms.Keys.F4,
F5 = System.Windows.Forms.Keys.F5,
F6 = System.Windows.Forms.Keys.F6,
F7 = System.Windows.Forms.Keys.F7,
F8 = System.Windows.Forms.Keys.F8,
F9 = System.Windows.Forms.Keys.F9,
F10 = System.Windows.Forms.Keys.F10,
F11 = System.Windows.Forms.Keys.F11,
F12 = System.Windows.Forms.Keys.F12,
F13 = System.Windows.Forms.Keys.F13,
F14 = System.Windows.Forms.Keys.F14,
F15 = System.Windows.Forms.Keys.F15,
F16 = System.Windows.Forms.Keys.F16,
F17 = System.Windows.Forms.Keys.F17,
F18 = System.Windows.Forms.Keys.F18,
F19 = System.Windows.Forms.Keys.F19,
F20 = System.Windows.Forms.Keys.F20,
F21 = System.Windows.Forms.Keys.F21,
F22 = System.Windows.Forms.Keys.F22,
F23 = System.Windows.Forms.Keys.F23,
F24 = System.Windows.Forms.Keys.F24,
// no NumLock
// no Scroll
// no LShiftKey
// no RShiftKey
// no LControlKey
// no RControlKey
// no LMenu
// no RMenu
// no BrowserBack
// no BrowserForward
// no BrowserRefresh
// no BrowserStop
// no BrowserSearch
// no BrowserFavorites
// no BrowserHome
// no VolumeMute
// no VolumeDown
// no VolumeUp
// no MediaNextTrack
// no MediaPreviousTrack
// no MediaStop
// no MediaPlayPause
// no LaunchMail
// no SelectMedia
// no LaunchApplication1
// no LaunchApplication2
// no OemAX
// no OemBackslash
// no Oem102
// no ProcessKey
// no Packet
Attn = System.Windows.Forms.Keys.Attn,
FieldPlus = System.Windows.Forms.Keys.Crsel, // hijacked on purpose
FieldMinus = System.Windows.Forms.Keys.Exsel, // hijacked on purpose
// no EraseEof
// no Play
// no Zoom
// no Pa1
// no OemClear
#endregion
#region Device-specific keys
// Keys defined that are specific to our devices
// The values are found in the vkeys.h file in the keyboard driver
// code.
Blue = 0x2A,
KeyboardLock = 0xE3,
Yellow = 0xE4,
PushToTalk = 0xE6,
BacklightToggle = 0xE9,
SIP = 0xEA,
// no OemNull
VolumeUp = 0xED,
VolumeDown = 0xEE,
BacklightUp = 0xEF,
BacklightDown = 0xF0,
Semicolon = 0xBA,
Plus = 0xBB,
Comma = 0xBC,
Minus = 0xBD,
Period = 0xBE,
Question = 0xBF,
Tilde = 0xC0,
OpenBrackets = 0xDB,
Pipe = 0xDC,
CloseBrackets = 0xDD,
Quotes = 0xDE,
RollPlus = 0xF9,
RollMinus = 0xFD,
#endregion
#region Enumerated Bitmasks
// These are masks used to separate out the key codes from the
// modifier bits.
KeyCode = System.Windows.Forms.Keys.KeyCode,
Modifiers = System.Windows.Forms.Keys.Modifiers,
ShiftMod = System.Windows.Forms.Keys.Shift,
AltMod = System.Windows.Forms.Keys.Alt,
ControlMod = System.Windows.Forms.Keys.Control,
#endregion
}
Description
Device key values with modifier flags.
Name |
Value |
Description |
None |
System.Windows.Forms.Keys.None |
No key pressed. |
Cancel |
System.Windows.Forms.Keys.Cancel |
The CANCEL key. |
Backspace |
System.Windows.Forms.Keys.Back |
The BACKSPACE key. |
Tab |
System.Windows.Forms.Keys.Tab |
The TAB key. |
Clear |
System.Windows.Forms.Keys.Clear |
The CLEAR key. |
Return |
System.Windows.Forms.Keys.Return |
The RETURN key |
Enter |
System.Windows.Forms.Keys. Enter |
The ENTER key |
ShiftKey |
System.Windows.Forms.Keys.ShiftKey |
The SHIFT key |
ControlKey |
System.Windows.Forms.Keys.ControlKey |
The CONTROL key |
Menu |
System.Windows.Forms.Keys.Menu |
The ALT key |
AltKey |
System.Windows.Forms.Keys.Menu |
The ALT key |
Pause |
System.Windows.Forms.Keys.Pause |
The PAUSE key |
Capital |
System.Windows.Forms.Keys.Capital |
The CAPITAL key |
CapsLock |
System.Windows.Forms.Keys.CapsLock |
The CAPS LOCK key. |
Escape |
System.Windows.Forms.Keys.Escape |
The ESC key. |
Space |
System.Windows.Forms.Keys.Space |
The SPACEBAR key. |
Prior |
System.Windows.Forms.Keys.Prior |
The PAGE UP key. |
PageUp |
System.Windows.Forms.Keys.PageUp |
The PAGE UP key. |
Next |
System.Windows.Forms.Keys.Next |
The PAGE DOWN key. |
PageDown |
System.Windows.Forms.Keys.PageDown |
The PAGE DOWN key. |
End |
System.Windows.Forms.Keys.End |
The END key. |
Home |
System.Windows.Forms.Keys.Home |
The HOME key. |
Left |
System.Windows.Forms.Keys.Left |
The LEFT ARROW key. |
Up |
System.Windows.Forms.Keys.Up |
The UP ARROW key. |
Right |
System.Windows.Forms.Keys.Right |
The RIGHT ARROW key. |
Down |
System.Windows.Forms.Keys.Down |
The DOWN ARROW key. |
FieldExit |
System.Windows.Forms.Keys.FieldExit |
The FIELD EXIT key. |
Snapshot |
System.Windows.Forms.Keys.Snapshot |
The PRINT SCREEN key. |
PrintScreen |
System.Windows.Forms.Keys.PrintScreen |
The PRINT SCREEN key. |
Insert |
System.Windows.Forms.Keys.Insert |
The INS key. |
Delete |
System.Windows.Forms.Keys.Delete |
The DEL key. |
Help |
System.Windows.Forms.Keys.Help |
The HELP key. |
D0 |
System.Windows.Forms.Keys.D0 |
The 0 key. |
D1 |
System.Windows.Forms.Keys.D1 |
The 1 key. |
D2 |
System.Windows.Forms.Keys.D2 |
The 2 key. |
D3 |
System.Windows.Forms.Keys.D3 |
The 3 key. |
D4 |
System.Windows.Forms.Keys.D4 |
The 4 key. |
D5 |
System.Windows.Forms.Keys.D5 |
The 5 key. |
D6 |
System.Windows.Forms.Keys.D6 |
The 6 key. |
D7 |
System.Windows.Forms.Keys.D7 |
The 7 key. |
D8 |
System.Windows.Forms.Keys.D8 |
The 8 key. |
D9 |
System.Windows.Forms.Keys.D9 |
The 9 key. |
A |
System.Windows.Forms.Keys.A |
The A key. |
B |
System.Windows.Forms.Keys.B |
The B key. |
C |
System.Windows.Forms.Keys.C |
The C key. |
D |
System.Windows.Forms.Keys.D |
The D key. |
E |
System.Windows.Forms.Keys.E |
The E key. |
F |
System.Windows.Forms.Keys.F |
The F key. |
G |
System.Windows.Forms.Keys.G |
The G key. |
H |
System.Windows.Forms.Keys.H |
The H key. |
I |
System.Windows.Forms.Keys.I |
The I key. |
J |
System.Windows.Forms.Keys.J |
The J key. |
K |
System.Windows.Forms.Keys.K |
The K key. |
L |
System.Windows.Forms.Keys.L |
The L key. |
M |
System.Windows.Forms.Keys.M |
The M key. |
N |
System.Windows.Forms.Keys.N |
The N key. |
O |
System.Windows.Forms.Keys.O |
The O key. |
P |
System.Windows.Forms.Keys.P |
The P key. |
Q |
System.Windows.Forms.Keys.Q |
The Q key. |
R |
System.Windows.Forms.Keys.R |
The R key. |
S |
System.Windows.Forms.Keys.S |
The S key. |
T |
System.Windows.Forms.Keys.T |
The T key. |
U |
System.Windows.Forms.Keys.U |
The U key. |
V |
System.Windows.Forms.Keys.V |
The V key. |
W |
System.Windows.Forms.Keys.W |
The W key. |
X |
System.Windows.Forms.Keys.X |
The X key. |
Y |
System.Windows.Forms.Keys.Y |
The Y key. |
Z |
System.Windows.Forms.Keys.Z |
The Z key. |
Win |
System.Windows.Forms.Keys.LWin |
The Windows logo key. |
F1 |
System.Windows.Forms.Keys.F1 |
The F1 Key. |
F2 |
System.Windows.Forms.Keys.F2 |
The F2 Key. |
F3 |
System.Windows.Forms.Keys.F3 |
The F3 Key. |
F4 |
System.Windows.Forms.Keys.F4 |
The F4 Key. |
F5 |
System.Windows.Forms.Keys.F5 |
The F5 Key. |
F6 |
System.Windows.Forms.Keys.F6 |
The F6 Key. |
F7 |
System.Windows.Forms.Keys.F7 |
The F7 Key. |
F8 |
System.Windows.Forms.Keys.F8 |
The F8 Key. |
F9 |
System.Windows.Forms.Keys.F9 |
The F9 Key. |
F10 |
System.Windows.Forms.Keys.F10 |
The F10 Key. |
F11 |
System.Windows.Forms.Keys.F11 |
The F11 Key. |
F12 |
System.Windows.Forms.Keys.F12 |
The F12 Key. |
F13 |
System.Windows.Forms.Keys.F13 |
The F13 Key. |
F14 |
System.Windows.Forms.Keys.F14 |
The F14 Key. |
F15 |
System.Windows.Forms.Keys.F15 |
The F15 Key. |
F16 |
System.Windows.Forms.Keys.F16 |
The F16 Key. |
F17 |
System.Windows.Forms.Keys.F17 |
The F17 Key. |
F18 |
System.Windows.Forms.Keys.F18 |
The F18 Key. |
F19 |
System.Windows.Forms.Keys.F19 |
The F19 Key. |
F20 |
System.Windows.Forms.Keys.F20 |
The F20 Key. |
F21 |
System.Windows.Forms.Keys.F21 |
The F21 Key. |
F22 |
System.Windows.Forms.Keys.F22 |
The F22 Key. |
F23 |
System.Windows.Forms.Keys.F23 |
The F23 Key. |
F24 |
System.Windows.Forms.Keys.F24 |
The F24 Key. |
Attn |
System.Windows.Forms.Keys.Attn |
The ATTN key. |
FieldPlus |
System.Windows.Forms.Keys.Crsel |
The FIELD PLUS key. |
FieldMinus |
System.Windows.Forms.Keys.Exsel |
The FIELD MINUS key. |
|
||
Blue |
0x2A |
The BLUE key. |
KeyboardLock |
0xE3 |
The KEYBOARD LOCK key. |
Yellow |
0xE4 |
The YELLOW key. |
PushToTalk |
0xE6 |
The PUSH TO TALK key. |
BacklightToggle |
0xE9 |
The BACKLIGHT TOGGLE key. |
SIP |
0xEA |
The SOFTWARE INPUT PANEL (SIP) key. |
VolumeUp |
0xED |
The VOLUME UP key. |
VolumeDown |
0xEE |
The VOLUME DOWN key. |
BacklightUp |
0xEF |
The BACKLIGHT UP key. |
BacklightDown |
0xF0 |
The BACKLIGHT DOWN key. |
Semicolon |
0xBA |
The ';' key and ':' key (when Shift-modified). |
Plus |
0xBB |
The '=' key and '+' key (when Shift-modified). |
Comma |
0xBC |
The ',' key and '<' key (when Shift-modified). |
Minus |
0xBD |
The '-' key and '_' key (when Shift-modified). |
Period |
0xBE |
The '.' key and '>' key (when Shift-modified). |
Question |
0xBF |
The '/' key and '?' key (when Shift-modified). |
Tilde |
0xC0 |
The '`' key and '~' key (when Shift-modified). |
OpenBrackets |
0xDB |
The '[' key and '{' key (when Shift-modified). |
Pipe |
0xDC |
The '\' key and '|' key (when Shift-modified). |
CloseBrackets |
0xDD |
The ']' key and '}' key (when Shift-modified). |
Quotes |
0xDE |
The ''' key and '"' key (when Shift-modified). |
RollPlus |
0xF9 |
The Roll+ key. |
RollMinus | 0xFD |
The Roll- key. |
|
||
KeyCode |
System.Windows.Forms.Keys.KeyCode |
The bitmask to extract a key code from a key value. |
Modifiers |
System.Windows.Forms.Keys.Modifiers |
The bitmask to extract modifiers from a key value. |
ShiftMod |
System.Windows.Forms.Keys.Shift |
The bitmask to extract the SHIFT modifier state. |
AltMod |
System.Windows.Forms.Keys.Alt |
The bitmask to extract the ALT modifier state. |
ControlMod |
System.Windows.Forms.Keys.Control |
The bitmask to extract the CONTROL modifier state. |
Copyright © Datalogic ADC. All Right Reserved