to top
Datalogic APIs
public static class

AdvancedKeyboard.ScanCode

extends Object
java.lang.Object
   ↳ com.datalogic.device.input.AdvancedKeyboard.ScanCode

Class Overview

Collection of scan code constants used to configure and identify key mappings for the Datalogic logo overlay.
Each constant represents a hardware scan code associated with a keyboard key, function key, navigation key, trigger or device-specific action supported by Datalogic devices.
The values are aligned with Linux input subsystem scan codes, extended with Datalogic-specific proprietary codes.

Summary

Constants
int CODE_0 Numeric key 0.
int CODE_1 Numeric key 1.
int CODE_2 Numeric key 2.
int CODE_3 Numeric key 3.
int CODE_4 Numeric key 4.
int CODE_5 Numeric key 5.
int CODE_6 Numeric key 6.
int CODE_7 Numeric key 7.
int CODE_8 Numeric key 8.
int CODE_9 Numeric key 9.
int CODE_A Letter A key.
int CODE_ALT Alt key.
int CODE_AMPERSAND Ampersand key (&).
int CODE_APOSTROPHE Apostrophe key (').
int CODE_ASTERISK Numeric keypad asterisk key (*).
int CODE_AT At sign key (@).
int CODE_ATTN Attention key.
int CODE_B Letter B key.
int CODE_BACK Back key.
int CODE_BACKSLASH Backslash key (\).
int CODE_BACKTICK Backtick key (`).
int CODE_BATTSWAP Battery swap key.
int CODE_BKSP Backspace key.
int CODE_BRCYC Brightness cycle key.
int CODE_BRDWN Brightness down key.
int CODE_BRUP Brightness up key.
int CODE_C Letter C key.
int CODE_CAPS Caps Lock key.
int CODE_CARET Caret key (^).
int CODE_CLR Clear key.
int CODE_COLON Colon key (:).
int CODE_COMMA Comma key (,).
int CODE_CTRL Control key.
int CODE_D Letter D key.
int CODE_DEL Delete key.
int CODE_DL Datalogic key.
int CODE_DOLLAR Dollar sign key ($).
int CODE_DOWN Down arrow key.
int CODE_E Letter E key.
int CODE_END End key.
int CODE_ENTER_L Left Enter key.
int CODE_ENTER_R Right Enter key.
int CODE_EQUAL Equal key (=).
int CODE_ESC Escape key.
int CODE_EXCLAMATION Exclamation mark key (!).
int CODE_F Letter F key.
int CODE_F1 Function key F1.
int CODE_F10 Function key F10.
int CODE_F11 Function key F11.
int CODE_F12 Function key F12.
int CODE_F13 Function key F13.
int CODE_F14 Function key F14.
int CODE_F15 Function key F15.
int CODE_F16 Function key F16.
int CODE_F17 Function key F17.
int CODE_F18 Function key F18.
int CODE_F19 Function key F19.
int CODE_F2 Function key F2.
int CODE_F20 Function key F20.
int CODE_F21 Function key F21.
int CODE_F22 Function key F22.
int CODE_F23 Function key F23.
int CODE_F24 Function key F24.
int CODE_F3 Function key F3.
int CODE_F4 Function key F4.
int CODE_F5 Function key F5.
int CODE_F6 Function key F6.
int CODE_F7 Function key F7.
int CODE_F8 Function key F8.
int CODE_F9 Function key F9.
int CODE_FEXIT Function exit key.
int CODE_FLD_MINUS Field decrement key.
int CODE_FLD_PLUS Field increment key.
int CODE_FRWRD Forward key.
int CODE_G Letter G key.
int CODE_GREATER Greater-than key (>).
int CODE_H Letter H key.
int CODE_HALF_TRIG Half trigger key.
int CODE_HASH Hash sign key (#).
int CODE_HOME Home key.
int CODE_I Letter I key.
int CODE_INS Insert key.
int CODE_J Letter J key.
int CODE_K Letter K key.
int CODE_L Letter L key.
int CODE_LEFT Left arrow key.
int CODE_LEFT_BRACKET Left bracket key ([).
int CODE_LEFT_PAREN Left parenthesis key (().
int CODE_LESS Less-than key (<).
int CODE_LOCK Lock key.
int CODE_M Letter M key.
int CODE_MENU Menu key.
int CODE_MINUS Minus key (-).
int CODE_N Letter N key.
int CODE_NONE No scan code assigned.
int CODE_O Letter O key.
int CODE_P Letter P key.
int CODE_P1 Programmable key P1.
int CODE_P2 Programmable key P2.
int CODE_PERCENT Percent key (%).
int CODE_PERIOD Period key (.).
int CODE_PGDWN Page Down key.
int CODE_PGUP Page Up key.
int CODE_PIPE Pipe key (|).
int CODE_PLUS Plus key (+).
int CODE_PRINTSCRN Print Screen key.
int CODE_PTT Push-to-talk key.
int CODE_PWR Power key.
int CODE_Q Letter Q key.
int CODE_QUESTION Question mark key (?).
int CODE_QUOTE Double quote key (").
int CODE_R Letter R key.
int CODE_REFRESH Refresh key.
int CODE_RIGHT Right arrow key.
int CODE_RIGHT_BRACKET Right bracket key (]).
int CODE_RIGHT_PAREN Right parenthesis key ()).
int CODE_ROLL_MINUS Scroll/roller decrement key.
int CODE_ROLL_PLUS Scroll/roller increment key.
int CODE_RST Reset key.
int CODE_S Letter S key.
int CODE_SCAN_A Auto-scan trigger key.
int CODE_SCAN_F Front trigger scan key.
int CODE_SCAN_L Left trigger scan key.
int CODE_SCAN_M Motion scan trigger M key.
int CODE_SCAN_R Right trigger scan key.
int CODE_SCAN_T Pistol trigger scan key.
int CODE_SEMICOLON Semicolon key (;).
int CODE_SHIFT Shift key.
int CODE_SHIFT_TAB Shift+Tab key combination.
int CODE_SLASH Slash key (/).
int CODE_SOS SOS/emergency key.
int CODE_SPACE Space bar key.
int CODE_STOP Stop key.
int CODE_SYM Symbol modifier key.
int CODE_SYMB Symbol key.
int CODE_T Letter T key.
int CODE_TAB Tab key.
int CODE_THL Trigger handle left key.
int CODE_THR Trigger handle right key.
int CODE_TILDE Tilde key (~).
int CODE_U Letter U key.
int CODE_UNDERSCORE Underscore key (_).
int CODE_UP Up arrow key.
int CODE_V Letter V key.
int CODE_VOL_MINUS Volume down key.
int CODE_VOL_PLUS Volume up key.
int CODE_W Letter W key.
int CODE_X Letter X key.
int CODE_Y Letter Y key.
int CODE_Z Letter Z key.
Public Constructors
ScanCode()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int CODE_0

Added in revision 51

Numeric key 0.

Constant Value: 11 (0x0000000b)

public static final int CODE_1

Added in revision 51

Numeric key 1.

Constant Value: 2 (0x00000002)

public static final int CODE_2

Added in revision 51

Numeric key 2.

Constant Value: 3 (0x00000003)

public static final int CODE_3

Added in revision 51

Numeric key 3.

Constant Value: 4 (0x00000004)

public static final int CODE_4

Added in revision 51

Numeric key 4.

Constant Value: 5 (0x00000005)

public static final int CODE_5

Added in revision 51

Numeric key 5.

Constant Value: 6 (0x00000006)

public static final int CODE_6

Added in revision 51

Numeric key 6.

Constant Value: 7 (0x00000007)

public static final int CODE_7

Added in revision 51

Numeric key 7.

Constant Value: 8 (0x00000008)

public static final int CODE_8

Added in revision 51

Numeric key 8.

Constant Value: 9 (0x00000009)

public static final int CODE_9

Added in revision 51

Numeric key 9.

Constant Value: 10 (0x0000000a)

public static final int CODE_A

Added in revision 51

Letter A key.

Constant Value: 30 (0x0000001e)

public static final int CODE_ALT

Added in revision 51

Alt key.

Constant Value: 56 (0x00000038)

public static final int CODE_AMPERSAND

Added in revision 51

Ampersand key (&).

Constant Value: 260 (0x00000104)

public static final int CODE_APOSTROPHE

Added in revision 51

Apostrophe key (').

Constant Value: 40 (0x00000028)

public static final int CODE_ASTERISK

Added in revision 51

Numeric keypad asterisk key (*).

Constant Value: 55 (0x00000037)

public static final int CODE_AT

Added in revision 51

At sign key (@).

Constant Value: 512 (0x00000200)

public static final int CODE_ATTN

Added in revision 51

Attention key.

Constant Value: 269 (0x0000010d)

public static final int CODE_B

Added in revision 51

Letter B key.

Constant Value: 48 (0x00000030)

public static final int CODE_BACK

Added in revision 51

Back key.

Constant Value: 158 (0x0000009e)

public static final int CODE_BACKSLASH

Added in revision 51

Backslash key (\).

Constant Value: 43 (0x0000002b)

public static final int CODE_BACKTICK

Added in revision 51

Backtick key (`).

Constant Value: 41 (0x00000029)

public static final int CODE_BATTSWAP

Added in revision 51

Battery swap key.

Constant Value: 236 (0x000000ec)

public static final int CODE_BKSP

Added in revision 51

Backspace key.

Constant Value: 14 (0x0000000e)

public static final int CODE_BRCYC

Added in revision 51

Brightness cycle key.

Constant Value: 243 (0x000000f3)

public static final int CODE_BRDWN

Added in revision 51

Brightness down key.

Constant Value: 225 (0x000000e1)

public static final int CODE_BRUP

Added in revision 51

Brightness up key.

Constant Value: 224 (0x000000e0)

public static final int CODE_C

Added in revision 51

Letter C key.

Constant Value: 46 (0x0000002e)

public static final int CODE_CAPS

Added in revision 51

Caps Lock key.

Constant Value: 58 (0x0000003a)

public static final int CODE_CARET

Added in revision 51

Caret key (^).

Constant Value: 259 (0x00000103)

public static final int CODE_CLR

Added in revision 51

Clear key.

Constant Value: 355 (0x00000163)

public static final int CODE_COLON

Added in revision 51

Colon key (:).

Constant Value: 263 (0x00000107)

public static final int CODE_COMMA

Added in revision 51

Comma key (,).

Constant Value: 51 (0x00000033)

public static final int CODE_CTRL

Added in revision 51

Control key.

Constant Value: 29 (0x0000001d)

public static final int CODE_D

Added in revision 51

Letter D key.

Constant Value: 32 (0x00000020)

public static final int CODE_DEL

Added in revision 51

Delete key.

Constant Value: 111 (0x0000006f)

public static final int CODE_DL

Added in revision 51

Datalogic key.

Constant Value: 360 (0x00000168)

public static final int CODE_DOLLAR

Added in revision 51

Dollar sign key ($).

Constant Value: 434 (0x000001b2)

public static final int CODE_DOWN

Added in revision 51

Down arrow key.

Constant Value: 108 (0x0000006c)

public static final int CODE_E

Added in revision 51

Letter E key.

Constant Value: 18 (0x00000012)

public static final int CODE_END

Added in revision 51

End key.

Constant Value: 107 (0x0000006b)

public static final int CODE_ENTER_L

Added in revision 51

Left Enter key.

Constant Value: 96 (0x00000060)

public static final int CODE_ENTER_R

Added in revision 51

Right Enter key.

Constant Value: 28 (0x0000001c)

public static final int CODE_EQUAL

Added in revision 51

Equal key (=).

Constant Value: 13 (0x0000000d)

public static final int CODE_ESC

Added in revision 51

Escape key.

Constant Value: 1 (0x00000001)

public static final int CODE_EXCLAMATION

Added in revision 51

Exclamation mark key (!).

Constant Value: 258 (0x00000102)

public static final int CODE_F

Added in revision 51

Letter F key.

Constant Value: 33 (0x00000021)

public static final int CODE_F1

Added in revision 51

Function key F1.

Constant Value: 59 (0x0000003b)

public static final int CODE_F10

Added in revision 51

Function key F10.

Constant Value: 68 (0x00000044)

public static final int CODE_F11

Added in revision 51

Function key F11.

Constant Value: 87 (0x00000057)

public static final int CODE_F12

Added in revision 51

Function key F12.

Constant Value: 88 (0x00000058)

public static final int CODE_F13

Added in revision 51

Function key F13.

Constant Value: 183 (0x000000b7)

public static final int CODE_F14

Added in revision 51

Function key F14.

Constant Value: 184 (0x000000b8)

public static final int CODE_F15

Added in revision 51

Function key F15.

Constant Value: 185 (0x000000b9)

public static final int CODE_F16

Added in revision 51

Function key F16.

Constant Value: 186 (0x000000ba)

public static final int CODE_F17

Added in revision 51

Function key F17.

Constant Value: 187 (0x000000bb)

public static final int CODE_F18

Added in revision 51

Function key F18.

Constant Value: 188 (0x000000bc)

public static final int CODE_F19

Added in revision 51

Function key F19.

Constant Value: 189 (0x000000bd)

public static final int CODE_F2

Added in revision 51

Function key F2.

Constant Value: 60 (0x0000003c)

public static final int CODE_F20

Added in revision 51

Function key F20.

Constant Value: 190 (0x000000be)

public static final int CODE_F21

Added in revision 51

Function key F21.

Constant Value: 191 (0x000000bf)

public static final int CODE_F22

Added in revision 51

Function key F22.

Constant Value: 192 (0x000000c0)

public static final int CODE_F23

Added in revision 51

Function key F23.

Constant Value: 193 (0x000000c1)

public static final int CODE_F24

Added in revision 51

Function key F24.

Constant Value: 194 (0x000000c2)

public static final int CODE_F3

Added in revision 51

Function key F3.

Constant Value: 61 (0x0000003d)

public static final int CODE_F4

Added in revision 51

Function key F4.

Constant Value: 62 (0x0000003e)

public static final int CODE_F5

Added in revision 51

Function key F5.

Constant Value: 63 (0x0000003f)

public static final int CODE_F6

Added in revision 51

Function key F6.

Constant Value: 64 (0x00000040)

public static final int CODE_F7

Added in revision 51

Function key F7.

Constant Value: 65 (0x00000041)

public static final int CODE_F8

Added in revision 51

Function key F8.

Constant Value: 66 (0x00000042)

public static final int CODE_F9

Added in revision 51

Function key F9.

Constant Value: 67 (0x00000043)

public static final int CODE_FEXIT

Added in revision 51

Function exit key.

Constant Value: 270 (0x0000010e)

public static final int CODE_FLD_MINUS

Added in revision 51

Field decrement key.

Constant Value: 312 (0x00000138)

public static final int CODE_FLD_PLUS

Added in revision 51

Field increment key.

Constant Value: 313 (0x00000139)

public static final int CODE_FRWRD

Added in revision 51

Forward key.

Constant Value: 159 (0x0000009f)

public static final int CODE_G

Added in revision 51

Letter G key.

Constant Value: 34 (0x00000022)

public static final int CODE_GREATER

Added in revision 51

Greater-than key (>).

Constant Value: 257 (0x00000101)

public static final int CODE_H

Added in revision 51

Letter H key.

Constant Value: 35 (0x00000023)

public static final int CODE_HALF_TRIG

Added in revision 51

Half trigger key.

Constant Value: 307 (0x00000133)

public static final int CODE_HASH

Added in revision 51

Hash sign key (#).

Constant Value: 523 (0x0000020b)

public static final int CODE_HOME

Added in revision 51

Home key.

Constant Value: 102 (0x00000066)

public static final int CODE_I

Added in revision 51

Letter I key.

Constant Value: 23 (0x00000017)

public static final int CODE_INS

Added in revision 51

Insert key.

Constant Value: 110 (0x0000006e)

public static final int CODE_J

Added in revision 51

Letter J key.

Constant Value: 36 (0x00000024)

public static final int CODE_K

Added in revision 51

Letter K key.

Constant Value: 37 (0x00000025)

public static final int CODE_L

Added in revision 51

Letter L key.

Constant Value: 38 (0x00000026)

public static final int CODE_LEFT

Added in revision 51

Left arrow key.

Constant Value: 105 (0x00000069)

public static final int CODE_LEFT_BRACKET

Added in revision 51

Left bracket key ([).

Constant Value: 26 (0x0000001a)

public static final int CODE_LEFT_PAREN

Added in revision 51

Left parenthesis key (().

Constant Value: 179 (0x000000b3)

public static final int CODE_LESS

Added in revision 51

Less-than key (<).

Constant Value: 256 (0x00000100)

public static final int CODE_LOCK

Added in revision 51

Lock key.

Constant Value: 152 (0x00000098)

public static final int CODE_M

Added in revision 51

Letter M key.

Constant Value: 50 (0x00000032)

public static final int CODE_MENU

Added in revision 51

Menu key.

Constant Value: 139 (0x0000008b)

public static final int CODE_MINUS

Added in revision 51

Minus key (-).

Constant Value: 12 (0x0000000c)

public static final int CODE_N

Added in revision 51

Letter N key.

Constant Value: 49 (0x00000031)

public static final int CODE_NONE

Added in revision 51

No scan code assigned.

Constant Value: 0 (0x00000000)

public static final int CODE_O

Added in revision 51

Letter O key.

Constant Value: 24 (0x00000018)

public static final int CODE_P

Added in revision 51

Letter P key.

Constant Value: 25 (0x00000019)

public static final int CODE_P1

Added in revision 51

Programmable key P1.

Constant Value: 148 (0x00000094)

public static final int CODE_P2

Added in revision 51

Programmable key P2.

Constant Value: 149 (0x00000095)

public static final int CODE_PERCENT

Added in revision 51

Percent key (%).

Constant Value: 265 (0x00000109)

public static final int CODE_PERIOD

Added in revision 51

Period key (.).

Constant Value: 52 (0x00000034)

public static final int CODE_PGDWN

Added in revision 51

Page Down key.

Constant Value: 109 (0x0000006d)

public static final int CODE_PGUP

Added in revision 51

Page Up key.

Constant Value: 104 (0x00000068)

public static final int CODE_PIPE

Added in revision 51

Pipe key (|).

Constant Value: 266 (0x0000010a)

public static final int CODE_PLUS

Added in revision 51

Plus key (+).

Constant Value: 78 (0x0000004e)

public static final int CODE_PRINTSCRN

Added in revision 51

Print Screen key.

Constant Value: 99 (0x00000063)

public static final int CODE_PTT

Added in revision 51

Push-to-talk key.

Constant Value: 586 (0x0000024a)

public static final int CODE_PWR

Added in revision 51

Power key.

Constant Value: 116 (0x00000074)

public static final int CODE_Q

Added in revision 51

Letter Q key.

Constant Value: 16 (0x00000010)

public static final int CODE_QUESTION

Added in revision 51

Question mark key (?).

Constant Value: 214 (0x000000d6)

public static final int CODE_QUOTE

Added in revision 51

Double quote key (").

Constant Value: 264 (0x00000108)

public static final int CODE_R

Added in revision 51

Letter R key.

Constant Value: 19 (0x00000013)

public static final int CODE_REFRESH

Added in revision 51

Refresh key.

Constant Value: 173 (0x000000ad)

public static final int CODE_RIGHT

Added in revision 51

Right arrow key.

Constant Value: 106 (0x0000006a)

public static final int CODE_RIGHT_BRACKET

Added in revision 51

Right bracket key (]).

Constant Value: 27 (0x0000001b)

public static final int CODE_RIGHT_PAREN

Added in revision 51

Right parenthesis key ()).

Constant Value: 180 (0x000000b4)

public static final int CODE_ROLL_MINUS

Added in revision 51

Scroll/roller decrement key.

Constant Value: 178 (0x000000b2)

public static final int CODE_ROLL_PLUS

Added in revision 51

Scroll/roller increment key.

Constant Value: 177 (0x000000b1)

public static final int CODE_RST

Added in revision 51

Reset key.

Constant Value: 306 (0x00000132)

public static final int CODE_S

Added in revision 51

Letter S key.

Constant Value: 31 (0x0000001f)

public static final int CODE_SCAN_A

Added in revision 51

Auto-scan trigger key.

Constant Value: 304 (0x00000130)

public static final int CODE_SCAN_F

Added in revision 51

Front trigger scan key.

Constant Value: 315 (0x0000013b)

public static final int CODE_SCAN_L

Added in revision 51

Left trigger scan key.

Constant Value: 310 (0x00000136)

public static final int CODE_SCAN_M

Added in revision 51

Motion scan trigger M key.

Constant Value: 305 (0x00000131)

public static final int CODE_SCAN_R

Added in revision 51

Right trigger scan key.

Constant Value: 311 (0x00000137)

public static final int CODE_SCAN_T

Added in revision 51

Pistol trigger scan key.

Constant Value: 314 (0x0000013a)

public static final int CODE_SEMICOLON

Added in revision 51

Semicolon key (;).

Constant Value: 39 (0x00000027)

public static final int CODE_SHIFT

Added in revision 51

Shift key.

Constant Value: 42 (0x0000002a)

public static final int CODE_SHIFT_TAB

Added in revision 51

Shift+Tab key combination.

Constant Value: 268 (0x0000010c)

public static final int CODE_SLASH

Added in revision 51

Slash key (/).

Constant Value: 53 (0x00000035)

public static final int CODE_SOS

Added in revision 51

SOS/emergency key.

Constant Value: 138 (0x0000008a)

public static final int CODE_SPACE

Added in revision 51

Space bar key.

Constant Value: 57 (0x00000039)

public static final int CODE_STOP

Added in revision 51

Stop key.

Constant Value: 128 (0x00000080)

public static final int CODE_SYM

Added in revision 51

Symbol modifier key.

Constant Value: 368 (0x00000170)

public static final int CODE_SYMB

Added in revision 51

Symbol key.

Constant Value: 271 (0x0000010f)

public static final int CODE_T

Added in revision 51

Letter T key.

Constant Value: 20 (0x00000014)

public static final int CODE_TAB

Added in revision 51

Tab key.

Constant Value: 15 (0x0000000f)

public static final int CODE_THL

Added in revision 51

Trigger handle left key.

Constant Value: 317 (0x0000013d)

public static final int CODE_THR

Added in revision 51

Trigger handle right key.

Constant Value: 318 (0x0000013e)

public static final int CODE_TILDE

Added in revision 51

Tilde key (~).

Constant Value: 267 (0x0000010b)

public static final int CODE_U

Added in revision 51

Letter U key.

Constant Value: 22 (0x00000016)

public static final int CODE_UNDERSCORE

Added in revision 51

Underscore key (_).

Constant Value: 262 (0x00000106)

public static final int CODE_UP

Added in revision 51

Up arrow key.

Constant Value: 103 (0x00000067)

public static final int CODE_V

Added in revision 51

Letter V key.

Constant Value: 47 (0x0000002f)

public static final int CODE_VOL_MINUS

Added in revision 51

Volume down key.

Constant Value: 114 (0x00000072)

public static final int CODE_VOL_PLUS

Added in revision 51

Volume up key.

Constant Value: 115 (0x00000073)

public static final int CODE_W

Added in revision 51

Letter W key.

Constant Value: 17 (0x00000011)

public static final int CODE_X

Added in revision 51

Letter X key.

Constant Value: 45 (0x0000002d)

public static final int CODE_Y

Added in revision 51

Letter Y key.

Constant Value: 21 (0x00000015)

public static final int CODE_Z

Added in revision 51

Letter Z key.

Constant Value: 44 (0x0000002c)

Public Constructors

public ScanCode ()

Added in revision 51