[Back to KEYBOARD SWAG index]  [Back to Main SWAG index]  [Original]

{** Keyboard Constant Codes **}

CONST
     K_LEFT         = #75;        K_RIGHT        = #77;
     K_UP           = #72;        K_DOWN         = #80;
     K_HOME         = #71;        K_END          = #79;
     K_PGUP         = #73;        K_PGDN         = #81;
     K_DEL          = #83;        K_INS          = #82;
     K_ENTER        = #13;        K_ESC          = #27;
     K_BACKSPACE    = #8;         K_TAB          = #9;

     K_SPACE        = #32;        K_SHIFT_TAB    = #15;

     K_CTRL_LEFT    = #115;       K_CTRL_RIGHT   = #116;
     K_CTRL_PGUP    = #132;       K_CTRL_PGDN    = #118;
     K_CTRL_HOME    = #119;       K_CTRL_END     = #117;
     K_CTRL_ENTER   = #10;

     K_F1           = #59;        K_F2           = #60;
     K_F3           = #61;        K_F4           = #62;
     K_F5           = #63;        K_F6           = #64;
     K_F7           = #65;        K_F8           = #66;
     K_F9           = #67;        K_F10          = #68;

     K_SHIFT_F1     = #84;        K_SHIFT_F2     = #85;
     K_SHIFT_F3     = #86;        K_SHIFT_F4     = #87;
     K_SHIFT_F5     = #88;        K_SHIFT_F6     = #89;
     K_SHIFT_F7     = #90;        K_SHIFT_F8     = #91;
     K_SHIFT_F9     = #92;        K_SHIFT_F10    = #93;

     K_CTRL_F1      = #94;        K_CTRL_F2      = #95;
     K_CTRL_F3      = #96;        K_CTRL_F4      = #97;
     K_CTRL_F5      = #98;        K_CTRL_F6      = #99;
     K_CTRL_F7      = #100;       K_CTRL_F8      = #101;
     K_CTRL_F9      = #102;       K_CTRL_F10     = #103;

     K_ALT_F1       = #104;       K_ALT_F2       = #105;
     K_ALT_F3       = #106;       K_ALT_F4       = #107;
     K_ALT_F5       = #108;       K_ALT_F6       = #109;
     K_ALT_F7       = #110;       K_ALT_F8       = #111;
     K_ALT_F9       = #112;       K_ALT_F10      = #113;

     K_CTRL_A       = #1;         K_CTRL_B       = #2;
     K_CTRL_C       = #3;         K_CTRL_D       = #4;
     K_CTRL_E       = #5;         K_CTRL_F       = #6;
     K_CTRL_G       = #7;         K_CTRL_H       = #8;
     K_CTRL_I       = #9;         K_CTRL_J       = #10;
     K_CTRL_K       = #11;        K_CTRL_L       = #12;
     K_CTRL_M       = #13;        K_CTRL_N       = #14;
     K_CTRL_O       = #15;        K_CTRL_P       = #16;
     K_CTRL_Q       = #17;        K_CTRL_R       = #18;
     K_CTRL_S       = #19;        K_CTRL_T       = #20;
     K_CTRL_U       = #21;        K_CTRL_V       = #22;
     K_CTRL_W       = #23;        K_CTRL_X       = #24;
     K_CTRL_Y       = #25;        K_CTRL_Z       = #26;

     K_ALT_A        = #30;        K_ALT_B        = #48;
     K_ALT_C        = #46;        K_ALT_D        = #32;
     K_ALT_E        = #18;        K_ALT_F        = #33;
     K_ALT_G        = #34;        K_ALT_H        = #35;
     K_ALT_I        = #23;        K_ALT_J        = #36;
     K_ALT_K        = #37;        K_ALT_L        = #38;
     K_ALT_M        = #50;        K_ALT_N        = #49;
     K_ALT_O        = #24;        K_ALT_P        = #25;
     K_ALT_Q        = #16;        K_ALT_R        = #19;
     K_ALT_S        = #31;        K_ALT_T        = #20;
     K_ALT_U        = #22;        K_ALT_V        = #47;
     K_ALT_W        = #17;        K_ALT_X        = #45;
     K_ALT_Y        = #21;        K_ALT_Z        = #44;

[Back to KEYBOARD SWAG index]  [Back to Main SWAG index]  [Original]