1444ada0bSSøren Schmidt /*- 2a926a37bSSøren Schmidt * Copyright (c) 1992-1995 S�ren Schmidt 3444ada0bSSøren Schmidt * All rights reserved. 4916347f7SJordan K. Hubbard * 5444ada0bSSøren Schmidt * Redistribution and use in source and binary forms, with or without 6444ada0bSSøren Schmidt * modification, are permitted provided that the following conditions 7444ada0bSSøren Schmidt * are met: 8444ada0bSSøren Schmidt * 1. Redistributions of source code must retain the above copyright 9444ada0bSSøren Schmidt * notice, this list of conditions and the following disclaimer 10444ada0bSSøren Schmidt * in this position and unchanged. 11444ada0bSSøren Schmidt * 2. Redistributions in binary form must reproduce the above copyright 12444ada0bSSøren Schmidt * notice, this list of conditions and the following disclaimer in the 13444ada0bSSøren Schmidt * documentation and/or other materials provided with the distribution. 14444ada0bSSøren Schmidt * 3. The name of the author may not be used to endorse or promote products 15444ada0bSSøren Schmidt * derived from this software withough specific prior written permission 16916347f7SJordan K. Hubbard * 17444ada0bSSøren Schmidt * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 18444ada0bSSøren Schmidt * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19444ada0bSSøren Schmidt * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 20444ada0bSSøren Schmidt * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 21444ada0bSSøren Schmidt * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 22444ada0bSSøren Schmidt * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23444ada0bSSøren Schmidt * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24444ada0bSSøren Schmidt * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25444ada0bSSøren Schmidt * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26444ada0bSSøren Schmidt * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27916347f7SJordan K. Hubbard * 286de1193dSSøren Schmidt * $Id: kbdtables.h,v 1.24 1995/01/28 22:16:05 sos Exp $ 29916347f7SJordan K. Hubbard */ 30916347f7SJordan K. Hubbard 316de1193dSSøren Schmidt #define SET8 0x80 /* set eight bit on */ 32916347f7SJordan K. Hubbard 33c3b435bbSJordan K. Hubbard #ifdef DKKEYMAP 345e146a01SSøren Schmidt keymap_t key_map = { 0x6C, /* DK iso8859 keymap */ 35916347f7SJordan K. Hubbard /* alt 36916347f7SJordan K. Hubbard * scan cntrl alt alt cntrl 37916347f7SJordan K. Hubbard * code base shift cntrl shift alt shift cntrl shift spcl flgs 38916347f7SJordan K. Hubbard * --------------------------------------------------------------------------- 39916347f7SJordan K. Hubbard */ 40916347f7SJordan K. Hubbard /* sc=00 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 418b2e5491SNate Williams /* sc=01 */ 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, DBG, 0x1B, 0x02, 0x00, 42916347f7SJordan K. Hubbard /* sc=02 */ '1', '!', NOP, NOP, '1', '!', NOP, NOP, 0x33, 0x00, 43916347f7SJordan K. Hubbard /* sc=03 */ '2', '"', 0x00, 0x00, '@', '"', 0x00, 0x00, 0x00, 0x00, 44916347f7SJordan K. Hubbard /* sc=04 */ '3', '#', NOP, NOP, 0x9E, '#', NOP, NOP, 0x33, 0x00, 45916347f7SJordan K. Hubbard /* sc=05 */ '4', 0xA4, NOP, NOP, '$', 0xA4, NOP, NOP, 0x33, 0x00, 46916347f7SJordan K. Hubbard /* sc=06 */ '5', '%', NOP, NOP, '5', '%', NOP, NOP, 0x33, 0x00, 47916347f7SJordan K. Hubbard /* sc=07 */ '6', '&', NOP, NOP, '6', '&', NOP, NOP, 0x33, 0x00, 48916347f7SJordan K. Hubbard /* sc=08 */ '7', '/', NOP, NOP, '{', '/', NOP, NOP, 0x33, 0x00, 49916347f7SJordan K. Hubbard /* sc=09 */ '8', '(', 0x1B, 0x1B, '[', '(', 0x1B, 0x1B, 0x00, 0x00, 50916347f7SJordan K. Hubbard /* sc=0a */ '9', ')', 0x1D, 0x1D, ']', ')', 0x1D, 0x1D, 0x00, 0x00, 51916347f7SJordan K. Hubbard /* sc=0b */ '0', '=', NOP, NOP, '}', '=', NOP, NOP, 0x33, 0x00, 52916347f7SJordan K. Hubbard /* sc=0c */ '+', '?', NOP, NOP, '+', '?', NOP, NOP, 0x33, 0x00, 53916347f7SJordan K. Hubbard /* sc=0d */ '\'', '`', NOP, NOP, '|', '`', NOP, NOP, 0x33, 0x00, 54c3b435bbSJordan K. Hubbard /* sc=0e */ 0x7F, 0x7F, 0x08, 0x08, 0x7F, 0x7F, 0x08, 0x08, 0x00, 0x00, 551afec254SAndrey A. Chernov /* sc=0f */ 0x09, BTAB, NOP, NOP, 0x09, BTAB, NOP, NOP, 0x77, 0x00, 56916347f7SJordan K. Hubbard /* sc=10 */ 'q', 'Q', 0x11, 0x11, 'q', 'Q', 0x11, 0x11, 0x00, 0x01, 57916347f7SJordan K. Hubbard /* sc=11 */ 'w', 'W', 0x17, 0x17, 'w', 'W', 0x17, 0x17, 0x00, 0x01, 58916347f7SJordan K. Hubbard /* sc=12 */ 'e', 'E', 0x05, 0x05, 'e', 'E', 0x05, 0x05, 0x00, 0x01, 59916347f7SJordan K. Hubbard /* sc=13 */ 'r', 'R', 0x12, 0x12, 'r', 'R', 0x12, 0x12, 0x00, 0x01, 60916347f7SJordan K. Hubbard /* sc=14 */ 't', 'T', 0x14, 0x14, 't', 'T', 0x14, 0x14, 0x00, 0x01, 61916347f7SJordan K. Hubbard /* sc=15 */ 'y', 'Y', 0x19, 0x19, 'y', 'Y', 0x19, 0x19, 0x00, 0x01, 62916347f7SJordan K. Hubbard /* sc=16 */ 'u', 'U', 0x15, 0x15, 'u', 'U', 0x15, 0x15, 0x00, 0x01, 63916347f7SJordan K. Hubbard /* sc=17 */ 'i', 'I', 0x09, 0x09, 'i', 'I', 0x09, 0x09, 0x00, 0x01, 64916347f7SJordan K. Hubbard /* sc=18 */ 'o', 'O', 0x0F, 0x0F, 'o', 'O', 0x0F, 0x0F, 0x00, 0x01, 65916347f7SJordan K. Hubbard /* sc=19 */ 'p', 'P', 0x10, 0x10, 'p', 'P', 0x10, 0x10, 0x00, 0x01, 66916347f7SJordan K. Hubbard /* sc=1a */ 0xE5, 0xC5, NOP, NOP, 0x86, 0x8F, NOP, NOP, 0x33, 0x01, 67916347f7SJordan K. Hubbard /* sc=1b */ '"', '^', 0x1E, 0x1E, '~', '^', 0x1E, 0x1E, 0x00, 0x00, 68916347f7SJordan K. Hubbard /* sc=1c */ 0x0D, 0x0D, 0x0A, 0x0A, 0x0D, 0x0D, 0x0A, 0x0A, 0x00, 0x00, 69916347f7SJordan K. Hubbard /* sc=1d */ LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, 0xFF, 0x00, 70916347f7SJordan K. Hubbard /* sc=1e */ 'a', 'A', 0x01, 0x01, 'a', 'A', 0x01, 0x01, 0x00, 0x01, 71916347f7SJordan K. Hubbard /* sc=1f */ 's', 'S', 0x13, 0x13, 's', 'S', 0x13, 0x13, 0x00, 0x01, 72916347f7SJordan K. Hubbard /* sc=20 */ 'd', 'D', 0x04, 0x04, 'd', 'D', 0x04, 0x04, 0x00, 0x01, 73916347f7SJordan K. Hubbard /* sc=21 */ 'f', 'F', 0x06, 0x06, 'f', 'F', 0x06, 0x06, 0x00, 0x01, 74916347f7SJordan K. Hubbard /* sc=22 */ 'g', 'G', 0x07, 0x07, 'g', 'G', 0x07, 0x07, 0x00, 0x01, 75916347f7SJordan K. Hubbard /* sc=23 */ 'h', 'H', 0x08, 0x08, 'h', 'H', 0x08, 0x08, 0x00, 0x01, 76916347f7SJordan K. Hubbard /* sc=24 */ 'j', 'J', 0x0A, 0x0A, 'j', 'J', 0x0A, 0x0A, 0x00, 0x01, 77916347f7SJordan K. Hubbard /* sc=25 */ 'k', 'K', 0x0B, 0x0B, 'k', 'K', 0x0B, 0x0B, 0x00, 0x01, 78916347f7SJordan K. Hubbard /* sc=26 */ 'l', 'L', 0x0C, 0x0C, 'l', 'L', 0x0C, 0x0C, 0x00, 0x01, 79916347f7SJordan K. Hubbard /* sc=27 */ 0xE6, 0xC6, NOP, NOP, 0x91, 0x92, NOP, NOP, 0x33, 0x01, 80916347f7SJordan K. Hubbard /* sc=28 */ 0xF8, 0xD8, NOP, NOP, 0x9B, 0x9D, NOP, NOP, 0x33, 0x01, 81916347f7SJordan K. Hubbard /* sc=29 */ 0xBD, 0xA7, NOP, NOP, 0xBD, 0xA7, NOP, NOP, 0x33, 0x00, 82916347f7SJordan K. Hubbard /* sc=2a */ LSH, LSH, LSH, LSH, LSH, LSH, LSH, LSH, 0xFF, 0x00, 83916347f7SJordan K. Hubbard /* sc=2b */ '\'', '*', NOP, NOP, '\'', '*', NOP, NOP, 0x33, 0x00, 84916347f7SJordan K. Hubbard /* sc=2c */ 'z', 'Z', 0x1A, 0x1A, 'z', 'Z', 0x1A, 0x1A, 0x00, 0x01, 85916347f7SJordan K. Hubbard /* sc=2d */ 'x', 'X', 0x18, 0x18, 'x', 'X', 0x18, 0x18, 0x00, 0x01, 86916347f7SJordan K. Hubbard /* sc=2e */ 'c', 'C', 0x03, 0x03, 'c', 'C', 0x03, 0x03, 0x00, 0x01, 87916347f7SJordan K. Hubbard /* sc=2f */ 'v', 'V', 0x16, 0x16, 'v', 'V', 0x16, 0x16, 0x00, 0x01, 88916347f7SJordan K. Hubbard /* sc=30 */ 'b', 'B', 0x02, 0x02, 'b', 'B', 0x02, 0x02, 0x00, 0x01, 89916347f7SJordan K. Hubbard /* sc=31 */ 'n', 'N', 0x0E, 0x0E, 'n', 'N', 0x0E, 0x0E, 0x00, 0x01, 90916347f7SJordan K. Hubbard /* sc=32 */ 'm', 'M', 0x0D, 0x0D, 'm', 'M', 0x0D, 0x0D, 0x00, 0x01, 91916347f7SJordan K. Hubbard /* sc=33 */ ',', ';', NOP, NOP, ',', ';', NOP, NOP, 0x33, 0x00, 92916347f7SJordan K. Hubbard /* sc=34 */ '.', ':', NOP, NOP, '.', ':', NOP, NOP, 0x33, 0x00, 93916347f7SJordan K. Hubbard /* sc=35 */ '-', '_', 0x1F, 0x1F, '-', '_', 0x1F, 0x1F, 0x00, 0x00, 94916347f7SJordan K. Hubbard /* sc=36 */ RSH, RSH, RSH, RSH, RSH, RSH, RSH, RSH, 0xFF, 0x00, 9533853f97SJordan K. Hubbard /* sc=37 */ '*', '*', '*', '*', '*', '*', '*', '*', 0x00, 0x00, 96916347f7SJordan K. Hubbard /* sc=38 */ LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, 0xFF, 0x00, 97916347f7SJordan K. Hubbard /* sc=39 */ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 0x00, 0x00, 98916347f7SJordan K. Hubbard /* sc=3a */ CLK, CLK, CLK, CLK, CLK, CLK, CLK, CLK, 0xFF, 0x00, 99916347f7SJordan K. Hubbard /* sc=3b */ F( 1), F(13), F(25), F(37), S( 1), S(11), S( 1), S(11), 0xFF, 0x00, 100916347f7SJordan K. Hubbard /* sc=3c */ F( 2), F(14), F(26), F(38), S( 2), S(12), S( 2), S(12), 0xFF, 0x00, 101916347f7SJordan K. Hubbard /* sc=3d */ F( 3), F(15), F(27), F(39), S( 3), S(13), S( 3), S(13), 0xFF, 0x00, 102916347f7SJordan K. Hubbard /* sc=3e */ F( 4), F(16), F(28), F(40), S( 4), S(14), S( 4), S(14), 0xFF, 0x00, 103916347f7SJordan K. Hubbard /* sc=3f */ F( 5), F(17), F(29), F(41), S( 5), S(15), S( 5), S(15), 0xFF, 0x00, 104916347f7SJordan K. Hubbard /* sc=40 */ F( 6), F(18), F(30), F(42), S( 6), S(16), S( 6), S(16), 0xFF, 0x00, 105916347f7SJordan K. Hubbard /* sc=41 */ F( 7), F(19), F(31), F(43), S( 7), S( 7), S( 7), S( 7), 0xFF, 0x00, 106916347f7SJordan K. Hubbard /* sc=42 */ F( 8), F(20), F(32), F(44), S( 8), S( 8), S( 8), S( 8), 0xFF, 0x00, 107916347f7SJordan K. Hubbard /* sc=43 */ F( 9), F(21), F(33), F(45), S( 9), S( 9), S( 9), S( 9), 0xFF, 0x00, 108916347f7SJordan K. Hubbard /* sc=44 */ F(10), F(22), F(34), F(46), S(10), S(10), S(10), S(10), 0xFF, 0x00, 109916347f7SJordan K. Hubbard /* sc=45 */ NLK, NLK, NLK, NLK, NLK, NLK, NLK, NLK, 0xFF, 0x00, 110916347f7SJordan K. Hubbard /* sc=46 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00, 111916347f7SJordan K. Hubbard /* sc=47 */ F(49), '7', '7', '7', '7', '7', '7', '7', 0x80, 0x02, 112916347f7SJordan K. Hubbard /* sc=48 */ F(50), '8', '8', '8', '8', '8', '8', '8', 0x80, 0x02, 113916347f7SJordan K. Hubbard /* sc=49 */ F(51), '9', '9', '9', '9', '9', '9', '9', 0x80, 0x02, 114c3b435bbSJordan K. Hubbard /* sc=4a */ F(52), '-', '-', '-', '-', '-', '-', '-', 0x80, 0x02, 115916347f7SJordan K. Hubbard /* sc=4b */ F(53), '4', '4', '4', '4', '4', '4', '4', 0x80, 0x02, 116a926a37bSSøren Schmidt /* sc=4c */ F(54), '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02, 117916347f7SJordan K. Hubbard /* sc=4d */ F(55), '6', '6', '6', '6', '6', '6', '6', 0x80, 0x02, 118916347f7SJordan K. Hubbard /* sc=4e */ F(56), '+', '+', '+', '+', '+', '+', '+', 0x80, 0x02, 119916347f7SJordan K. Hubbard /* sc=4f */ F(57), '1', '1', '1', '1', '1', '1', '1', 0x80, 0x02, 120916347f7SJordan K. Hubbard /* sc=50 */ F(58), '2', '2', '2', '2', '2', '2', '2', 0x80, 0x02, 121916347f7SJordan K. Hubbard /* sc=51 */ F(59), '3', '3', '3', '3', '3', '3', '3', 0x80, 0x02, 122916347f7SJordan K. Hubbard /* sc=52 */ F(60), '0', '0', '0', '0', '0', '0', '0', 0x80, 0x02, 1236de1193dSSøren Schmidt /* sc=53 */ 0x7F, '.', '.', '.', '.', '.', RBT, RBT, 0x03, 0x02, 124916347f7SJordan K. Hubbard /* sc=54 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 125916347f7SJordan K. Hubbard /* sc=55 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 126916347f7SJordan K. Hubbard /* sc=56 */ '<', '>', 0x1C, 0x1C, '\\', '>', 0x1C, 0x1C, 0x00, 0x00, 127916347f7SJordan K. Hubbard /* sc=57 */ F(11), F(23), F(35), F(47), S(11), S(11), S(11), S(11), 0xFF, 0x00, 128916347f7SJordan K. Hubbard /* sc=58 */ F(12), F(24), F(36), F(48), S(12), S(12), S(12), S(12), 0xFF, 0x00, 129916347f7SJordan K. Hubbard /* sc=59 */ 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x00, 0x02, 130916347f7SJordan K. Hubbard /* sc=5a */ RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, 0xFF, 0x00, 131916347f7SJordan K. Hubbard /* sc=5b */ '/', '/', '/', '/', '/', '/', '/', '/', 0x00, 0x00, 13233853f97SJordan K. Hubbard /* sc=5c */ NEXT, NOP, DBG, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 133916347f7SJordan K. Hubbard /* sc=5d */ RALT, RALT, RALT, RALT, RALT, RALT, RALT, RALT, 0xFF, 0x00, 134916347f7SJordan K. Hubbard /* sc=5e */ F(49), F(49), F(49), F(49), F(49), F(49), F(49), F(49), 0xFF, 0x00, 135916347f7SJordan K. Hubbard /* sc=5f */ F(50), F(50), F(50), F(50), F(50), F(50), F(50), F(50), 0xFF, 0x00, 136916347f7SJordan K. Hubbard /* sc=60 */ F(51), F(51), F(51), F(51), F(51), F(51), F(51), F(51), 0xFF, 0x00, 137916347f7SJordan K. Hubbard /* sc=61 */ F(53), F(53), F(53), F(53), F(53), F(53), F(53), F(53), 0xFF, 0x00, 138916347f7SJordan K. Hubbard /* sc=62 */ F(55), F(55), F(55), F(55), F(55), F(55), F(55), F(55), 0xFF, 0x00, 139916347f7SJordan K. Hubbard /* sc=63 */ F(57), F(57), F(57), F(57), F(57), F(57), F(57), F(57), 0xFF, 0x00, 140916347f7SJordan K. Hubbard /* sc=64 */ F(58), F(58), F(58), F(58), F(58), F(58), F(58), F(58), 0xFF, 0x00, 141916347f7SJordan K. Hubbard /* sc=65 */ F(59), F(59), F(59), F(59), F(59), F(59), F(59), F(59), 0xFF, 0x00, 142916347f7SJordan K. Hubbard /* sc=66 */ F(60), F(60), F(60), F(60), F(60), F(60), F(60), F(60), 0xFF, 0x00, 1436de1193dSSøren Schmidt /* sc=67 */ 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, RBT, 0x7F, 0x02, 0x00, 144916347f7SJordan K. Hubbard /* sc=68 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00, 1455e146a01SSøren Schmidt /* sc=69 */ F(61), F(61), F(61), F(61), F(61), F(61), F(61), F(61), 0xFF, 0x00, 1465e146a01SSøren Schmidt /* sc=6a */ F(62), F(62), F(62), F(62), F(62), F(62), F(62), F(62), 0xFF, 0x00, 1475e146a01SSøren Schmidt /* sc=6b */ F(63), F(63), F(63), F(63), F(63), F(63), F(63), F(63), 0xFF, 0x00, 148916347f7SJordan K. Hubbard }; 149c3b435bbSJordan K. Hubbard #endif 150916347f7SJordan K. Hubbard 151c3b435bbSJordan K. Hubbard #ifdef UKKEYMAP 1525e146a01SSøren Schmidt keymap_t key_map = { 0x6C, /* uk iso8859 keymap */ 153c3b435bbSJordan K. Hubbard /* alt 154c3b435bbSJordan K. Hubbard * scan cntrl alt alt cntrl 155c3b435bbSJordan K. Hubbard * code base shift cntrl shift alt shift cntrl shift spcl flgs 156c3b435bbSJordan K. Hubbard * --------------------------------------------------------------------------- 157c3b435bbSJordan K. Hubbard */ 158c3b435bbSJordan K. Hubbard /* sc=00 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 1598b2e5491SNate Williams /* sc=01 */ 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, DBG, 0x1B, 0x02, 0x00, 160c3b435bbSJordan K. Hubbard /* sc=02 */ '1', '!', NOP, NOP, '`', '`', NOP, NOP, 0x33, 0x00, 161c3b435bbSJordan K. Hubbard /* sc=03 */ '2', '"', 0x00, 0x00, '@', '@', 0x00, 0x00, 0x00, 0x00, 162c3b435bbSJordan K. Hubbard /* sc=04 */ '3', 0xA3, NOP, NOP, '#', '#', NOP, NOP, 0x33, 0x00, 163c3b435bbSJordan K. Hubbard /* sc=05 */ '4', '$', NOP, NOP, '4', '$', NOP, NOP, 0x33, 0x00, 164c3b435bbSJordan K. Hubbard /* sc=06 */ '5', '%', NOP, NOP, '5', '%', NOP, NOP, 0x33, 0x00, 165c3b435bbSJordan K. Hubbard /* sc=07 */ '6', '^', 0x1E, 0x1E, '^', '^', 0x1E, 0x1E, 0x00, 0x00, 166c3b435bbSJordan K. Hubbard /* sc=08 */ '7', '&', NOP, NOP, '[', '[', 0x1B, 0x1B, 0x30, 0x00, 167c3b435bbSJordan K. Hubbard /* sc=09 */ '8', '*', NOP, NOP, '8', '*', NOP, NOP, 0x33, 0x00, 168c3b435bbSJordan K. Hubbard /* sc=0a */ '9', '(', NOP, NOP, ']', ']', 0x1D, 0x1D, 0x30, 0x00, 169c3b435bbSJordan K. Hubbard /* sc=0b */ '0', ')', NOP, NOP, '{', '{', NOP, NOP, 0x33, 0x00, 170c3b435bbSJordan K. Hubbard /* sc=0c */ '-', '_', 0x1F, 0x1F, '|', '|', 0x1F, 0x1F, 0x00, 0x00, 171c3b435bbSJordan K. Hubbard /* sc=0d */ '=', '+', NOP, NOP, '}', '}', NOP, NOP, 0x33, 0x00, 172c3b435bbSJordan K. Hubbard /* sc=0e */ 0x08, 0x08, 0x7F, 0x7F, 0x08, 0x08, 0x7F, 0x7F, 0x00, 0x00, 1731afec254SAndrey A. Chernov /* sc=0f */ 0x09, BTAB, NOP, NOP, 0x09, BTAB, NOP, NOP, 0x77, 0x00, 174c3b435bbSJordan K. Hubbard /* sc=10 */ 'q', 'Q', 0x11, 0x11, 'q', 'Q', 0x11, 0x11, 0x00, 0x01, 175c3b435bbSJordan K. Hubbard /* sc=11 */ 'w', 'W', 0x17, 0x17, 'w', 'W', 0x17, 0x17, 0x00, 0x01, 176c3b435bbSJordan K. Hubbard /* sc=12 */ 'e', 'E', 0x05, 0x05, 'e', 'E', 0x05, 0x05, 0x00, 0x01, 177c3b435bbSJordan K. Hubbard /* sc=13 */ 'r', 'R', 0x12, 0x12, 'r', 'R', 0x12, 0x12, 0x00, 0x01, 178c3b435bbSJordan K. Hubbard /* sc=14 */ 't', 'T', 0x14, 0x14, 't', 'T', 0x14, 0x14, 0x00, 0x01, 179c3b435bbSJordan K. Hubbard /* sc=15 */ 'y', 'Y', 0x19, 0x19, 'y', 'Y', 0x19, 0x19, 0x00, 0x01, 180c3b435bbSJordan K. Hubbard /* sc=16 */ 'u', 'U', 0x15, 0x15, 'u', 'U', 0x15, 0x15, 0x00, 0x01, 181c3b435bbSJordan K. Hubbard /* sc=17 */ 'i', 'I', 0x09, 0x09, 'i', 'I', 0x09, 0x09, 0x00, 0x01, 182c3b435bbSJordan K. Hubbard /* sc=18 */ 'o', 'O', 0x0F, 0x0F, 'o', 'O', 0x0F, 0x0F, 0x00, 0x01, 183c3b435bbSJordan K. Hubbard /* sc=19 */ 'p', 'P', 0x10, 0x10, 'p', 'P', 0x10, 0x10, 0x00, 0x01, 184c3b435bbSJordan K. Hubbard /* sc=1a */ '[', '{', 0x1B, 0x1B, '[', '{', 0x1B, 0x1B, 0x00, 0x00, 185c3b435bbSJordan K. Hubbard /* sc=1b */ ']', '}', 0x1D, 0x1D, ']', '}', 0x1D, 0x1D, 0x00, 0x00, 186c3b435bbSJordan K. Hubbard /* sc=1c */ 0x0D, 0x0D, 0x0A, 0x0A, 0x0D, 0x0D, 0x0A, 0x0A, 0x00, 0x00, 187c3b435bbSJordan K. Hubbard /* sc=1d */ LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, 0xFF, 0x00, 188c3b435bbSJordan K. Hubbard /* sc=1e */ 'a', 'A', 0x01, 0x01, 'a', 'A', 0x01, 0x01, 0x00, 0x01, 189c3b435bbSJordan K. Hubbard /* sc=1f */ 's', 'S', 0x13, 0x13, 's', 'S', 0x13, 0x13, 0x00, 0x01, 190c3b435bbSJordan K. Hubbard /* sc=20 */ 'd', 'D', 0x04, 0x04, 'd', 'D', 0x04, 0x04, 0x00, 0x01, 191c3b435bbSJordan K. Hubbard /* sc=21 */ 'f', 'F', 0x06, 0x06, 'f', 'F', 0x06, 0x06, 0x00, 0x01, 192c3b435bbSJordan K. Hubbard /* sc=22 */ 'g', 'G', 0x07, 0x07, 'g', 'G', 0x07, 0x07, 0x00, 0x01, 193c3b435bbSJordan K. Hubbard /* sc=23 */ 'h', 'H', 0x08, 0x08, 'h', 'H', 0x08, 0x08, 0x00, 0x01, 194c3b435bbSJordan K. Hubbard /* sc=24 */ 'j', 'J', 0x0A, 0x0A, 'j', 'J', 0x0A, 0x0A, 0x00, 0x01, 195c3b435bbSJordan K. Hubbard /* sc=25 */ 'k', 'K', 0x0B, 0x0B, 'k', 'K', 0x0B, 0x0B, 0x00, 0x01, 196c3b435bbSJordan K. Hubbard /* sc=26 */ 'l', 'L', 0x0C, 0x0C, 'l', 'L', 0x0C, 0x0C, 0x00, 0x01, 197c3b435bbSJordan K. Hubbard /* sc=27 */ ';', ':', NOP, NOP, ';', ':', NOP, NOP, 0x33, 0x00, 198c3b435bbSJordan K. Hubbard /* sc=28 */ '\'', '@', 0x00, 0x00, '\'', '@', 0x00, 0x00, 0x00, 0x00, 199c3b435bbSJordan K. Hubbard /* sc=29 */ '\\', '|', 0x1C, 0x1C, '\\', '\\', 0x1C, 0x1C, 0x00, 0x00, 200c3b435bbSJordan K. Hubbard /* sc=2a */ LSH, LSH, LSH, LSH, LSH, LSH, LSH, LSH, 0xFF, 0x00, 201c3b435bbSJordan K. Hubbard /* sc=2b */ '#', '~', NOP, NOP, '~', '~', NOP, NOP, 0x33, 0x00, 202c3b435bbSJordan K. Hubbard /* sc=2c */ 'z', 'Z', 0x1A, 0x1A, 'z', 'Z', 0x1A, 0x1A, 0x00, 0x01, 203c3b435bbSJordan K. Hubbard /* sc=2d */ 'x', 'X', 0x18, 0x18, 'x', 'X', 0x18, 0x18, 0x00, 0x01, 204c3b435bbSJordan K. Hubbard /* sc=2e */ 'c', 'C', 0x03, 0x03, 'c', 'C', 0x03, 0x03, 0x00, 0x01, 205c3b435bbSJordan K. Hubbard /* sc=2f */ 'v', 'V', 0x16, 0x16, 'v', 'V', 0x16, 0x16, 0x00, 0x01, 206c3b435bbSJordan K. Hubbard /* sc=30 */ 'b', 'B', 0x02, 0x02, 'b', 'B', 0x02, 0x02, 0x00, 0x01, 207c3b435bbSJordan K. Hubbard /* sc=31 */ 'n', 'N', 0x0E, 0x0E, 'n', 'N', 0x0E, 0x0E, 0x00, 0x01, 208c3b435bbSJordan K. Hubbard /* sc=32 */ 'm', 'M', 0x0D, 0x0D, 'm', 'M', 0x0D, 0x0D, 0x00, 0x01, 209c3b435bbSJordan K. Hubbard /* sc=33 */ ',', '<', NOP, NOP, ',', '<', NOP, NOP, 0x33, 0x00, 210c3b435bbSJordan K. Hubbard /* sc=34 */ '.', '>', NOP, NOP, '.', '>', NOP, NOP, 0x33, 0x00, 211c3b435bbSJordan K. Hubbard /* sc=35 */ '/', '?', NOP, NOP, '/', '?', NOP, NOP, 0x33, 0x00, 212c3b435bbSJordan K. Hubbard /* sc=36 */ RSH, RSH, RSH, RSH, RSH, RSH, RSH, RSH, 0xFF, 0x00, 213c3b435bbSJordan K. Hubbard /* sc=37 */ '*', '*', 0x0A, 0x0A, '*', '*', 0x0A, 0x0A, 0x33, 0x00, 214c3b435bbSJordan K. Hubbard /* sc=38 */ LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, 0xFF, 0x00, 215c3b435bbSJordan K. Hubbard /* sc=39 */ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 0x00, 0x00, 216c3b435bbSJordan K. Hubbard /* sc=3a */ CLK, CLK, CLK, CLK, CLK, CLK, CLK, CLK, 0xFF, 0x00, 217c3b435bbSJordan K. Hubbard /* sc=3b */ F( 1), F(13), F(25), F(37), S( 1), S(11), S( 1), S(11), 0xFF, 0x00, 218c3b435bbSJordan K. Hubbard /* sc=3c */ F( 2), F(14), F(26), F(38), S( 2), S(12), S( 2), S(12), 0xFF, 0x00, 219c3b435bbSJordan K. Hubbard /* sc=3d */ F( 3), F(15), F(27), F(39), S( 3), S(13), S( 3), S(13), 0xFF, 0x00, 220c3b435bbSJordan K. Hubbard /* sc=3e */ F( 4), F(16), F(28), F(40), S( 4), S(14), S( 4), S(14), 0xFF, 0x00, 221c3b435bbSJordan K. Hubbard /* sc=3f */ F( 5), F(17), F(29), F(41), S( 5), S(15), S( 5), S(15), 0xFF, 0x00, 222c3b435bbSJordan K. Hubbard /* sc=40 */ F( 6), F(18), F(30), F(42), S( 6), S(16), S( 6), S(16), 0xFF, 0x00, 223c3b435bbSJordan K. Hubbard /* sc=41 */ F( 7), F(19), F(31), F(43), S( 7), S( 7), S( 7), S( 7), 0xFF, 0x00, 224c3b435bbSJordan K. Hubbard /* sc=42 */ F( 8), F(20), F(32), F(44), S( 8), S( 8), S( 8), S( 8), 0xFF, 0x00, 225c3b435bbSJordan K. Hubbard /* sc=43 */ F( 9), F(21), F(33), F(45), S( 9), S( 9), S( 9), S( 9), 0xFF, 0x00, 226c3b435bbSJordan K. Hubbard /* sc=44 */ F(10), F(22), F(34), F(46), S(10), S(10), S(10), S(10), 0xFF, 0x00, 227c3b435bbSJordan K. Hubbard /* sc=45 */ NLK, NLK, 0x13, 0x13, NLK, NLK, 0x13, 0x13, 0xCC, 0x00, 228c3b435bbSJordan K. Hubbard /* sc=46 */ SLK, SLK, 0x7F, 0x7F, SLK, SLK, 0x7F, 0x7F, 0xCC, 0x00, 229c3b435bbSJordan K. Hubbard /* sc=47 */ F(49), '7', '7', '7', '7', '7', '7', '7', 0x80, 0x02, 230c3b435bbSJordan K. Hubbard /* sc=48 */ F(50), '8', '8', '8', '8', '8', '8', '8', 0x80, 0x02, 231c3b435bbSJordan K. Hubbard /* sc=49 */ F(51), '9', '9', '9', '9', '9', '9', '9', 0x80, 0x02, 232c3b435bbSJordan K. Hubbard /* sc=4a */ F(52), '-', 0x1F, 0x1F, '-', '-', '-', '-', 0x80, 0x02, 233c3b435bbSJordan K. Hubbard /* sc=4b */ F(53), '4', '4', '4', '4', '4', '4', '4', 0x80, 0x02, 234a926a37bSSøren Schmidt /* sc=4c */ F(54), '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02, 235c3b435bbSJordan K. Hubbard /* sc=4d */ F(55), '6', 0x1E, 0x1E, '6', '6', '6', '6', 0x80, 0x02, 236c3b435bbSJordan K. Hubbard /* sc=4e */ F(56), '+', '+', '+', '+', '+', '+', '+', 0x80, 0x02, 237c3b435bbSJordan K. Hubbard /* sc=4f */ F(57), '1', '1', '1', '1', '1', '1', '1', 0x80, 0x02, 238c3b435bbSJordan K. Hubbard /* sc=50 */ F(58), '2', '2', '2', '2', '2', '2', '2', 0x80, 0x02, 239c3b435bbSJordan K. Hubbard /* sc=51 */ F(59), '3', '3', '3', '3', '3', '3', '3', 0x80, 0x02, 240c3b435bbSJordan K. Hubbard /* sc=52 */ F(60), '0', '0', '0', '0', '0', '0', '0', 0x80, 0x02, 2416de1193dSSøren Schmidt /* sc=53 */ 0x7F, '.', '.', '.', '.', '.', RBT, RBT, 0x03, 0x02, 2428b2e5491SNate Williams /* sc=54 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 243c3b435bbSJordan K. Hubbard /* sc=55 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 244c3b435bbSJordan K. Hubbard /* sc=56 */ '\\', '|', 0x1C, 0x1C, '\\', '|', 0x1C, 0x1C, 0x00, 0x00, 245c3b435bbSJordan K. Hubbard /* sc=57 */ F(11), F(23), F(35), F(47), S(11), S(11), S(11), S(11), 0xFF, 0x00, 246c3b435bbSJordan K. Hubbard /* sc=58 */ F(12), F(24), F(36), F(48), S(12), S(12), S(12), S(12), 0xFF, 0x00, 247c3b435bbSJordan K. Hubbard /* sc=59 */ 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0xFF, 0x02, 248c3b435bbSJordan K. Hubbard /* sc=5a */ RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, 0xFF, 0x00, 249c3b435bbSJordan K. Hubbard /* sc=5b */ '/', '/', '/', '/', '/', '/', '/', '/', 0x00, 0x02, 25033853f97SJordan K. Hubbard /* sc=5c */ NEXT, NOP, DBG, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 251c3b435bbSJordan K. Hubbard /* sc=5d */ RALT, RALT, RALT, RALT, RALT, RALT, RALT, RALT, 0xFF, 0x00, 252c3b435bbSJordan K. Hubbard /* sc=5e */ F(49), F(49), F(49), F(49), F(49), F(49), F(49), F(49), 0xFF, 0x00, 253c3b435bbSJordan K. Hubbard /* sc=5f */ F(50), F(50), F(50), F(50), F(50), F(50), F(50), F(50), 0xFF, 0x00, 254c3b435bbSJordan K. Hubbard /* sc=60 */ F(51), F(51), F(51), F(51), F(51), F(51), F(51), F(51), 0xFF, 0x00, 255c3b435bbSJordan K. Hubbard /* sc=61 */ F(53), F(53), F(53), F(53), F(53), F(53), F(53), F(53), 0xFF, 0x00, 256c3b435bbSJordan K. Hubbard /* sc=62 */ F(55), F(55), F(55), F(55), F(55), F(55), F(55), F(55), 0xFF, 0x00, 257c3b435bbSJordan K. Hubbard /* sc=63 */ F(57), F(57), F(57), F(57), F(57), F(57), F(57), F(57), 0xFF, 0x00, 258c3b435bbSJordan K. Hubbard /* sc=64 */ F(58), F(58), F(58), F(58), F(58), F(58), F(58), F(58), 0xFF, 0x00, 259c3b435bbSJordan K. Hubbard /* sc=65 */ F(59), F(59), F(59), F(59), F(59), F(59), F(59), F(59), 0xFF, 0x00, 260c3b435bbSJordan K. Hubbard /* sc=66 */ F(60), F(60), F(60), F(60), F(60), F(60), F(60), F(60), 0xFF, 0x00, 2616de1193dSSøren Schmidt /* sc=67 */ 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, RBT, 0x7F, 0x02, 0x00, 262c3b435bbSJordan K. Hubbard /* sc=68 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00, 2635e146a01SSøren Schmidt /* sc=69 */ F(61), F(61), F(61), F(61), F(61), F(61), F(61), F(61), 0xFF, 0x00, 2645e146a01SSøren Schmidt /* sc=6a */ F(62), F(62), F(62), F(62), F(62), F(62), F(62), F(62), 0xFF, 0x00, 2655e146a01SSøren Schmidt /* sc=6b */ F(63), F(63), F(63), F(63), F(63), F(63), F(63), F(63), 0xFF, 0x00, 266c3b435bbSJordan K. Hubbard }; 267c3b435bbSJordan K. Hubbard #endif 268916347f7SJordan K. Hubbard 269c3b435bbSJordan K. Hubbard #ifdef GRKEYMAP 2705e146a01SSøren Schmidt keymap_t key_map = { 0x6C, /* german iso8859 keymap */ 271c3b435bbSJordan K. Hubbard /* alt 272c3b435bbSJordan K. Hubbard * scan cntrl alt alt cntrl 273c3b435bbSJordan K. Hubbard * code base shift cntrl shift alt shift cntrl shift spcl flgs 274c3b435bbSJordan K. Hubbard * --------------------------------------------------------------------------- 275c3b435bbSJordan K. Hubbard */ 276c3b435bbSJordan K. Hubbard /* sc=00 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 2778b2e5491SNate Williams /* sc=01 */ 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, DBG, 0x1B, 0x02, 0x00, 278c3b435bbSJordan K. Hubbard /* sc=02 */ '1', '!', NOP, NOP, '`', '`', NOP, NOP, 0x33, 0x00, 279c3b435bbSJordan K. Hubbard /* sc=03 */ '2', '"', 0x00, 0x00, '@', '@', 0x00, 0x00, 0x00, 0x00, 280c3b435bbSJordan K. Hubbard /* sc=04 */ '3', 0xA7, NOP, NOP, '#', '#', NOP, NOP, 0x33, 0x00, 281c3b435bbSJordan K. Hubbard /* sc=05 */ '4', '$', NOP, NOP, '4', '$', NOP, NOP, 0x33, 0x00, 282c3b435bbSJordan K. Hubbard /* sc=06 */ '5', '%', NOP, NOP, '5', '%', NOP, NOP, 0x33, 0x00, 283c3b435bbSJordan K. Hubbard /* sc=07 */ '6', '&', 0x1E, 0x1E, '^', '^', 0x1E, 0x1E, 0x00, 0x00, 284c3b435bbSJordan K. Hubbard /* sc=08 */ '7', '/', 0x1B, 0x1B, '[', '[', 0x1B, 0x1B, 0x00, 0x00, 285c3b435bbSJordan K. Hubbard /* sc=09 */ '8', '(', NOP, NOP, '8', '(', NOP, NOP, 0x33, 0x00, 286c3b435bbSJordan K. Hubbard /* sc=0a */ '9', ')', 0x1D, 0x1D, ']', ']', 0x1D, 0x1D, 0x00, 0x00, 287c3b435bbSJordan K. Hubbard /* sc=0b */ '0', '=', NOP, NOP, '{', '{', NOP, NOP, 0x33, 0x00, 288c3b435bbSJordan K. Hubbard /* sc=0c */ 0xDF, '?', NOP, NOP, '|', '|', NOP, NOP, 0x33, 0x00, 289c3b435bbSJordan K. Hubbard /* sc=0d */ 0x92, 0x93, NOP, NOP, '\'', '`', NOP, NOP, 0x33, 0x00, 290c3b435bbSJordan K. Hubbard /* sc=0e */ 0x08, 0x08, 0x7F, 0x7F, 0x08, 0x08, 0x7F, 0x7F, 0x00, 0x00, 2911afec254SAndrey A. Chernov /* sc=0f */ 0x09, BTAB, NOP, NOP, 0x09, BTAB, NOP, NOP, 0x77, 0x00, 292c3b435bbSJordan K. Hubbard /* sc=10 */ 'q', 'Q', 0x11, 0x11, 'q', 'Q', 0x11, 0x11, 0x00, 0x01, 293c3b435bbSJordan K. Hubbard /* sc=11 */ 'w', 'W', 0x17, 0x17, 'w', 'W', 0x17, 0x17, 0x00, 0x01, 294c3b435bbSJordan K. Hubbard /* sc=12 */ 'e', 'E', 0x05, 0x05, 'e', 'E', 0x05, 0x05, 0x00, 0x01, 295c3b435bbSJordan K. Hubbard /* sc=13 */ 'r', 'R', 0x12, 0x12, 'r', 'R', 0x12, 0x12, 0x00, 0x01, 296c3b435bbSJordan K. Hubbard /* sc=14 */ 't', 'T', 0x14, 0x14, 't', 'T', 0x14, 0x14, 0x00, 0x01, 297c3b435bbSJordan K. Hubbard /* sc=15 */ 'z', 'Z', 0x1A, 0x1A, 'z', 'Z', 0x1A, 0x1A, 0x00, 0x01, 298c3b435bbSJordan K. Hubbard /* sc=16 */ 'u', 'U', 0x15, 0x15, 'u', 'U', 0x15, 0x15, 0x00, 0x01, 299c3b435bbSJordan K. Hubbard /* sc=17 */ 'i', 'I', 0x09, 0x09, 'i', 'I', 0x09, 0x09, 0x00, 0x01, 300c3b435bbSJordan K. Hubbard /* sc=18 */ 'o', 'O', 0x0F, 0x0F, 'o', 'O', 0x0F, 0x0F, 0x00, 0x01, 301c3b435bbSJordan K. Hubbard /* sc=19 */ 'p', 'P', 0x10, 0x10, 'p', 'P', 0x10, 0x10, 0x00, 0x01, 302c3b435bbSJordan K. Hubbard /* sc=1a */ 0xFC, 0xDC, 0x1B, 0x1B, '[', '{', 0x1B, 0x1B, 0x00, 0x01, 303c3b435bbSJordan K. Hubbard /* sc=1b */ '+', '*', 0x1D, 0x1D, ']', '}', 0x1D, 0x1D, 0x00, 0x00, 304c3b435bbSJordan K. Hubbard /* sc=1c */ 0x0D, 0x0D, 0x0A, 0x0A, 0x0D, 0x0D, 0x0A, 0x0A, 0x00, 0x00, 305c3b435bbSJordan K. Hubbard /* sc=1d */ LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, 0xFF, 0x00, 306c3b435bbSJordan K. Hubbard /* sc=1e */ 'a', 'A', 0x01, 0x01, 'a', 'A', 0x01, 0x01, 0x00, 0x01, 307c3b435bbSJordan K. Hubbard /* sc=1f */ 's', 'S', 0x13, 0x13, 's', 'S', 0x13, 0x13, 0x00, 0x01, 308c3b435bbSJordan K. Hubbard /* sc=20 */ 'd', 'D', 0x04, 0x04, 'd', 'D', 0x04, 0x04, 0x00, 0x01, 309c3b435bbSJordan K. Hubbard /* sc=21 */ 'f', 'F', 0x06, 0x06, 'f', 'F', 0x06, 0x06, 0x00, 0x01, 310c3b435bbSJordan K. Hubbard /* sc=22 */ 'g', 'G', 0x07, 0x07, 'g', 'G', 0x07, 0x07, 0x00, 0x01, 311c3b435bbSJordan K. Hubbard /* sc=23 */ 'h', 'H', 0x08, 0x08, 'h', 'H', 0x08, 0x08, 0x00, 0x01, 312c3b435bbSJordan K. Hubbard /* sc=24 */ 'j', 'J', 0x0A, 0x0A, 'j', 'J', 0x0A, 0x0A, 0x00, 0x01, 313c3b435bbSJordan K. Hubbard /* sc=25 */ 'k', 'K', 0x0B, 0x0B, 'k', 'K', 0x0B, 0x0B, 0x00, 0x01, 314c3b435bbSJordan K. Hubbard /* sc=26 */ 'l', 'L', 0x0C, 0x0C, 'l', 'L', 0x0C, 0x0C, 0x00, 0x01, 315c3b435bbSJordan K. Hubbard /* sc=27 */ 0xF6, 0xD6, NOP, NOP, 0xF6, 0xD6, NOP, NOP, 0x33, 0x01, 316c3b435bbSJordan K. Hubbard /* sc=28 */ 0xE4, 0xC4, NOP, NOP, 0xE4, 0xC4, NOP, NOP, 0x33, 0x01, 317c3b435bbSJordan K. Hubbard /* sc=29 */ '<', '>', 0x1C, 0x1C, '\\', '|', 0x1C, 0x1C, 0x00, 0x00, 318c3b435bbSJordan K. Hubbard /* sc=2a */ LSH, LSH, LSH, LSH, LSH, LSH, LSH, LSH, 0xFF, 0x00, 319c3b435bbSJordan K. Hubbard /* sc=2b */ '#', '^', 0x1E, 0x1E, '`', '~', 0x1E, 0x1E, 0x00, 0x00, 320c3b435bbSJordan K. Hubbard /* sc=2c */ 'y', 'Y', 0x19, 0x19, 'y', 'Y', 0x19, 0x19, 0x00, 0x01, 321c3b435bbSJordan K. Hubbard /* sc=2d */ 'x', 'X', 0x18, 0x18, 'x', 'X', 0x18, 0x18, 0x00, 0x01, 322c3b435bbSJordan K. Hubbard /* sc=2e */ 'c', 'C', 0x03, 0x03, 'c', 'C', 0x03, 0x03, 0x00, 0x01, 323c3b435bbSJordan K. Hubbard /* sc=2f */ 'v', 'V', 0x16, 0x16, 'v', 'V', 0x16, 0x16, 0x00, 0x01, 324c3b435bbSJordan K. Hubbard /* sc=30 */ 'b', 'B', 0x02, 0x02, 'b', 'B', 0x02, 0x02, 0x00, 0x01, 325c3b435bbSJordan K. Hubbard /* sc=31 */ 'n', 'N', 0x0E, 0x0E, 'n', 'N', 0x0E, 0x0E, 0x00, 0x01, 326c3b435bbSJordan K. Hubbard /* sc=32 */ 'm', 'M', 0x0D, 0x0D, 'm', 'M', 0x0D, 0x0D, 0x00, 0x01, 327c3b435bbSJordan K. Hubbard /* sc=33 */ ',', ';', NOP, NOP, ',', ';', NOP, NOP, 0x33, 0x00, 328c3b435bbSJordan K. Hubbard /* sc=34 */ '.', ':', NOP, NOP, '.', ':', NOP, NOP, 0x33, 0x00, 329c3b435bbSJordan K. Hubbard /* sc=35 */ '-', '_', 0x1F, 0x1F, '-', '_', 0x1F, 0x1F, 0x00, 0x00, 330c3b435bbSJordan K. Hubbard /* sc=36 */ RSH, RSH, RSH, RSH, RSH, RSH, RSH, RSH, 0xFF, 0x00, 331c3b435bbSJordan K. Hubbard /* sc=37 */ '*', '*', 0x0A, 0x0A, '*', '*', 0x0A, 0x0A, 0x33, 0x00, 332c3b435bbSJordan K. Hubbard /* sc=38 */ LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, 0xFF, 0x00, 333c3b435bbSJordan K. Hubbard /* sc=39 */ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 0x00, 0x00, 334c3b435bbSJordan K. Hubbard /* sc=3a */ CLK, CLK, CLK, CLK, CLK, CLK, CLK, CLK, 0xFF, 0x00, 335c3b435bbSJordan K. Hubbard /* sc=3b */ F( 1), F(13), F(25), F(37), S( 1), S(11), S( 1), S(11), 0xFF, 0x00, 336c3b435bbSJordan K. Hubbard /* sc=3c */ F( 2), F(14), F(26), F(38), S( 2), S(12), S( 2), S(12), 0xFF, 0x00, 337c3b435bbSJordan K. Hubbard /* sc=3d */ F( 3), F(15), F(27), F(39), S( 3), S(13), S( 3), S(13), 0xFF, 0x00, 338c3b435bbSJordan K. Hubbard /* sc=3e */ F( 4), F(16), F(28), F(40), S( 4), S(14), S( 4), S(14), 0xFF, 0x00, 339c3b435bbSJordan K. Hubbard /* sc=3f */ F( 5), F(17), F(29), F(41), S( 5), S(15), S( 5), S(15), 0xFF, 0x00, 340c3b435bbSJordan K. Hubbard /* sc=40 */ F( 6), F(18), F(30), F(42), S( 6), S(16), S( 6), S(16), 0xFF, 0x00, 341c3b435bbSJordan K. Hubbard /* sc=41 */ F( 7), F(19), F(31), F(43), S( 7), S( 7), S( 7), S( 7), 0xFF, 0x00, 342c3b435bbSJordan K. Hubbard /* sc=42 */ F( 8), F(20), F(32), F(44), S( 8), S( 8), S( 8), S( 8), 0xFF, 0x00, 343c3b435bbSJordan K. Hubbard /* sc=43 */ F( 9), F(21), F(33), F(45), S( 9), S( 9), S( 9), S( 9), 0xFF, 0x00, 344c3b435bbSJordan K. Hubbard /* sc=44 */ F(10), F(22), F(34), F(46), S(10), S(10), S(10), S(10), 0xFF, 0x00, 345c3b435bbSJordan K. Hubbard /* sc=45 */ NLK, NLK, 0x13, 0x13, NLK, NLK, 0x13, 0x13, 0xCC, 0x00, 346c3b435bbSJordan K. Hubbard /* sc=46 */ SLK, SLK, 0x7F, 0x7F, SLK, SLK, 0x7F, 0x7F, 0xCC, 0x00, 347c3b435bbSJordan K. Hubbard /* sc=47 */ F(49), '7', '7', '7', '7', '7', '7', '7', 0x80, 0x02, 348c3b435bbSJordan K. Hubbard /* sc=48 */ F(50), '8', '8', '8', '8', '8', '8', '8', 0x80, 0x02, 349c3b435bbSJordan K. Hubbard /* sc=49 */ F(51), '9', '9', '9', '9', '9', '9', '9', 0x80, 0x02, 350c3b435bbSJordan K. Hubbard /* sc=4a */ F(52), '-', 0x1F, 0x1F, '-', '-', '-', '-', 0x80, 0x02, 351c3b435bbSJordan K. Hubbard /* sc=4b */ F(53), '4', '4', '4', '4', '4', '4', '4', 0x80, 0x02, 352a926a37bSSøren Schmidt /* sc=4c */ F(54), '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02, 353c3b435bbSJordan K. Hubbard /* sc=4d */ F(55), '6', 0x1E, 0x1E, '6', '6', '6', '6', 0x80, 0x02, 354c3b435bbSJordan K. Hubbard /* sc=4e */ F(56), '+', '+', '+', '+', '+', '+', '+', 0x80, 0x02, 355c3b435bbSJordan K. Hubbard /* sc=4f */ F(57), '1', '1', '1', '1', '1', '1', '1', 0x80, 0x02, 356c3b435bbSJordan K. Hubbard /* sc=50 */ F(58), '2', '2', '2', '2', '2', '2', '2', 0x80, 0x02, 357c3b435bbSJordan K. Hubbard /* sc=51 */ F(59), '3', '3', '3', '3', '3', '3', '3', 0x80, 0x02, 358c3b435bbSJordan K. Hubbard /* sc=52 */ F(60), '0', '0', '0', '0', '0', '0', '0', 0x80, 0x02, 3596de1193dSSøren Schmidt /* sc=53 */ 0x7F, '.', '.', '.', '.', '.', RBT, RBT, 0x03, 0x02, 360c3b435bbSJordan K. Hubbard /* sc=54 */ 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x00, 0x00, 361c3b435bbSJordan K. Hubbard /* sc=55 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 362c3b435bbSJordan K. Hubbard /* sc=56 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 363c3b435bbSJordan K. Hubbard /* sc=57 */ F(11), F(23), F(35), F(47), S(11), S(11), S(11), S(11), 0xFF, 0x00, 364c3b435bbSJordan K. Hubbard /* sc=58 */ F(12), F(24), F(36), F(48), S(12), S(12), S(12), S(12), 0xFF, 0x00, 365c3b435bbSJordan K. Hubbard /* sc=59 */ 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0xFF, 0x02, 366c3b435bbSJordan K. Hubbard /* sc=5a */ RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, 0xFF, 0x00, 367c3b435bbSJordan K. Hubbard /* sc=5b */ '/', '/', '/', '/', '/', '/', '/', '/', 0x00, 0x02, 36833853f97SJordan K. Hubbard /* sc=5c */ NEXT, NOP, DBG, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 369c3b435bbSJordan K. Hubbard /* sc=5d */ RALT, RALT, RALT, RALT, RALT, RALT, RALT, RALT, 0xFF, 0x00, 370c3b435bbSJordan K. Hubbard /* sc=5e */ F(49), F(49), F(49), F(49), F(49), F(49), F(49), F(49), 0xFF, 0x00, 371c3b435bbSJordan K. Hubbard /* sc=5f */ F(50), F(50), F(50), F(50), F(50), F(50), F(50), F(50), 0xFF, 0x00, 372c3b435bbSJordan K. Hubbard /* sc=60 */ F(51), F(51), F(51), F(51), F(51), F(51), F(51), F(51), 0xFF, 0x00, 373c3b435bbSJordan K. Hubbard /* sc=61 */ F(53), F(53), F(53), F(53), F(53), F(53), F(53), F(53), 0xFF, 0x00, 374c3b435bbSJordan K. Hubbard /* sc=62 */ F(55), F(55), F(55), F(55), F(55), F(55), F(55), F(55), 0xFF, 0x00, 375c3b435bbSJordan K. Hubbard /* sc=63 */ F(57), F(57), F(57), F(57), F(57), F(57), F(57), F(57), 0xFF, 0x00, 376c3b435bbSJordan K. Hubbard /* sc=64 */ F(58), F(58), F(58), F(58), F(58), F(58), F(58), F(58), 0xFF, 0x00, 377c3b435bbSJordan K. Hubbard /* sc=65 */ F(59), F(59), F(59), F(59), F(59), F(59), F(59), F(59), 0xFF, 0x00, 378c3b435bbSJordan K. Hubbard /* sc=66 */ F(60), F(60), F(60), F(60), F(60), F(60), F(60), F(60), 0xFF, 0x00, 3796de1193dSSøren Schmidt /* sc=67 */ 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, RBT, 0x7F, 0x02, 0x00, 380c3b435bbSJordan K. Hubbard /* sc=68 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00, 3815e146a01SSøren Schmidt /* sc=69 */ F(61), F(61), F(61), F(61), F(61), F(61), F(61), F(61), 0xFF, 0x00, 3825e146a01SSøren Schmidt /* sc=6a */ F(62), F(62), F(62), F(62), F(62), F(62), F(62), F(62), 0xFF, 0x00, 3835e146a01SSøren Schmidt /* sc=6b */ F(63), F(63), F(63), F(63), F(63), F(63), F(63), F(63), 0xFF, 0x00, 384c3b435bbSJordan K. Hubbard }; 385c3b435bbSJordan K. Hubbard #endif 386c3b435bbSJordan K. Hubbard 387c3b435bbSJordan K. Hubbard #ifdef SWKEYMAP 3885e146a01SSøren Schmidt keymap_t key_map = { 0x6C, /* swedish iso8859 keymap */ 389c3b435bbSJordan K. Hubbard /* alt 390c3b435bbSJordan K. Hubbard * scan cntrl alt alt cntrl 391c3b435bbSJordan K. Hubbard * code base shift cntrl shift alt shift cntrl shift spcl flgs 392c3b435bbSJordan K. Hubbard * --------------------------------------------------------------------------- 393c3b435bbSJordan K. Hubbard */ 394c3b435bbSJordan K. Hubbard /* sc=00 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 3958b2e5491SNate Williams /* sc=01 */ 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, DBG, 0x1B, 0x02, 0x00, 396c3b435bbSJordan K. Hubbard /* sc=02 */ '1', '!', NOP, NOP, NOP, NOP, NOP, NOP, 0x3F, 0x00, 3970573e739SSøren Schmidt /* sc=03 */ '2', '"', NOP, NOP, '@', NOP, NOP, NOP, 0x37, 0x00, 3980573e739SSøren Schmidt /* sc=04 */ '3', '#', NOP, NOP, 0xA3, NOP, NOP, NOP, 0x37, 0x00, 3990573e739SSøren Schmidt /* sc=05 */ '4', '$', NOP, NOP, 0xA4, NOP, NOP, NOP, 0x37, 0x00, 400c3b435bbSJordan K. Hubbard /* sc=06 */ '5', '%', NOP, NOP, NOP, NOP, NOP, NOP, 0x3F, 0x00, 4010573e739SSøren Schmidt /* sc=07 */ '6', '&', NOP, NOP, NOP, NOP, NOP, NOP, 0x3F, 0x00, 4020573e739SSøren Schmidt /* sc=08 */ '7', '/', NOP, NOP, '{', NOP, NOP, NOP, 0x37, 0x00, 4030573e739SSøren Schmidt /* sc=09 */ '8', '(', NOP, NOP, '[', NOP, NOP, NOP, 0x37, 0x00, 4040573e739SSøren Schmidt /* sc=0a */ '9', ')', NOP, NOP, ']', NOP, NOP, NOP, 0x37, 0x00, 4050573e739SSøren Schmidt /* sc=0b */ '0', '=', NOP, NOP, '}', NOP, NOP, NOP, 0x37, 0x00, 4060573e739SSøren Schmidt /* sc=0c */ '+', '?', NOP, NOP, '\\', NOP, 0x1C, NOP, 0x35, 0x00, 4070573e739SSøren Schmidt /* sc=0d */ 0x180, '`', NOP, NOP, NOP, NOP, NOP, NOP, 0x3F, 0x00, 408c3b435bbSJordan K. Hubbard /* sc=0e */ 0x08, 0x08, 0x7F, 0x7F, 0x08, 0x08, 0x7F, 0x7F, 0x00, 0x00, 4091afec254SAndrey A. Chernov /* sc=0f */ 0x09, BTAB, NOP, NOP, 0x09, BTAB, NOP, NOP, 0x77, 0x00, 410c3b435bbSJordan K. Hubbard /* sc=10 */ 'q', 'Q', 0x11, 0x11, 'q', 'Q', 0x11, 0x11, 0x00, 0x01, 411c3b435bbSJordan K. Hubbard /* sc=11 */ 'w', 'W', 0x17, 0x17, 'w', 'W', 0x17, 0x17, 0x00, 0x01, 412c3b435bbSJordan K. Hubbard /* sc=12 */ 'e', 'E', 0x05, 0x05, 'e', 'E', 0x05, 0x05, 0x00, 0x01, 413c3b435bbSJordan K. Hubbard /* sc=13 */ 'r', 'R', 0x12, 0x12, 'r', 'R', 0x12, 0x12, 0x00, 0x01, 414c3b435bbSJordan K. Hubbard /* sc=14 */ 't', 'T', 0x14, 0x14, 't', 'T', 0x14, 0x14, 0x00, 0x01, 415c3b435bbSJordan K. Hubbard /* sc=15 */ 'y', 'Y', 0x19, 0x19, 'y', 'Y', 0x19, 0x19, 0x00, 0x01, 416c3b435bbSJordan K. Hubbard /* sc=16 */ 'u', 'U', 0x15, 0x15, 'u', 'U', 0x15, 0x15, 0x00, 0x01, 417c3b435bbSJordan K. Hubbard /* sc=17 */ 'i', 'I', 0x09, 0x09, 'i', 'I', 0x09, 0x09, 0x00, 0x01, 418c3b435bbSJordan K. Hubbard /* sc=18 */ 'o', 'O', 0x0F, 0x0F, 'o', 'O', 0x0F, 0x0F, 0x00, 0x01, 419c3b435bbSJordan K. Hubbard /* sc=19 */ 'p', 'P', 0x10, 0x10, 'p', 'P', 0x10, 0x10, 0x00, 0x01, 4200573e739SSøren Schmidt /* sc=1a */ 0xE5, 0xC5, NOP, NOP, '}', ']', NOP, NOP, 0x33, 0x01, 4210573e739SSøren Schmidt /* sc=1b */ 0xA8, '^', NOP, NOP, '~', NOP, NOP, NOP, 0x37, 0x00, 422c3b435bbSJordan K. Hubbard /* sc=1c */ 0x0D, 0x0D, 0x0A, 0x0A, 0x0D, 0x0D, 0x0A, 0x0A, 0x00, 0x00, 423c3b435bbSJordan K. Hubbard /* sc=1d */ LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, 0xFF, 0x00, 424c3b435bbSJordan K. Hubbard /* sc=1e */ 'a', 'A', 0x01, 0x01, 'a', 'A', 0x01, 0x01, 0x00, 0x01, 425c3b435bbSJordan K. Hubbard /* sc=1f */ 's', 'S', 0x13, 0x13, 's', 'S', 0x13, 0x13, 0x00, 0x01, 426c3b435bbSJordan K. Hubbard /* sc=20 */ 'd', 'D', 0x04, 0x04, 'd', 'D', 0x04, 0x04, 0x00, 0x01, 427c3b435bbSJordan K. Hubbard /* sc=21 */ 'f', 'F', 0x06, 0x06, 'f', 'F', 0x06, 0x06, 0x00, 0x01, 428c3b435bbSJordan K. Hubbard /* sc=22 */ 'g', 'G', 0x07, 0x07, 'g', 'G', 0x07, 0x07, 0x00, 0x01, 429c3b435bbSJordan K. Hubbard /* sc=23 */ 'h', 'H', 0x08, 0x08, 'h', 'H', 0x08, 0x08, 0x00, 0x01, 430c3b435bbSJordan K. Hubbard /* sc=24 */ 'j', 'J', 0x0A, 0x0A, 'j', 'J', 0x0A, 0x0A, 0x00, 0x01, 431c3b435bbSJordan K. Hubbard /* sc=25 */ 'k', 'K', 0x0B, 0x0B, 'k', 'K', 0x0B, 0x0B, 0x00, 0x01, 432c3b435bbSJordan K. Hubbard /* sc=26 */ 'l', 'L', 0x0C, 0x0C, 'l', 'L', 0x0C, 0x0C, 0x00, 0x01, 4330573e739SSøren Schmidt /* sc=27 */ 0xF6, 0xD6, NOP, NOP, '|', '\\', NOP, NOP, 0x33, 0x01, 4340573e739SSøren Schmidt /* sc=28 */ 0xE4, 0xC4, NOP, NOP, '{', '[', NOP, NOP, 0x33, 0x01, 4350573e739SSøren Schmidt /* sc=29 */ 0xA7, 0xBD, NOP, NOP, '\\', '|', NOP, NOP, 0x33, 0x00, 436c3b435bbSJordan K. Hubbard /* sc=2a */ LSH, LSH, LSH, LSH, LSH, LSH, LSH, LSH, 0xFF, 0x00, 4370573e739SSøren Schmidt /* sc=2b */ '\'', '*', NOP, NOP, NOP, NOP, NOP, NOP, 0x3F, 0x00, 438c3b435bbSJordan K. Hubbard /* sc=2c */ 'z', 'Z', 0x1A, 0x1A, 'z', 'Z', 0x1A, 0x1A, 0x00, 0x01, 439c3b435bbSJordan K. Hubbard /* sc=2d */ 'x', 'X', 0x18, 0x18, 'x', 'X', 0x18, 0x18, 0x00, 0x01, 440c3b435bbSJordan K. Hubbard /* sc=2e */ 'c', 'C', 0x03, 0x03, 'c', 'C', 0x03, 0x03, 0x00, 0x01, 441c3b435bbSJordan K. Hubbard /* sc=2f */ 'v', 'V', 0x16, 0x16, 'v', 'V', 0x16, 0x16, 0x00, 0x01, 442c3b435bbSJordan K. Hubbard /* sc=30 */ 'b', 'B', 0x02, 0x02, 'b', 'B', 0x02, 0x02, 0x00, 0x01, 443c3b435bbSJordan K. Hubbard /* sc=31 */ 'n', 'N', 0x0E, 0x0E, 'n', 'N', 0x0E, 0x0E, 0x00, 0x01, 444c3b435bbSJordan K. Hubbard /* sc=32 */ 'm', 'M', 0x0D, 0x0D, 'm', 'M', 0x0D, 0x0D, 0x00, 0x01, 445c3b435bbSJordan K. Hubbard /* sc=33 */ ',', ';', NOP, NOP, NOP, '<', NOP, NOP, 0x3B, 0x00, 446c3b435bbSJordan K. Hubbard /* sc=34 */ '.', ':', NOP, NOP, NOP, '>', NOP, NOP, 0x3B, 0x00, 447c3b435bbSJordan K. Hubbard /* sc=35 */ '-', '_', 0x1F, NOP, '/', '?', NOP, NOP, 0x13, 0x00, 448c3b435bbSJordan K. Hubbard /* sc=36 */ RSH, RSH, RSH, RSH, RSH, RSH, RSH, RSH, 0xFF, 0x00, 449c3b435bbSJordan K. Hubbard /* sc=37 */ '*', '*', 0x0A, 0x0A, '*', '*', 0x0A, 0x0A, 0x33, 0x00, 450c3b435bbSJordan K. Hubbard /* sc=38 */ LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, 0xFF, 0x00, 451c3b435bbSJordan K. Hubbard /* sc=39 */ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 0x00, 0x00, 452c3b435bbSJordan K. Hubbard /* sc=3a */ CLK, CLK, CLK, CLK, CLK, CLK, CLK, CLK, 0xFF, 0x00, 453c3b435bbSJordan K. Hubbard /* sc=3b */ F( 1), F(13), F(25), F(37), S( 1), S(11), S( 1), S(11), 0xFF, 0x00, 454c3b435bbSJordan K. Hubbard /* sc=3c */ F( 2), F(14), F(26), F(38), S( 2), S(12), S( 2), S(12), 0xFF, 0x00, 455c3b435bbSJordan K. Hubbard /* sc=3d */ F( 3), F(15), F(27), F(39), S( 3), S(13), S( 3), S(13), 0xFF, 0x00, 456c3b435bbSJordan K. Hubbard /* sc=3e */ F( 4), F(16), F(28), F(40), S( 4), S(14), S( 4), S(14), 0xFF, 0x00, 457c3b435bbSJordan K. Hubbard /* sc=3f */ F( 5), F(17), F(29), F(41), S( 5), S(15), S( 5), S(15), 0xFF, 0x00, 458c3b435bbSJordan K. Hubbard /* sc=40 */ F( 6), F(18), F(30), F(42), S( 6), S(16), S( 6), S(16), 0xFF, 0x00, 459c3b435bbSJordan K. Hubbard /* sc=41 */ F( 7), F(19), F(31), F(43), S( 7), S( 7), S( 7), S( 7), 0xFF, 0x00, 460c3b435bbSJordan K. Hubbard /* sc=42 */ F( 8), F(20), F(32), F(44), S( 8), S( 8), S( 8), S( 8), 0xFF, 0x00, 461c3b435bbSJordan K. Hubbard /* sc=43 */ F( 9), F(21), F(33), F(45), S( 9), S( 9), S( 9), S( 9), 0xFF, 0x00, 462c3b435bbSJordan K. Hubbard /* sc=44 */ F(10), F(22), F(34), F(46), S(10), S(10), S(10), S(10), 0xFF, 0x00, 463c3b435bbSJordan K. Hubbard /* sc=45 */ NLK, NLK, 0x13, 0x13, NLK, NLK, 0x13, 0x13, 0xCC, 0x00, 464c3b435bbSJordan K. Hubbard /* sc=46 */ SLK, SLK, 0x7F, 0x7F, SLK, SLK, 0x7F, 0x7F, 0xCC, 0x00, 465c3b435bbSJordan K. Hubbard /* sc=47 */ F(49), '7', '7', '7', '7', '7', '7', '7', 0x80, 0x02, 466c3b435bbSJordan K. Hubbard /* sc=48 */ F(50), '8', '8', '8', '8', '8', '8', '8', 0x80, 0x02, 467c3b435bbSJordan K. Hubbard /* sc=49 */ F(51), '9', '9', '9', '9', '9', '9', '9', 0x80, 0x02, 468c3b435bbSJordan K. Hubbard /* sc=4a */ F(52), '-', 0x1F, 0x1F, '-', '-', '-', '-', 0x80, 0x02, 469c3b435bbSJordan K. Hubbard /* sc=4b */ F(53), '4', '4', '4', '4', '4', '4', '4', 0x80, 0x02, 470a926a37bSSøren Schmidt /* sc=4c */ F(54), '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02, 471c3b435bbSJordan K. Hubbard /* sc=4d */ F(55), '6', 0x1E, 0x1E, '6', '6', '6', '6', 0x80, 0x02, 472c3b435bbSJordan K. Hubbard /* sc=4e */ F(56), '+', '+', '+', '+', '+', '+', '+', 0x80, 0x02, 473c3b435bbSJordan K. Hubbard /* sc=4f */ F(57), '1', '1', '1', '1', '1', '1', '1', 0x80, 0x02, 474c3b435bbSJordan K. Hubbard /* sc=50 */ F(58), '2', '2', '2', '2', '2', '2', '2', 0x80, 0x02, 475c3b435bbSJordan K. Hubbard /* sc=51 */ F(59), '3', '3', '3', '3', '3', '3', '3', 0x80, 0x02, 476c3b435bbSJordan K. Hubbard /* sc=52 */ F(60), '0', '0', '0', '0', '0', '0', '0', 0x80, 0x02, 4776de1193dSSøren Schmidt /* sc=53 */ 0x7F, '.', '.', '.', '.', '.', RBT, RBT, 0x03, 0x02, 478c3b435bbSJordan K. Hubbard /* sc=54 */ 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x00, 0x00, 479c3b435bbSJordan K. Hubbard /* sc=55 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 4800573e739SSøren Schmidt /* sc=56 */ '<', '>', NOP, NOP, '|', NOP, NOP, NOP, 0x37, 0x00, 481c3b435bbSJordan K. Hubbard /* sc=57 */ F(11), F(23), F(35), F(47), S(11), S(11), S(11), S(11), 0xFF, 0x00, 482c3b435bbSJordan K. Hubbard /* sc=58 */ F(12), F(24), F(36), F(48), S(12), S(12), S(12), S(12), 0xFF, 0x00, 483c3b435bbSJordan K. Hubbard /* sc=59 */ 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0xFF, 0x02, 484c3b435bbSJordan K. Hubbard /* sc=5a */ RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, 0xFF, 0x00, 485c3b435bbSJordan K. Hubbard /* sc=5b */ '/', '/', '/', '/', '/', '/', '/', '/', 0x00, 0x02, 48633853f97SJordan K. Hubbard /* sc=5c */ NEXT, NOP, DBG, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 487c3b435bbSJordan K. Hubbard /* sc=5d */ RALT, RALT, RALT, RALT, RALT, RALT, RALT, RALT, 0xFF, 0x00, 488c3b435bbSJordan K. Hubbard /* sc=5e */ F(49), F(49), F(49), F(49), F(49), F(49), F(49), F(49), 0xFF, 0x00, 489c3b435bbSJordan K. Hubbard /* sc=5f */ F(50), F(50), F(50), F(50), F(50), F(50), F(50), F(50), 0xFF, 0x00, 490c3b435bbSJordan K. Hubbard /* sc=60 */ F(51), F(51), F(51), F(51), F(51), F(51), F(51), F(51), 0xFF, 0x00, 491c3b435bbSJordan K. Hubbard /* sc=61 */ F(53), F(53), F(53), F(53), F(53), F(53), F(53), F(53), 0xFF, 0x00, 492c3b435bbSJordan K. Hubbard /* sc=62 */ F(55), F(55), F(55), F(55), F(55), F(55), F(55), F(55), 0xFF, 0x00, 493c3b435bbSJordan K. Hubbard /* sc=63 */ F(57), F(57), F(57), F(57), F(57), F(57), F(57), F(57), 0xFF, 0x00, 494c3b435bbSJordan K. Hubbard /* sc=64 */ F(58), F(58), F(58), F(58), F(58), F(58), F(58), F(58), 0xFF, 0x00, 495c3b435bbSJordan K. Hubbard /* sc=65 */ F(59), F(59), F(59), F(59), F(59), F(59), F(59), F(59), 0xFF, 0x00, 496c3b435bbSJordan K. Hubbard /* sc=66 */ F(60), F(60), F(60), F(60), F(60), F(60), F(60), F(60), 0xFF, 0x00, 4976de1193dSSøren Schmidt /* sc=67 */ 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, RBT, 0x7F, 0x02, 0x00, 498c3b435bbSJordan K. Hubbard /* sc=68 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00, 4995e146a01SSøren Schmidt /* sc=69 */ F(61), F(61), F(61), F(61), F(61), F(61), F(61), F(61), 0xFF, 0x00, 5005e146a01SSøren Schmidt /* sc=6a */ F(62), F(62), F(62), F(62), F(62), F(62), F(62), F(62), 0xFF, 0x00, 5015e146a01SSøren Schmidt /* sc=6b */ F(63), F(63), F(63), F(63), F(63), F(63), F(63), F(63), 0xFF, 0x00, 502c3b435bbSJordan K. Hubbard }; 503c3b435bbSJordan K. Hubbard #endif 504c3b435bbSJordan K. Hubbard 505c3b435bbSJordan K. Hubbard #ifdef RUKEYMAP 5065e146a01SSøren Schmidt keymap_t key_map = { 0xEC, /* keys number */ 507c3b435bbSJordan K. Hubbard /* alt 508c3b435bbSJordan K. Hubbard * scan cntrl alt alt cntrl 509c3b435bbSJordan K. Hubbard * code base shift cntrl shift alt shift cntrl shift spcl flgs 510c3b435bbSJordan K. Hubbard * ------------------------------------------------------------------------------------------- 511c3b435bbSJordan K. Hubbard */ 512c3b435bbSJordan K. Hubbard /* sc=00 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 5132b1c7c76SAndrey A. Chernov /* sc=01 */ 0x1B, 0x1B, NOP, NOP, SET8|0x1B, SET8|0x1B, DBG, NOP, 0x33, 0x00, 51433853f97SJordan K. Hubbard /* sc=02 */ '1', '!', NOP, NOP, SET8|'1', SET8|'!', NOP, NOP, 0x33, 0x00, 51533853f97SJordan K. Hubbard /* sc=03 */ '2', '@', 0x00, 0x00, SET8|'2', SET8|'@', SET8|0x00, SET8|0x00, 0x00, 0x00, 51633853f97SJordan K. Hubbard /* sc=04 */ '3', '#', NOP, NOP, SET8|'3', SET8|'#', NOP, NOP, 0x33, 0x00, 51733853f97SJordan K. Hubbard /* sc=05 */ '4', '$', NOP, NOP, SET8|'4', SET8|'$', NOP, NOP, 0x33, 0x00, 51833853f97SJordan K. Hubbard /* sc=06 */ '5', '%', NOP, NOP, SET8|'5', SET8|'%', NOP, NOP, 0x33, 0x00, 51933853f97SJordan K. Hubbard /* sc=07 */ '6', '^', 0x1E, 0x1E, SET8|'6', SET8|'^', SET8|0x1E, SET8|0x1E, 0x00, 0x00, 52033853f97SJordan K. Hubbard /* sc=08 */ '7', '&', NOP, NOP, SET8|'7', SET8|'&', NOP, NOP, 0x33, 0x00, 52133853f97SJordan K. Hubbard /* sc=09 */ '8', '*', NOP, NOP, SET8|'8', SET8|'*', NOP, NOP, 0x33, 0x00, 52233853f97SJordan K. Hubbard /* sc=0a */ '9', '(', NOP, NOP, SET8|'9', SET8|'(', NOP, NOP, 0x33, 0x00, 52333853f97SJordan K. Hubbard /* sc=0b */ '0', ')', NOP, NOP, SET8|'0', SET8|')', NOP, NOP, 0x33, 0x00, 52433853f97SJordan K. Hubbard /* sc=0c */ '-', '_', 0x1F, 0x1F, SET8|'-', SET8|'_', SET8|0x1F, SET8|0x1F, 0x00, 0x00, 52533853f97SJordan K. Hubbard /* sc=0d */ '=', '+', NOP, NOP, SET8|'=', SET8|'+', NOP, NOP, 0x33, 0x00, 52633853f97SJordan K. Hubbard /* sc=0e */ 0x08, 0x08, 0x7F, 0x7F, SET8|0x08, SET8|0x08, SET8|0x7F, SET8|0x7F, 0x00, 0x00, 5271afec254SAndrey A. Chernov /* sc=0f */ 0x09, BTAB, NOP, NOP, SET8|0x09, BTAB, NOP, NOP, 0x77, 0x00, 52833853f97SJordan K. Hubbard /* sc=10 */ 'q', 'Q', 0x11, 0x11, SET8|'q', SET8|'Q', SET8|0x11, SET8|0x11, 0x00, 0x01, 52933853f97SJordan K. Hubbard /* sc=11 */ 'w', 'W', 0x17, 0x17, SET8|'w', SET8|'W', SET8|0x17, SET8|0x17, 0x00, 0x01, 53033853f97SJordan K. Hubbard /* sc=12 */ 'e', 'E', 0x05, 0x05, SET8|'e', SET8|'E', SET8|0x05, SET8|0x05, 0x00, 0x01, 53133853f97SJordan K. Hubbard /* sc=13 */ 'r', 'R', 0x12, 0x12, SET8|'r', SET8|'R', SET8|0x12, SET8|0x12, 0x00, 0x01, 53233853f97SJordan K. Hubbard /* sc=14 */ 't', 'T', 0x14, 0x14, SET8|'t', SET8|'T', SET8|0x14, SET8|0x14, 0x00, 0x01, 53333853f97SJordan K. Hubbard /* sc=15 */ 'y', 'Y', 0x19, 0x19, SET8|'y', SET8|'Y', SET8|0x19, SET8|0x19, 0x00, 0x01, 53433853f97SJordan K. Hubbard /* sc=16 */ 'u', 'U', 0x15, 0x15, SET8|'u', SET8|'U', SET8|0x15, SET8|0x15, 0x00, 0x01, 53533853f97SJordan K. Hubbard /* sc=17 */ 'i', 'I', 0x09, 0x09, SET8|'i', SET8|'I', SET8|0x09, SET8|0x09, 0x00, 0x01, 53633853f97SJordan K. Hubbard /* sc=18 */ 'o', 'O', 0x0F, 0x0F, SET8|'o', SET8|'O', SET8|0x0F, SET8|0x0F, 0x00, 0x01, 53733853f97SJordan K. Hubbard /* sc=19 */ 'p', 'P', 0x10, 0x10, SET8|'p', SET8|'P', SET8|0x10, SET8|0x10, 0x00, 0x01, 53833853f97SJordan K. Hubbard /* sc=1a */ '[', '{', 0x1B, 0x1B, SET8|'[', SET8|'{', SET8|0x1B, SET8|0x1B, 0x00, 0x00, 53933853f97SJordan K. Hubbard /* sc=1b */ ']', '}', 0x1D, 0x1D, SET8|']', SET8|'}', SET8|0x1D, SET8|0x1D, 0x00, 0x00, 54033853f97SJordan K. Hubbard /* sc=1c */ 0x0D, 0x0D, 0x0A, 0x0A, SET8|0x0D, SET8|0x0D, SET8|0x0A, SET8|0x0A, 0x00, 0x00, 541c3b435bbSJordan K. Hubbard /* sc=1d */ LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, 0xFF, 0x00, 54233853f97SJordan K. Hubbard /* sc=1e */ 'a', 'A', 0x01, 0x01, SET8|'a', SET8|'A', SET8|0x01, SET8|0x01, 0x00, 0x01, 54333853f97SJordan K. Hubbard /* sc=1f */ 's', 'S', 0x13, 0x13, SET8|'s', SET8|'S', SET8|0x13, SET8|0x13, 0x00, 0x01, 54433853f97SJordan K. Hubbard /* sc=20 */ 'd', 'D', 0x04, 0x04, SET8|'d', SET8|'D', SET8|0x04, SET8|0x04, 0x00, 0x01, 54533853f97SJordan K. Hubbard /* sc=21 */ 'f', 'F', 0x06, 0x06, SET8|'f', SET8|'F', SET8|0x06, SET8|0x06, 0x00, 0x01, 54633853f97SJordan K. Hubbard /* sc=22 */ 'g', 'G', 0x07, 0x07, SET8|'g', SET8|'G', SET8|0x07, SET8|0x07, 0x00, 0x01, 54733853f97SJordan K. Hubbard /* sc=23 */ 'h', 'H', 0x08, 0x08, SET8|'h', SET8|'H', SET8|0x08, SET8|0x08, 0x00, 0x01, 54833853f97SJordan K. Hubbard /* sc=24 */ 'j', 'J', 0x0A, 0x0A, SET8|'j', SET8|'J', SET8|0x0A, SET8|0x0A, 0x00, 0x01, 54933853f97SJordan K. Hubbard /* sc=25 */ 'k', 'K', 0x0B, 0x0B, SET8|'k', SET8|'K', SET8|0x0B, SET8|0x0B, 0x00, 0x01, 55033853f97SJordan K. Hubbard /* sc=26 */ 'l', 'L', 0x0C, 0x0C, SET8|'l', SET8|'L', SET8|0x0C, SET8|0x0C, 0x00, 0x01, 55133853f97SJordan K. Hubbard /* sc=27 */ ';', ':', NOP, NOP, SET8|';', SET8|':', NOP, NOP, 0x33, 0x00, 55233853f97SJordan K. Hubbard /* sc=28 */ '\'', '"', NOP, NOP, SET8|'\'', SET8|'"', NOP, NOP, 0x33, 0x00, 55333853f97SJordan K. Hubbard /* sc=29 */ '`', '~', NOP, NOP, SET8|'`', SET8|'~', NOP, NOP, 0x33, 0x00, 554c3b435bbSJordan K. Hubbard /* sc=2a */ LSH, LSH, LSH, LSH, LSH, LSH, LSH, LSH, 0xFF, 0x00, 55533853f97SJordan K. Hubbard /* sc=2b */ '\\', '|', 0x1C, 0x1C, SET8|'\\', SET8|'|', SET8|0x1C, SET8|0x1C, 0x00, 0x00, 55633853f97SJordan K. Hubbard /* sc=2c */ 'z', 'Z', 0x1A, 0x1A, SET8|'z', SET8|'Z', SET8|0x1A, SET8|0x1A, 0x00, 0x01, 55733853f97SJordan K. Hubbard /* sc=2d */ 'x', 'X', 0x18, 0x18, SET8|'x', SET8|'X', SET8|0x18, SET8|0x18, 0x00, 0x01, 55833853f97SJordan K. Hubbard /* sc=2e */ 'c', 'C', 0x03, 0x03, SET8|'c', SET8|'C', SET8|0x03, SET8|0x03, 0x00, 0x01, 55933853f97SJordan K. Hubbard /* sc=2f */ 'v', 'V', 0x16, 0x16, SET8|'v', SET8|'V', SET8|0x16, SET8|0x16, 0x00, 0x01, 56033853f97SJordan K. Hubbard /* sc=30 */ 'b', 'B', 0x02, 0x02, SET8|'b', SET8|'B', SET8|0x02, SET8|0x02, 0x00, 0x01, 56133853f97SJordan K. Hubbard /* sc=31 */ 'n', 'N', 0x0E, 0x0E, SET8|'n', SET8|'N', SET8|0x0E, SET8|0x0E, 0x00, 0x01, 56233853f97SJordan K. Hubbard /* sc=32 */ 'm', 'M', 0x0D, 0x0D, SET8|'m', SET8|'M', SET8|0x0D, SET8|0x0D, 0x00, 0x01, 56333853f97SJordan K. Hubbard /* sc=33 */ ',', '<', NOP, NOP, SET8|',', SET8|'<', NOP, NOP, 0x33, 0x00, 56433853f97SJordan K. Hubbard /* sc=34 */ '.', '>', NOP, NOP, SET8|'.', SET8|'>', NOP, NOP, 0x33, 0x00, 56533853f97SJordan K. Hubbard /* sc=35 */ '/', '?', NOP, NOP, SET8|'/', SET8|'?', NOP, NOP, 0x33, 0x00, 566ebbb1869SAndrey A. Chernov /* sc=36 */ RSH, RSH, RSH, RSH, RSH, RSH, RSH, RSH, 0xFF, 0x00, 56733853f97SJordan K. Hubbard /* sc=37 */ '*', '*', 0x0A, 0x0A, SET8|'*', SET8|'*', SET8|0x0A, SET8|0x0A, 0x00, 0x00, 568c3b435bbSJordan K. Hubbard /* sc=38 */ LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, 0xFF, 0x00, 56933853f97SJordan K. Hubbard /* sc=39 */ ' ', ' ', ' ', ' ', SET8|' ', SET8|' ', SET8|' ', SET8|' ', 0x00, 0x00, 570c3b435bbSJordan K. Hubbard /* sc=3a */ ALK, CLK, CLK, CLK, CLK, CLK, CLK, CLK, 0xFF, 0x00, 571c3b435bbSJordan K. Hubbard /* sc=3b */ F( 1), F(13), F(25), F(37), S( 1), S(11), S( 1), S(11), 0xFF, 0x00, 572c3b435bbSJordan K. Hubbard /* sc=3c */ F( 2), F(14), F(26), F(38), S( 2), S(12), S( 2), S(12), 0xFF, 0x00, 573c3b435bbSJordan K. Hubbard /* sc=3d */ F( 3), F(15), F(27), F(39), S( 3), S(13), S( 3), S(13), 0xFF, 0x00, 574c3b435bbSJordan K. Hubbard /* sc=3e */ F( 4), F(16), F(28), F(40), S( 4), S(14), S( 4), S(14), 0xFF, 0x00, 575c3b435bbSJordan K. Hubbard /* sc=3f */ F( 5), F(17), F(29), F(41), S( 5), S(15), S( 5), S(15), 0xFF, 0x00, 576c3b435bbSJordan K. Hubbard /* sc=40 */ F( 6), F(18), F(30), F(42), S( 6), S(16), S( 6), S(16), 0xFF, 0x00, 577c3b435bbSJordan K. Hubbard /* sc=41 */ F( 7), F(19), F(31), F(43), S( 7), S( 7), S( 7), S( 7), 0xFF, 0x00, 578c3b435bbSJordan K. Hubbard /* sc=42 */ F( 8), F(20), F(32), F(44), S( 8), S( 8), S( 8), S( 8), 0xFF, 0x00, 579c3b435bbSJordan K. Hubbard /* sc=43 */ F( 9), F(21), F(33), F(45), S( 9), S( 9), S( 9), S( 9), 0xFF, 0x00, 580c3b435bbSJordan K. Hubbard /* sc=44 */ F(10), F(22), F(34), F(46), S(10), S(10), S(10), S(10), 0xFF, 0x00, 581c3b435bbSJordan K. Hubbard /* sc=45 */ NLK, NLK, NLK, NLK, NLK, NLK, NLK, NLK, 0xFF, 0x00, 582c3b435bbSJordan K. Hubbard /* sc=46 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00, 58333853f97SJordan K. Hubbard /* sc=47 */ F(49), '7', '7', '7', SET8|'7', SET8|'7', SET8|'7', SET8|'7', 0x80, 0x02, 58433853f97SJordan K. Hubbard /* sc=48 */ F(50), '8', '8', '8', SET8|'8', SET8|'8', SET8|'8', SET8|'8', 0x80, 0x02, 58533853f97SJordan K. Hubbard /* sc=49 */ F(51), '9', '9', '9', SET8|'9', SET8|'9', SET8|'9', SET8|'9', 0x80, 0x02, 58633853f97SJordan K. Hubbard /* sc=4a */ F(52), '-', '-', '-', SET8|'-', SET8|'-', SET8|'-', SET8|'-', 0x80, 0x02, 58733853f97SJordan K. Hubbard /* sc=4b */ F(53), '4', '4', '4', SET8|'4', SET8|'4', SET8|'4', SET8|'4', 0x80, 0x02, 588a926a37bSSøren Schmidt /* sc=4c */ F(54), '5', '5', '5', SET8|'5', SET8|'5', SET8|'5', SET8|'5', 0x80, 0x02, 58933853f97SJordan K. Hubbard /* sc=4d */ F(55), '6', '6', '6', SET8|'6', SET8|'6', SET8|'6', SET8|'6', 0x80, 0x02, 59033853f97SJordan K. Hubbard /* sc=4e */ F(56), '+', '+', '+', SET8|'+', SET8|'+', SET8|'+', SET8|'+', 0x80, 0x02, 59133853f97SJordan K. Hubbard /* sc=4f */ F(57), '1', '1', '1', SET8|'1', SET8|'1', SET8|'1', SET8|'1', 0x80, 0x02, 59233853f97SJordan K. Hubbard /* sc=50 */ F(58), '2', '2', '2', SET8|'2', SET8|'2', SET8|'2', SET8|'2', 0x80, 0x02, 59333853f97SJordan K. Hubbard /* sc=51 */ F(59), '3', '3', '3', SET8|'3', SET8|'3', SET8|'3', SET8|'3', 0x80, 0x02, 59433853f97SJordan K. Hubbard /* sc=52 */ F(60), '0', '0', '0', SET8|'0', SET8|'0', SET8|'0', SET8|'0', 0x80, 0x02, 595a926a37bSSøren Schmidt /* sc=53 */ 0x7F, '.', '.', '.', SET8|'.', SET8|'.', RBT, RBT, 0x03, 0x02, 596c3b435bbSJordan K. Hubbard /* sc=54 */ ALK, ALK, ALK, ALK, ALK, ALK, ALK, ALK, 0xFF, 0x00, 597c3b435bbSJordan K. Hubbard /* sc=55 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 598c3b435bbSJordan K. Hubbard /* sc=56 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 599c3b435bbSJordan K. Hubbard /* sc=57 */ F(11), F(23), F(35), F(47), S(11), S(11), S(11), S(11), 0xFF, 0x00, 600c3b435bbSJordan K. Hubbard /* sc=58 */ F(12), F(24), F(36), F(48), S(12), S(12), S(12), S(12), 0xFF, 0x00, 60133853f97SJordan K. Hubbard /* sc=59 */ 0x0D, 0x0D, 0x0A, 0x0A, SET8|0x0D, SET8|0x0D, SET8|0x0A, SET8|0x0A, 0x00, 0x00, 602c3b435bbSJordan K. Hubbard /* sc=5a */ RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, 0xFF, 0x00, 60333853f97SJordan K. Hubbard /* sc=5b */ '/', '/', NOP, NOP, SET8|'/', SET8|'/', NOP, NOP, 0x33, 0x00, 604ebbb1869SAndrey A. Chernov /* sc=5c */ NEXT, NOP, DBG, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 605c3b435bbSJordan K. Hubbard /* sc=5d */ RALT, RALT, RALT, RALT, RALT, RALT, RALT, RALT, 0xFF, 0x00, 606c3b435bbSJordan K. Hubbard /* sc=5e */ F(49), F(49), F(49), F(49), F(49), F(49), F(49), F(49), 0xFF, 0x00, 607c3b435bbSJordan K. Hubbard /* sc=5f */ F(50), F(50), F(50), F(50), F(50), F(50), F(50), F(50), 0xFF, 0x00, 608c3b435bbSJordan K. Hubbard /* sc=60 */ F(51), F(51), F(51), F(51), F(51), F(51), F(51), F(51), 0xFF, 0x00, 609c3b435bbSJordan K. Hubbard /* sc=61 */ F(53), F(53), F(53), F(53), F(53), F(53), F(53), F(53), 0xFF, 0x00, 610c3b435bbSJordan K. Hubbard /* sc=62 */ F(55), F(55), F(55), F(55), F(55), F(55), F(55), F(55), 0xFF, 0x00, 611c3b435bbSJordan K. Hubbard /* sc=63 */ F(57), F(57), F(57), F(57), F(57), F(57), F(57), F(57), 0xFF, 0x00, 612c3b435bbSJordan K. Hubbard /* sc=64 */ F(58), F(58), F(58), F(58), F(58), F(58), F(58), F(58), 0xFF, 0x00, 613c3b435bbSJordan K. Hubbard /* sc=65 */ F(59), F(59), F(59), F(59), F(59), F(59), F(59), F(59), 0xFF, 0x00, 614c3b435bbSJordan K. Hubbard /* sc=66 */ F(60), F(60), F(60), F(60), F(60), F(60), F(60), F(60), 0xFF, 0x00, 6156de1193dSSøren Schmidt /* sc=67 */ 0x7F, 0x7F, 0x7F, 0x7F, SET8|0x7F, SET8|0x7F, RBT, SET8|0x7F, 0x02, 0x00, 616c3b435bbSJordan K. Hubbard /* sc=68 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00, 6175e146a01SSøren Schmidt /* sc=69 */ F(61), F(61), F(61), F(61), F(61), F(61), F(61), F(61), 0xFF, 0x00, 6185e146a01SSøren Schmidt /* sc=6a */ F(62), F(62), F(62), F(62), F(62), F(62), F(62), F(62), 0xFF, 0x00, 6195e146a01SSøren Schmidt /* sc=6b */ F(63), F(63), F(63), F(63), F(63), F(63), F(63), F(63), 0xFF, 0x00, 620c3b435bbSJordan K. Hubbard /* sc=6c */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 621c3b435bbSJordan K. Hubbard /* sc=6d */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 622c3b435bbSJordan K. Hubbard /* sc=6e */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 623c3b435bbSJordan K. Hubbard /* sc=6f */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 624c3b435bbSJordan K. Hubbard /* sc=70 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 625c3b435bbSJordan K. Hubbard /* sc=71 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 626c3b435bbSJordan K. Hubbard /* sc=72 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 627c3b435bbSJordan K. Hubbard /* sc=73 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 628c3b435bbSJordan K. Hubbard /* sc=74 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 629c3b435bbSJordan K. Hubbard /* sc=75 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 630c3b435bbSJordan K. Hubbard /* sc=76 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 631c3b435bbSJordan K. Hubbard /* sc=77 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 632c3b435bbSJordan K. Hubbard /* sc=78 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 633c3b435bbSJordan K. Hubbard /* sc=79 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 634c3b435bbSJordan K. Hubbard /* sc=7a */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 635c3b435bbSJordan K. Hubbard /* sc=7b */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 636c3b435bbSJordan K. Hubbard /* sc=7c */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 637c3b435bbSJordan K. Hubbard /* sc=7d */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 638c3b435bbSJordan K. Hubbard /* sc=7e */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 639c3b435bbSJordan K. Hubbard /* sc=7f */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 640c3b435bbSJordan K. Hubbard /* extended (ALTGR LOCK keys) */ 641c3b435bbSJordan K. Hubbard /* sc=00 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 6422b1c7c76SAndrey A. Chernov /* sc=01 */ 0x1B, 0x1B, NOP, NOP, SET8|0x1B, SET8|0x1B, DBG, NOP, 0x33, 0x00, 64333853f97SJordan K. Hubbard /* sc=02 */ '!', '1', NOP, NOP, SET8|'1', SET8|'!', NOP, NOP, 0x33, 0x00, 64433853f97SJordan K. Hubbard /* sc=03 */ '"', '2', 0x00, 0x00, SET8|'2', SET8|'@', SET8|0x00, SET8|0x00, 0x00, 0x00, 64533853f97SJordan K. Hubbard /* sc=04 */ '\'', '3', NOP, NOP, SET8|'3', SET8|'#', NOP, NOP, 0x33, 0x00, 64633853f97SJordan K. Hubbard /* sc=05 */ ';', '4', NOP, NOP, SET8|'4', SET8|'$', NOP, NOP, 0x33, 0x00, 64733853f97SJordan K. Hubbard /* sc=06 */ ':', '5', NOP, NOP, SET8|'5', SET8|'%', NOP, NOP, 0x33, 0x00, 64833853f97SJordan K. Hubbard /* sc=07 */ ',', '6', 0x1E, 0x1E, SET8|'6', SET8|'^', SET8|0x1E, SET8|0x1E, 0x00, 0x00, 64933853f97SJordan K. Hubbard /* sc=08 */ '.', '7', NOP, NOP, SET8|'7', SET8|'&', NOP, NOP, 0x33, 0x00, 65033853f97SJordan K. Hubbard /* sc=09 */ '*', '8', NOP, NOP, SET8|'8', SET8|'*', NOP, NOP, 0x33, 0x00, 65133853f97SJordan K. Hubbard /* sc=0a */ '(', '9', NOP, NOP, SET8|'9', SET8|'(', NOP, NOP, 0x33, 0x00, 65233853f97SJordan K. Hubbard /* sc=0b */ ')', '0', NOP, NOP, SET8|'0', SET8|')', NOP, NOP, 0x33, 0x00, 653ebbb1869SAndrey A. Chernov /* sc=0c */ '-', '_', 0x1F, 0x1F, SET8|'-', SET8|'_', SET8|0x1F, SET8|0x1F, 0x00, 0x00, 654ebbb1869SAndrey A. Chernov /* sc=0d */ '=', '+', NOP, NOP, SET8|'=', SET8|'+', NOP, NOP, 0x33, 0x00, 65533853f97SJordan K. Hubbard /* sc=0e */ 0x08, 0x08, 0x7F, 0x7F, SET8|0x08, SET8|0x08, SET8|0x7F, SET8|0x7F, 0x00, 0x00, 6561afec254SAndrey A. Chernov /* sc=0f */ 0x09, BTAB, NOP, NOP, SET8|0x09, BTAB, NOP, NOP, 0x77, 0x00, 65733853f97SJordan K. Hubbard /* sc=10 */ 0xca, 0xea, 0x11, 0x11, SET8|'q', SET8|'Q', SET8|0x11, SET8|0x11, 0x00, 0x01, 65833853f97SJordan K. Hubbard /* sc=11 */ 0xc3, 0xe3, 0x17, 0x17, SET8|'w', SET8|'W', SET8|0x17, SET8|0x17, 0x00, 0x01, 65933853f97SJordan K. Hubbard /* sc=12 */ 0xd5, 0xf5, 0x05, 0x05, SET8|'e', SET8|'E', SET8|0x05, SET8|0x05, 0x00, 0x01, 66033853f97SJordan K. Hubbard /* sc=13 */ 0xcb, 0xeb, 0x12, 0x12, SET8|'r', SET8|'R', SET8|0x12, SET8|0x12, 0x00, 0x01, 66133853f97SJordan K. Hubbard /* sc=14 */ 0xc5, 0xe5, 0x14, 0x14, SET8|'t', SET8|'T', SET8|0x14, SET8|0x14, 0x00, 0x01, 66233853f97SJordan K. Hubbard /* sc=15 */ 0xce, 0xee, 0x19, 0x19, SET8|'y', SET8|'Y', SET8|0x19, SET8|0x19, 0x00, 0x01, 66333853f97SJordan K. Hubbard /* sc=16 */ 0xc7, 0xe7, 0x15, 0x15, SET8|'u', SET8|'U', SET8|0x15, SET8|0x15, 0x00, 0x01, 66433853f97SJordan K. Hubbard /* sc=17 */ 0xdb, 0xfb, 0x09, 0x09, SET8|'i', SET8|'I', SET8|0x09, SET8|0x09, 0x00, 0x01, 66533853f97SJordan K. Hubbard /* sc=18 */ 0xdd, 0xfd, 0x0F, 0x0F, SET8|'o', SET8|'O', SET8|0x0F, SET8|0x0F, 0x00, 0x01, 66633853f97SJordan K. Hubbard /* sc=19 */ 0xda, 0xfa, 0x10, 0x10, SET8|'p', SET8|'P', SET8|0x10, SET8|0x10, 0x00, 0x01, 66733853f97SJordan K. Hubbard /* sc=1a */ 0xc8, 0xe8, 0x1B, 0x1B, SET8|'[', SET8|'{', SET8|0x1B, SET8|0x1B, 0x00, 0x01, 66833853f97SJordan K. Hubbard /* sc=1b */ 0xdf, 0xff, 0x1D, 0x1D, SET8|']', SET8|'}', SET8|0x1D, SET8|0x1D, 0x00, 0x01, 66933853f97SJordan K. Hubbard /* sc=1c */ 0x0D, 0x0D, 0x0A, 0x0A, SET8|0x0D, SET8|0x0D, SET8|0x0A, SET8|0x0A, 0x00, 0x00, 670c3b435bbSJordan K. Hubbard /* sc=1d */ LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, 0xFF, 0x00, 67133853f97SJordan K. Hubbard /* sc=1e */ 0xc6, 0xe6, 0x01, 0x01, SET8|'a', SET8|'A', SET8|0x01, SET8|0x01, 0x00, 0x01, 67233853f97SJordan K. Hubbard /* sc=1f */ 0xd9, 0xf9, 0x13, 0x13, SET8|'s', SET8|'S', SET8|0x13, SET8|0x13, 0x00, 0x01, 67333853f97SJordan K. Hubbard /* sc=20 */ 0xd7, 0xf7, 0x04, 0x04, SET8|'d', SET8|'D', SET8|0x04, SET8|0x04, 0x00, 0x01, 67433853f97SJordan K. Hubbard /* sc=21 */ 0xc1, 0xe1, 0x06, 0x06, SET8|'f', SET8|'F', SET8|0x06, SET8|0x06, 0x00, 0x01, 67533853f97SJordan K. Hubbard /* sc=22 */ 0xd0, 0xf0, 0x07, 0x07, SET8|'g', SET8|'G', SET8|0x07, SET8|0x07, 0x00, 0x01, 67633853f97SJordan K. Hubbard /* sc=23 */ 0xd2, 0xf2, 0x08, 0x08, SET8|'h', SET8|'H', SET8|0x08, SET8|0x08, 0x00, 0x01, 67733853f97SJordan K. Hubbard /* sc=24 */ 0xcf, 0xef, 0x0A, 0x0A, SET8|'j', SET8|'J', SET8|0x0A, SET8|0x0A, 0x00, 0x01, 67833853f97SJordan K. Hubbard /* sc=25 */ 0xcc, 0xec, 0x0B, 0x0B, SET8|'k', SET8|'K', SET8|0x0B, SET8|0x0B, 0x00, 0x01, 67933853f97SJordan K. Hubbard /* sc=26 */ 0xc4, 0xe4, 0x0C, 0x0C, SET8|'l', SET8|'L', SET8|0x0C, SET8|0x0C, 0x00, 0x01, 68033853f97SJordan K. Hubbard /* sc=27 */ 0xd6, 0xf6, NOP, NOP, SET8|';', SET8|':', NOP, NOP, 0x33, 0x01, 68133853f97SJordan K. Hubbard /* sc=28 */ 0xdc, 0xfc, NOP, NOP, SET8|'\'', SET8|'"', NOP, NOP, 0x33, 0x01, 68233853f97SJordan K. Hubbard /* sc=29 */ 0xa3, 0xb3, NOP, NOP, SET8|'`', SET8|'~', NOP, NOP, 0x33, 0x01, 683c3b435bbSJordan K. Hubbard /* sc=2a */ LSH, LSH, LSH, LSH, LSH, LSH, LSH, LSH, 0xFF, 0x00, 68433853f97SJordan K. Hubbard /* sc=2b */ '\\', '|', 0x1C, 0x1C, SET8|'\\', SET8|'|', SET8|0x1C, SET8|0x1C, 0x00, 0x00, 68533853f97SJordan K. Hubbard /* sc=2c */ 0xd1, 0xf1, 0x1A, 0x1A, SET8|'z', SET8|'Z', SET8|0x1A, SET8|0x1A, 0x00, 0x01, 68633853f97SJordan K. Hubbard /* sc=2d */ 0xde, 0xfe, 0x18, 0x18, SET8|'x', SET8|'X', SET8|0x18, SET8|0x18, 0x00, 0x01, 68733853f97SJordan K. Hubbard /* sc=2e */ 0xd3, 0xf3, 0x03, 0x03, SET8|'c', SET8|'C', SET8|0x03, SET8|0x03, 0x00, 0x01, 68833853f97SJordan K. Hubbard /* sc=2f */ 0xcd, 0xed, 0x16, 0x16, SET8|'v', SET8|'V', SET8|0x16, SET8|0x16, 0x00, 0x01, 68933853f97SJordan K. Hubbard /* sc=30 */ 0xc9, 0xe9, 0x02, 0x02, SET8|'b', SET8|'B', SET8|0x02, SET8|0x02, 0x00, 0x01, 69033853f97SJordan K. Hubbard /* sc=31 */ 0xd4, 0xf4, 0x0E, 0x0E, SET8|'n', SET8|'N', SET8|0x0E, SET8|0x0E, 0x00, 0x01, 69133853f97SJordan K. Hubbard /* sc=32 */ 0xd8, 0xf8, 0x0D, 0x0D, SET8|'m', SET8|'M', SET8|0x0D, SET8|0x0D, 0x00, 0x01, 69233853f97SJordan K. Hubbard /* sc=33 */ 0xc2, 0xe2, NOP, NOP, SET8|',', SET8|'<', NOP, NOP, 0x33, 0x01, 69333853f97SJordan K. Hubbard /* sc=34 */ 0xc0, 0xe0, NOP, NOP, SET8|'.', SET8|'>', NOP, NOP, 0x33, 0x01, 69433853f97SJordan K. Hubbard /* sc=35 */ '/', '?', NOP, NOP, SET8|'/', SET8|'?', NOP, NOP, 0x33, 0x00, 695ebbb1869SAndrey A. Chernov /* sc=36 */ RSH, RSH, RSH, RSH, RSH, RSH, RSH, RSH, 0xFF, 0x00, 69633853f97SJordan K. Hubbard /* sc=37 */ '*', '*', 0x0A, 0x0A, SET8|'*', SET8|'*', SET8|0x0A, SET8|0x0A, 0x00, 0x00, 697c3b435bbSJordan K. Hubbard /* sc=38 */ LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, 0xFF, 0x00, 69833853f97SJordan K. Hubbard /* sc=39 */ ' ', ' ', ' ', ' ', SET8|' ', SET8|' ', SET8|' ', SET8|' ', 0x00, 0x00, 699c3b435bbSJordan K. Hubbard /* sc=3a */ ALK, CLK, CLK, CLK, CLK, CLK, CLK, CLK, 0xFF, 0x00, 700c3b435bbSJordan K. Hubbard /* sc=3b */ F( 1), F(13), F(25), F(37), S( 1), S(11), S( 1), S(11), 0xFF, 0x00, 701c3b435bbSJordan K. Hubbard /* sc=3c */ F( 2), F(14), F(26), F(38), S( 2), S(12), S( 2), S(12), 0xFF, 0x00, 702c3b435bbSJordan K. Hubbard /* sc=3d */ F( 3), F(15), F(27), F(39), S( 3), S(13), S( 3), S(13), 0xFF, 0x00, 703c3b435bbSJordan K. Hubbard /* sc=3e */ F( 4), F(16), F(28), F(40), S( 4), S(14), S( 4), S(14), 0xFF, 0x00, 704c3b435bbSJordan K. Hubbard /* sc=3f */ F( 5), F(17), F(29), F(41), S( 5), S(15), S( 5), S(15), 0xFF, 0x00, 705c3b435bbSJordan K. Hubbard /* sc=40 */ F( 6), F(18), F(30), F(42), S( 6), S(16), S( 6), S(16), 0xFF, 0x00, 706c3b435bbSJordan K. Hubbard /* sc=41 */ F( 7), F(19), F(31), F(43), S( 7), S( 7), S( 7), S( 7), 0xFF, 0x00, 707c3b435bbSJordan K. Hubbard /* sc=42 */ F( 8), F(20), F(32), F(44), S( 8), S( 8), S( 8), S( 8), 0xFF, 0x00, 708c3b435bbSJordan K. Hubbard /* sc=43 */ F( 9), F(21), F(33), F(45), S( 9), S( 9), S( 9), S( 9), 0xFF, 0x00, 709c3b435bbSJordan K. Hubbard /* sc=44 */ F(10), F(22), F(34), F(46), S(10), S(10), S(10), S(10), 0xFF, 0x00, 710c3b435bbSJordan K. Hubbard /* sc=45 */ NLK, NLK, NLK, NLK, NLK, NLK, NLK, NLK, 0xFF, 0x00, 711c3b435bbSJordan K. Hubbard /* sc=46 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00, 71233853f97SJordan K. Hubbard /* sc=47 */ F(49), '7', '7', '7', SET8|'7', SET8|'7', SET8|'7', SET8|'7', 0x80, 0x02, 71333853f97SJordan K. Hubbard /* sc=48 */ F(50), '8', '8', '8', SET8|'8', SET8|'8', SET8|'8', SET8|'8', 0x80, 0x02, 71433853f97SJordan K. Hubbard /* sc=49 */ F(51), '9', '9', '9', SET8|'9', SET8|'9', SET8|'9', SET8|'9', 0x80, 0x02, 71533853f97SJordan K. Hubbard /* sc=4a */ F(52), '-', '-', '-', SET8|'-', SET8|'-', SET8|'-', SET8|'-', 0x80, 0x02, 71633853f97SJordan K. Hubbard /* sc=4b */ F(53), '4', '4', '4', SET8|'4', SET8|'4', SET8|'4', SET8|'4', 0x80, 0x02, 717a926a37bSSøren Schmidt /* sc=4c */ F(54), '5', '5', '5', SET8|'5', SET8|'5', SET8|'5', SET8|'5', 0x80, 0x02, 71833853f97SJordan K. Hubbard /* sc=4d */ F(55), '6', '6', '6', SET8|'6', SET8|'6', SET8|'6', SET8|'6', 0x80, 0x02, 71933853f97SJordan K. Hubbard /* sc=4e */ F(56), '+', '+', '+', SET8|'+', SET8|'+', SET8|'+', SET8|'+', 0x80, 0x02, 72033853f97SJordan K. Hubbard /* sc=4f */ F(57), '1', '1', '1', SET8|'1', SET8|'1', SET8|'1', SET8|'1', 0x80, 0x02, 72133853f97SJordan K. Hubbard /* sc=50 */ F(58), '2', '2', '2', SET8|'2', SET8|'2', SET8|'2', SET8|'2', 0x80, 0x02, 72233853f97SJordan K. Hubbard /* sc=51 */ F(59), '3', '3', '3', SET8|'3', SET8|'3', SET8|'3', SET8|'3', 0x80, 0x02, 72333853f97SJordan K. Hubbard /* sc=52 */ F(60), '0', '0', '0', SET8|'0', SET8|'0', SET8|'0', SET8|'0', 0x80, 0x02, 724a926a37bSSøren Schmidt /* sc=53 */ 0x7F, '.', '.', '.', SET8|'.', SET8|'.', RBT, RBT, 0x03, 0x02, 725c3b435bbSJordan K. Hubbard /* sc=54 */ ALK, ALK, ALK, ALK, ALK, ALK, ALK, ALK, 0xFF, 0x00, 726c3b435bbSJordan K. Hubbard /* sc=55 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 727c3b435bbSJordan K. Hubbard /* sc=56 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 728c3b435bbSJordan K. Hubbard /* sc=57 */ F(11), F(23), F(35), F(47), S(11), S(11), S(11), S(11), 0xFF, 0x00, 729c3b435bbSJordan K. Hubbard /* sc=58 */ F(12), F(24), F(36), F(48), S(12), S(12), S(12), S(12), 0xFF, 0x00, 73033853f97SJordan K. Hubbard /* sc=59 */ 0x0D, 0x0D, 0x0A, 0x0A, SET8|0x0D, SET8|0x0D, SET8|0x0A, SET8|0x0A, 0x00, 0x00, 731c3b435bbSJordan K. Hubbard /* sc=5a */ RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, 0xFF, 0x00, 73233853f97SJordan K. Hubbard /* sc=5b */ '/', '/', NOP, NOP, SET8|'/', SET8|'/', NOP, NOP, 0x33, 0x00, 733ebbb1869SAndrey A. Chernov /* sc=5c */ NEXT, NOP, DBG, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 734c3b435bbSJordan K. Hubbard /* sc=5d */ RALT, RALT, RALT, RALT, RALT, RALT, RALT, RALT, 0xFF, 0x00, 735c3b435bbSJordan K. Hubbard /* sc=5e */ F(49), F(49), F(49), F(49), F(49), F(49), F(49), F(49), 0xFF, 0x00, 736c3b435bbSJordan K. Hubbard /* sc=5f */ F(50), F(50), F(50), F(50), F(50), F(50), F(50), F(50), 0xFF, 0x00, 737c3b435bbSJordan K. Hubbard /* sc=60 */ F(51), F(51), F(51), F(51), F(51), F(51), F(51), F(51), 0xFF, 0x00, 738c3b435bbSJordan K. Hubbard /* sc=61 */ F(53), F(53), F(53), F(53), F(53), F(53), F(53), F(53), 0xFF, 0x00, 739c3b435bbSJordan K. Hubbard /* sc=62 */ F(55), F(55), F(55), F(55), F(55), F(55), F(55), F(55), 0xFF, 0x00, 740c3b435bbSJordan K. Hubbard /* sc=63 */ F(57), F(57), F(57), F(57), F(57), F(57), F(57), F(57), 0xFF, 0x00, 741c3b435bbSJordan K. Hubbard /* sc=64 */ F(58), F(58), F(58), F(58), F(58), F(58), F(58), F(58), 0xFF, 0x00, 742c3b435bbSJordan K. Hubbard /* sc=65 */ F(59), F(59), F(59), F(59), F(59), F(59), F(59), F(59), 0xFF, 0x00, 743c3b435bbSJordan K. Hubbard /* sc=66 */ F(60), F(60), F(60), F(60), F(60), F(60), F(60), F(60), 0xFF, 0x00, 7446de1193dSSøren Schmidt /* sc=67 */ 0x7F, 0x7F, 0x7F, 0x7F, SET8|0x7F, SET8|0x7F, RBT, SET8|0x7F, 0x02, 0x00, 745c3b435bbSJordan K. Hubbard /* sc=68 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00, 7465e146a01SSøren Schmidt /* sc=69 */ F(61), F(61), F(61), F(61), F(61), F(61), F(61), F(61), 0xFF, 0x00, 7475e146a01SSøren Schmidt /* sc=6a */ F(62), F(62), F(62), F(62), F(62), F(62), F(62), F(62), 0xFF, 0x00, 7485e146a01SSøren Schmidt /* sc=6b */ F(63), F(63), F(63), F(63), F(63), F(63), F(63), F(63), 0xFF, 0x00, 749c3b435bbSJordan K. Hubbard }; 750c3b435bbSJordan K. Hubbard 751c3b435bbSJordan K. Hubbard #endif 752c3b435bbSJordan K. Hubbard 753c3b435bbSJordan K. Hubbard #if !defined(DKKEYMAP) && !defined(UKKEYMAP) && !defined(GRKEYMAP) && !defined(SWKEYMAP) && !defined(RUKEYMAP) 7545e146a01SSøren Schmidt keymap_t key_map = { 0x6C, /* US iso8859 keymap */ 755916347f7SJordan K. Hubbard /* alt 756916347f7SJordan K. Hubbard * scan cntrl alt alt cntrl 757916347f7SJordan K. Hubbard * code base shift cntrl shift alt shift cntrl shift spcl flgs 758916347f7SJordan K. Hubbard * --------------------------------------------------------------------------- 759916347f7SJordan K. Hubbard */ 760916347f7SJordan K. Hubbard /* sc=00 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 7618b2e5491SNate Williams /* sc=01 */ 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, DBG, 0x1B, 0x02, 0x00, 762916347f7SJordan K. Hubbard /* sc=02 */ '1', '!', NOP, NOP, '1', '!', NOP, NOP, 0x33, 0x00, 763916347f7SJordan K. Hubbard /* sc=03 */ '2', '@', 0x00, 0x00, '2', '@', 0x00, 0x00, 0x00, 0x00, 764916347f7SJordan K. Hubbard /* sc=04 */ '3', '#', NOP, NOP, '3', '#', NOP, NOP, 0x33, 0x00, 765916347f7SJordan K. Hubbard /* sc=05 */ '4', '$', NOP, NOP, '4', '$', NOP, NOP, 0x33, 0x00, 766916347f7SJordan K. Hubbard /* sc=06 */ '5', '%', NOP, NOP, '5', '%', NOP, NOP, 0x33, 0x00, 767916347f7SJordan K. Hubbard /* sc=07 */ '6', '^', 0x1E, 0x1E, '6', '^', 0x1E, 0x1E, 0x00, 0x00, 768916347f7SJordan K. Hubbard /* sc=08 */ '7', '&', NOP, NOP, '7', '&', NOP, NOP, 0x33, 0x00, 769916347f7SJordan K. Hubbard /* sc=09 */ '8', '*', NOP, NOP, '8', '*', NOP, NOP, 0x33, 0x00, 770916347f7SJordan K. Hubbard /* sc=0a */ '9', '(', NOP, NOP, '9', '(', NOP, NOP, 0x33, 0x00, 771916347f7SJordan K. Hubbard /* sc=0b */ '0', ')', NOP, NOP, '0', ')', NOP, NOP, 0x33, 0x00, 772916347f7SJordan K. Hubbard /* sc=0c */ '-', '_', 0x1F, 0x1F, '-', '_', 0x1F, 0x1F, 0x00, 0x00, 773916347f7SJordan K. Hubbard /* sc=0d */ '=', '+', NOP, NOP, '=', '+', NOP, NOP, 0x33, 0x00, 774916347f7SJordan K. Hubbard /* sc=0e */ 0x08, 0x08, 0x7F, 0x7F, 0x08, 0x08, 0x7F, 0x7F, 0x00, 0x00, 7751afec254SAndrey A. Chernov /* sc=0f */ 0x09, BTAB, NOP, NOP, 0x09, BTAB, NOP, NOP, 0x77, 0x00, 776916347f7SJordan K. Hubbard /* sc=10 */ 'q', 'Q', 0x11, 0x11, 'q', 'Q', 0x11, 0x11, 0x00, 0x01, 777916347f7SJordan K. Hubbard /* sc=11 */ 'w', 'W', 0x17, 0x17, 'w', 'W', 0x17, 0x17, 0x00, 0x01, 778916347f7SJordan K. Hubbard /* sc=12 */ 'e', 'E', 0x05, 0x05, 'e', 'E', 0x05, 0x05, 0x00, 0x01, 779916347f7SJordan K. Hubbard /* sc=13 */ 'r', 'R', 0x12, 0x12, 'r', 'R', 0x12, 0x12, 0x00, 0x01, 780916347f7SJordan K. Hubbard /* sc=14 */ 't', 'T', 0x14, 0x14, 't', 'T', 0x14, 0x14, 0x00, 0x01, 781916347f7SJordan K. Hubbard /* sc=15 */ 'y', 'Y', 0x19, 0x19, 'y', 'Y', 0x19, 0x19, 0x00, 0x01, 782916347f7SJordan K. Hubbard /* sc=16 */ 'u', 'U', 0x15, 0x15, 'u', 'U', 0x15, 0x15, 0x00, 0x01, 783916347f7SJordan K. Hubbard /* sc=17 */ 'i', 'I', 0x09, 0x09, 'i', 'I', 0x09, 0x09, 0x00, 0x01, 784916347f7SJordan K. Hubbard /* sc=18 */ 'o', 'O', 0x0F, 0x0F, 'o', 'O', 0x0F, 0x0F, 0x00, 0x01, 785916347f7SJordan K. Hubbard /* sc=19 */ 'p', 'P', 0x10, 0x10, 'p', 'P', 0x10, 0x10, 0x00, 0x01, 786916347f7SJordan K. Hubbard /* sc=1a */ '[', '{', 0x1B, 0x1B, '[', '{', 0x1B, 0x1B, 0x00, 0x00, 787916347f7SJordan K. Hubbard /* sc=1b */ ']', '}', 0x1D, 0x1D, ']', '}', 0x1D, 0x1D, 0x00, 0x00, 788916347f7SJordan K. Hubbard /* sc=1c */ 0x0D, 0x0D, 0x0A, 0x0A, 0x0D, 0x0D, 0x0A, 0x0A, 0x00, 0x00, 789916347f7SJordan K. Hubbard /* sc=1d */ LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, 0xFF, 0x00, 790916347f7SJordan K. Hubbard /* sc=1e */ 'a', 'A', 0x01, 0x01, 'a', 'A', 0x01, 0x01, 0x00, 0x01, 791916347f7SJordan K. Hubbard /* sc=1f */ 's', 'S', 0x13, 0x13, 's', 'S', 0x13, 0x13, 0x00, 0x01, 792916347f7SJordan K. Hubbard /* sc=20 */ 'd', 'D', 0x04, 0x04, 'd', 'D', 0x04, 0x04, 0x00, 0x01, 793916347f7SJordan K. Hubbard /* sc=21 */ 'f', 'F', 0x06, 0x06, 'f', 'F', 0x06, 0x06, 0x00, 0x01, 794916347f7SJordan K. Hubbard /* sc=22 */ 'g', 'G', 0x07, 0x07, 'g', 'G', 0x07, 0x07, 0x00, 0x01, 795916347f7SJordan K. Hubbard /* sc=23 */ 'h', 'H', 0x08, 0x08, 'h', 'H', 0x08, 0x08, 0x00, 0x01, 796916347f7SJordan K. Hubbard /* sc=24 */ 'j', 'J', 0x0A, 0x0A, 'j', 'J', 0x0A, 0x0A, 0x00, 0x01, 797916347f7SJordan K. Hubbard /* sc=25 */ 'k', 'K', 0x0B, 0x0B, 'k', 'K', 0x0B, 0x0B, 0x00, 0x01, 798916347f7SJordan K. Hubbard /* sc=26 */ 'l', 'L', 0x0C, 0x0C, 'l', 'L', 0x0C, 0x0C, 0x00, 0x01, 799916347f7SJordan K. Hubbard /* sc=27 */ ';', ':', NOP, NOP, ';', ':', NOP, NOP, 0x33, 0x00, 800916347f7SJordan K. Hubbard /* sc=28 */ '\'', '"', NOP, NOP, '\'', '"', NOP, NOP, 0x33, 0x00, 801916347f7SJordan K. Hubbard /* sc=29 */ '`', '~', NOP, NOP, '`', '~', NOP, NOP, 0x33, 0x00, 802916347f7SJordan K. Hubbard /* sc=2a */ LSH, LSH, LSH, LSH, LSH, LSH, LSH, LSH, 0xFF, 0x00, 803916347f7SJordan K. Hubbard /* sc=2b */ '\\', '|', 0x1C, 0x1C, '\\', '|', 0x1C, 0x1C, 0x00, 0x00, 804916347f7SJordan K. Hubbard /* sc=2c */ 'z', 'Z', 0x1A, 0x1A, 'z', 'Z', 0x1A, 0x1A, 0x00, 0x01, 805916347f7SJordan K. Hubbard /* sc=2d */ 'x', 'X', 0x18, 0x18, 'x', 'X', 0x18, 0x18, 0x00, 0x01, 806916347f7SJordan K. Hubbard /* sc=2e */ 'c', 'C', 0x03, 0x03, 'c', 'C', 0x03, 0x03, 0x00, 0x01, 807916347f7SJordan K. Hubbard /* sc=2f */ 'v', 'V', 0x16, 0x16, 'v', 'V', 0x16, 0x16, 0x00, 0x01, 808916347f7SJordan K. Hubbard /* sc=30 */ 'b', 'B', 0x02, 0x02, 'b', 'B', 0x02, 0x02, 0x00, 0x01, 809916347f7SJordan K. Hubbard /* sc=31 */ 'n', 'N', 0x0E, 0x0E, 'n', 'N', 0x0E, 0x0E, 0x00, 0x01, 810916347f7SJordan K. Hubbard /* sc=32 */ 'm', 'M', 0x0D, 0x0D, 'm', 'M', 0x0D, 0x0D, 0x00, 0x01, 811916347f7SJordan K. Hubbard /* sc=33 */ ',', '<', NOP, NOP, ',', '<', NOP, NOP, 0x33, 0x00, 812916347f7SJordan K. Hubbard /* sc=34 */ '.', '>', NOP, NOP, '.', '>', NOP, NOP, 0x33, 0x00, 813916347f7SJordan K. Hubbard /* sc=35 */ '/', '?', NOP, NOP, '/', '?', NOP, NOP, 0x33, 0x00, 814916347f7SJordan K. Hubbard /* sc=36 */ RSH, RSH, RSH, RSH, RSH, RSH, RSH, RSH, 0xFF, 0x00, 815916347f7SJordan K. Hubbard /* sc=37 */ '*', '*', 0x0A, 0x0A, '*', '*', 0x0A, 0x0A, 0x33, 0x00, 816916347f7SJordan K. Hubbard /* sc=38 */ LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, 0xFF, 0x00, 81722414e53SDavid Greenman /* sc=39 */ ' ', ' ', ' ', ' ', ' ', ' ', SUSP, ' ', 0x02, 0x00, 818916347f7SJordan K. Hubbard /* sc=3a */ CLK, CLK, CLK, CLK, CLK, CLK, CLK, CLK, 0xFF, 0x00, 819916347f7SJordan K. Hubbard /* sc=3b */ F( 1), F(13), F(25), F(37), S( 1), S(11), S( 1), S(11), 0xFF, 0x00, 820916347f7SJordan K. Hubbard /* sc=3c */ F( 2), F(14), F(26), F(38), S( 2), S(12), S( 2), S(12), 0xFF, 0x00, 821916347f7SJordan K. Hubbard /* sc=3d */ F( 3), F(15), F(27), F(39), S( 3), S(13), S( 3), S(13), 0xFF, 0x00, 822916347f7SJordan K. Hubbard /* sc=3e */ F( 4), F(16), F(28), F(40), S( 4), S(14), S( 4), S(14), 0xFF, 0x00, 823916347f7SJordan K. Hubbard /* sc=3f */ F( 5), F(17), F(29), F(41), S( 5), S(15), S( 5), S(15), 0xFF, 0x00, 824916347f7SJordan K. Hubbard /* sc=40 */ F( 6), F(18), F(30), F(42), S( 6), S(16), S( 6), S(16), 0xFF, 0x00, 825916347f7SJordan K. Hubbard /* sc=41 */ F( 7), F(19), F(31), F(43), S( 7), S( 7), S( 7), S( 7), 0xFF, 0x00, 826916347f7SJordan K. Hubbard /* sc=42 */ F( 8), F(20), F(32), F(44), S( 8), S( 8), S( 8), S( 8), 0xFF, 0x00, 827916347f7SJordan K. Hubbard /* sc=43 */ F( 9), F(21), F(33), F(45), S( 9), S( 9), S( 9), S( 9), 0xFF, 0x00, 828916347f7SJordan K. Hubbard /* sc=44 */ F(10), F(22), F(34), F(46), S(10), S(10), S(10), S(10), 0xFF, 0x00, 829916347f7SJordan K. Hubbard /* sc=45 */ NLK, NLK, NLK, NLK, NLK, NLK, NLK, NLK, 0xFF, 0x00, 830916347f7SJordan K. Hubbard /* sc=46 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00, 831916347f7SJordan K. Hubbard /* sc=47 */ F(49), '7', '7', '7', '7', '7', '7', '7', 0x80, 0x02, 832916347f7SJordan K. Hubbard /* sc=48 */ F(50), '8', '8', '8', '8', '8', '8', '8', 0x80, 0x02, 833916347f7SJordan K. Hubbard /* sc=49 */ F(51), '9', '9', '9', '9', '9', '9', '9', 0x80, 0x02, 834916347f7SJordan K. Hubbard /* sc=4a */ F(52), '-', '-', '-', '-', '-', '-', '-', 0x80, 0x02, 835916347f7SJordan K. Hubbard /* sc=4b */ F(53), '4', '4', '4', '4', '4', '4', '4', 0x80, 0x02, 836a926a37bSSøren Schmidt /* sc=4c */ F(54), '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02, 837916347f7SJordan K. Hubbard /* sc=4d */ F(55), '6', '6', '6', '6', '6', '6', '6', 0x80, 0x02, 838916347f7SJordan K. Hubbard /* sc=4e */ F(56), '+', '+', '+', '+', '+', '+', '+', 0x80, 0x02, 839916347f7SJordan K. Hubbard /* sc=4f */ F(57), '1', '1', '1', '1', '1', '1', '1', 0x80, 0x02, 840916347f7SJordan K. Hubbard /* sc=50 */ F(58), '2', '2', '2', '2', '2', '2', '2', 0x80, 0x02, 841916347f7SJordan K. Hubbard /* sc=51 */ F(59), '3', '3', '3', '3', '3', '3', '3', 0x80, 0x02, 842916347f7SJordan K. Hubbard /* sc=52 */ F(60), '0', '0', '0', '0', '0', '0', '0', 0x80, 0x02, 8436de1193dSSøren Schmidt /* sc=53 */ 0x7F, '.', '.', '.', '.', '.', RBT, RBT, 0x03, 0x02, 844916347f7SJordan K. Hubbard /* sc=54 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 845916347f7SJordan K. Hubbard /* sc=55 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 846916347f7SJordan K. Hubbard /* sc=56 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 847916347f7SJordan K. Hubbard /* sc=57 */ F(11), F(23), F(35), F(47), S(11), S(11), S(11), S(11), 0xFF, 0x00, 848916347f7SJordan K. Hubbard /* sc=58 */ F(12), F(24), F(36), F(48), S(12), S(12), S(12), S(12), 0xFF, 0x00, 849916347f7SJordan K. Hubbard /* sc=59 */ 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x00, 0x00, 850916347f7SJordan K. Hubbard /* sc=5a */ RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, 0xFF, 0x00, 851916347f7SJordan K. Hubbard /* sc=5b */ '/', '/', '/', '/', '/', '/', '/', '/', 0x00, 0x00, 85233853f97SJordan K. Hubbard /* sc=5c */ NEXT, NOP, DBG, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 853916347f7SJordan K. Hubbard /* sc=5d */ RALT, RALT, RALT, RALT, RALT, RALT, RALT, RALT, 0xFF, 0x00, 854916347f7SJordan K. Hubbard /* sc=5e */ F(49), F(49), F(49), F(49), F(49), F(49), F(49), F(49), 0xFF, 0x00, 855916347f7SJordan K. Hubbard /* sc=5f */ F(50), F(50), F(50), F(50), F(50), F(50), F(50), F(50), 0xFF, 0x00, 856916347f7SJordan K. Hubbard /* sc=60 */ F(51), F(51), F(51), F(51), F(51), F(51), F(51), F(51), 0xFF, 0x00, 857916347f7SJordan K. Hubbard /* sc=61 */ F(53), F(53), F(53), F(53), F(53), F(53), F(53), F(53), 0xFF, 0x00, 858916347f7SJordan K. Hubbard /* sc=62 */ F(55), F(55), F(55), F(55), F(55), F(55), F(55), F(55), 0xFF, 0x00, 859916347f7SJordan K. Hubbard /* sc=63 */ F(57), F(57), F(57), F(57), F(57), F(57), F(57), F(57), 0xFF, 0x00, 860916347f7SJordan K. Hubbard /* sc=64 */ F(58), F(58), F(58), F(58), F(58), F(58), F(58), F(58), 0xFF, 0x00, 861916347f7SJordan K. Hubbard /* sc=65 */ F(59), F(59), F(59), F(59), F(59), F(59), F(59), F(59), 0xFF, 0x00, 862916347f7SJordan K. Hubbard /* sc=66 */ F(60), F(60), F(60), F(60), F(60), F(60), F(60), F(60), 0xFF, 0x00, 8636de1193dSSøren Schmidt /* sc=67 */ 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, RBT, RBT, 0x03, 0x00, 864916347f7SJordan K. Hubbard /* sc=68 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00, 8655e146a01SSøren Schmidt /* sc=69 */ F(61), F(61), F(61), F(61), F(61), F(61), F(61), F(61), 0xFF, 0x00, 8665e146a01SSøren Schmidt /* sc=6a */ F(62), F(62), F(62), F(62), F(62), F(62), F(62), F(62), 0xFF, 0x00, 8675e146a01SSøren Schmidt /* sc=6b */ F(63), F(63), F(63), F(63), F(63), F(63), F(63), F(63), 0xFF, 0x00, 868916347f7SJordan K. Hubbard }; 869916347f7SJordan K. Hubbard 870916347f7SJordan K. Hubbard #endif 871916347f7SJordan K. Hubbard 872a926a37bSSøren Schmidt fkeytab_t fkey_tab[96] = { 873a926a37bSSøren Schmidt /* 01-04 */ {"\033[M", 3}, {"\033[N", 3}, {"\033[O", 3}, {"\033[P", 3}, 874a926a37bSSøren Schmidt /* 05-08 */ {"\033[Q", 3}, {"\033[R", 3}, {"\033[S", 3}, {"\033[T", 3}, 875a926a37bSSøren Schmidt /* 09-12 */ {"\033[U", 3}, {"\033[V", 3}, {"\033[W", 3}, {"\033[X", 3}, 876a926a37bSSøren Schmidt /* 13-16 */ {"\033[Y", 3}, {"\033[Z", 3}, {"\033[a", 3}, {"\033[b", 3}, 877a926a37bSSøren Schmidt /* 17-20 */ {"\033[c", 3}, {"\033[d", 3}, {"\033[e", 3}, {"\033[f", 3}, 878a926a37bSSøren Schmidt /* 21-24 */ {"\033[g", 3}, {"\033[h", 3}, {"\033[i", 3}, {"\033[j", 3}, 879a926a37bSSøren Schmidt /* 25-28 */ {"\033[k", 3}, {"\033[l", 3}, {"\033[m", 3}, {"\033[n", 3}, 880a926a37bSSøren Schmidt /* 29-32 */ {"\033[o", 3}, {"\033[p", 3}, {"\033[q", 3}, {"\033[r", 3}, 881a926a37bSSøren Schmidt /* 33-36 */ {"\033[s", 3}, {"\033[t", 3}, {"\033[u", 3}, {"\033[v", 3}, 882a926a37bSSøren Schmidt /* 37-40 */ {"\033[w", 3}, {"\033[x", 3}, {"\033[y", 3}, {"\033[z", 3}, 883a926a37bSSøren Schmidt /* 41-44 */ {"\033[@", 3}, {"\033[[", 3}, {"\033[\\",3}, {"\033[]", 3}, 884a926a37bSSøren Schmidt /* 45-48 */ {"\033[^", 3}, {"\033[_", 3}, {"\033[`", 3}, {"\033[{", 3}, 885a926a37bSSøren Schmidt /* 49-52 */ {"\033[H", 3}, {"\033[A", 3}, {"\033[I", 3}, {"-" , 1}, 886a926a37bSSøren Schmidt /* 53-56 */ {"\033[D", 3}, {"\033[E", 3}, {"\033[C", 3}, {"+" , 1}, 887a926a37bSSøren Schmidt /* 57-60 */ {"\033[F", 3}, {"\033[B", 3}, {"\033[G", 3}, {"\033[L", 3}, 888a926a37bSSøren Schmidt /* 61-64 */ {"\033[J", 3}, {"\033[K", 3}, {"\033[}", 3}, {"", 0} , 889a926a37bSSøren Schmidt /* 65-68 */ {"", 0} , {"", 0} , {"", 0} , {"", 0} , 890a926a37bSSøren Schmidt /* 69-72 */ {"", 0} , {"", 0} , {"", 0} , {"", 0} , 891a926a37bSSøren Schmidt /* 73-76 */ {"", 0} , {"", 0} , {"", 0} , {"", 0} , 892a926a37bSSøren Schmidt /* 77-80 */ {"", 0} , {"", 0} , {"", 0} , {"", 0} , 893a926a37bSSøren Schmidt /* 81-84 */ {"", 0} , {"", 0} , {"", 0} , {"", 0} , 894a926a37bSSøren Schmidt /* 85-88 */ {"", 0} , {"", 0} , {"", 0} , {"", 0} , 895a926a37bSSøren Schmidt /* 89-92 */ {"", 0} , {"", 0} , {"", 0} , {"", 0} , 896a926a37bSSøren Schmidt /* 93-96 */ {"", 0} , {"", 0} , {"", 0} , {"", 0} 897916347f7SJordan K. Hubbard }; 898