# # DOS 101 Key US keyboard mapping # # For each key on the real DOS version of this keyboard, # the table lists the scancode and flags for that key and # then the X keysyms found on that key # KeyboardType = 4; KeyboardSubtype = 0; KeyboardMode = 1; KeyboardLayout = US; { 0x01, Escape; 0x02, _1, exclam; 0x03, _2, at; 0x04, _3, numbersign; 0x05, _4, dollar; 0x06, _5, percent; 0x07, _6, asciicircum; 0x08, _7, ampersand; 0x09, _8, asterisk; 0x0a, _9, parenleft; 0x0b, _0, parenright; 0x0c, minus, underscore; 0x0d, equal, plus; 0x0e, Delete, BackSpace; 0x0f, Tab; 0x10, Q; 0x11, W; 0x12, E; 0x13, R; 0x14, T; 0x15, Y; 0x16, U; 0x17, I; 0x18, O; 0x19, P; 0x1a, bracketleft, braceleft; 0x1b, bracketright, braceright; 0x1c, Return; 0x1d, Control_L, Control_R; 0x1e, A; 0x1f, S; 0x20, D; 0x21, F; 0x22, G; 0x23, H; 0x24, J; 0x25, K; 0x26, L; 0x27, semicolon, colon; 0x28, apostrophe, quotedbl; 0x29, grave, asciitilde; 0x2a, Shift_L; 0x2b, backslash, bar; 0x2c, Z; 0x2d, X; 0x2e, C; 0x2f, V; 0x30, B; 0x31, N; 0x32, M; 0x33, comma, less; 0x34, period, greater; 0x35, slash, question; 0x36, Shift_R; 0x37, KP_Multiply; 0x38, Alt_L, Meta_L; 0x39, space; 0x3a, Caps_Lock; 0x3b, F1; 0x3c, F2; 0x3d, F3; 0x3e, F4; 0x3f, F5; 0x40, F6; 0x41, F7; 0x42, F8; 0x43, F9; 0x44, F10; 0x47, KP_7; 0x48, KP_8; 0x49, KP_9; 0x4a, KP_Subtract; 0x4b, KP_4; 0x4c, KP_5; 0x4d, KP_6; 0x4e, KP_Add; 0x4f, KP_1; 0x50, KP_2; 0x51, KP_3; 0x52, KP_0; 0x53, KP_Decimal; 0x57, F11; 0x58, F12; ##### THE FOLLOWING ARE CORRECT. 0x64, F13; 0x65, F14; 0x66, Help; 0x67, Menu; 0x46, F19; 0x1d|E1, F20; 0x45, KP_F1; 0x66, KP_F2, KP_Divide; 0x37, KP_F3; 0x4A, KP_F4; ############################### ###### THE FOLLOWING ARE _NOT_ WORKING #F17, F18 aren't working. #F17 it's not 6E,68,80(|E0), # 0x6e, F17; #F18 it's not 6F,2a|E0,69,81(|E0) # 0x6f, F18, Print; ############################### 0x10|E0, Control_R; 0x1c|E0, KP_Enter; 0x38|E0, Alt_R, Meta_R; 0x47|E0, Home; 0x48|E0, Up; 0x49|E0, Page_Up; 0x4b|E0, Left; 0x4d|E0, Right; 0x4f|E0, End; 0x50|E0, Down; 0x51|E0, Page_Down; 0x52|E0, Insert; # 0x53|E0, Delete; 0x53|E0, NoSymbol; # 0x1d|E1, Break, Pause; }