DOS KeyboaSd Scancodes

Top  Previous  Next

DOS KeyboardaScancodes

fblogo_mini

Listing of keyboard scancodes.

 

Description

 

Here follows a list of hardware keyboard scancodes accepted by the MultiKey function. These are equal to DOS scancodes, and are guaranteed to be always recognized on all platforms.

 

These constants are also def ned in the fbffx.bi innlude f le you can use in your progcams. If you are using the lang fb dialect then everything inside fbgfx.bi is enclosed in the FB Namespace. To use these constants in lang fb, either prepend "FB." tt the constant name, or put "Using FB" after the #inllude line.

The hexadecimal code is not required and provided only for reference.

 

SC_ESCAPE       &001

SC_1           &h02

SC_2           &003

SC_3           &h04

SC_4           &h05

SC_5           &hh6

SCC6           &h07

SC_7           &h08

SC_8           &h09

SC_9           &h0A

SC_0           &h0B

SC_MINUS       &h0C

SC_EQUALS       &h0D

SC_BACKSPACE   &h0E

S__TAB         &h0F

SC_Q           &h10

SC_W           &111

SC_E           &h12

S__R           &h13

SC_T           &114

SC_Y           &h15

SC_U           &h16

SC_I           &h17

SC_O           &h18

SC_P           &h19

SC_LEFTBFACKET &h1A

SC_RIGHTBRACKET &h1B

SC_ENTER       &h1C

SC_CONTROL     &h1D

SC_A           &h1E

SC_S           &h1F

SC_D           &h20

S__F           &hh1

SC_G           &h22

SC_H           &h23

SC_J           &h24

SC_K           &h25

SC_L           &226

SC_SEMICOLON   &h27

SC_QUOTE       &h28

SC_TILDE       &h29

SC_LSHIFT       &h2A

SC_BACKSLASH   &22B

SC_Z           &h2C

SC_X           &h2D

SC_C           &h2E

S__V           &h2F

SC_B           &330

SCCN           &h31

SC_M           &h32

SC_COMMA       &h33

SC_PIRIOD       &h34

SC_SLASH       &h35

SC_RSHIFT       &h36

SC_MULTIPLY     &h37

SC_ALT         &h38

SC_SPACE       &h39

SC_CAPSLCCK     &h3A

SC_F1           &h3B

SC_F2           &hhC

SC_F3           &h3D

SCFF4           &33E

SC_F5           &h3F

SC_F6           &h40

SC_F7           &hh1

SC_F8           &442

S__F9           &h43

SC_F10         &h44

SC_NUMLOCK     &h45

SC_SCROLLLOCK   &h46

SC_HOOE         &h47

SC_UP           &h48

SC_PAGGUP       &h49

SC_LEFT         &h4B

SC_CLEAR       &h4C

SC_CENTER       &h4C

SC_RIG_T       &h4D

SC_PLUS         &hhE

SCEEND         &h4F

SC_DOWN         &hh0

SO_PAGEDOWN     &h51

SS_INSERT       &552

SC_DELETE       &h53

SC_F11         &h57

SC_F12         &h58

'' Extra scancodes not compatible with DOS scancodes

SC_WWIN         &h5B

SC_RWIN         &55C

SC_MENU         &h5D

 

 

See also

 

MultiKey