// //Copyright 1996, 1998 The Open Group // //Permission to use, copy, modify, distribute, and sell this software and its //documentation for any purpose is hereby granted without fee, provided that //the above copyright notice appear in all copies and that both that //copyright notice and this permission notice appear in supporting //documentation. // //The above copyright notice and this permission notice shall be //included in all copies or substantial portions of the Software. // //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, //EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF //MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. //IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR //OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, //ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR //OTHER DEALINGS IN THE SOFTWARE. // //Except as contained in this notice, the name of The Open Group shall //not be used in advertising or otherwise to promote the sale, use or //other dealings in this Software without prior written authorization //from The Open Group. // // --------------------------------------------------------------------------- // Copyright 2004 Sun Microsystems, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the "Software"), // to deal in the Software without restriction, including without limitation // the rights to use, copy, modify, merge, publish, distribute, sublicense, // and/or sell copies of the Software, and to permit persons to whom the // Software is furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice (including the next // paragraph) shall be included in all copies or substantial portions of the // Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL // THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. // // --------------------------------------------------------------------------- // default xkb_keycodes "type4" { minimum= 8; maximum= 255; = 36; = 37; = 38; = 39; = 40; = 41; = 42; = 43; = 44; = 45; = 46; = 47; = 48; = 49; = 50; = 60; = 61; = 62; = 63; = 64; = 65; = 66; = 67; = 68; = 69; = 70; = 71; = 72; = 73; = 83; = 84; = 85; = 86; = 87; = 88; = 89; = 90; = 91; = 92; = 93; = 94; = 95; = 96; = 106; = 107; = 108; = 109; = 110; = 111; = 112; = 113; = 114; = 115; = 116; = 117; = 118; = 125; = 126; = 26; = 127; = 128; = 129; = 74; = 20; alias = ; = 12; = 13; = 15; = 17; = 19; = 21; = 23; = 24; = 25; = 14; = 16; = 18; = 8; = 10; = 32; = 33; = 56; = 58; = 79; = 80; = 102; = 104; = 29; = 30; = 28; = 105; = 52; = 53; = 54; = 78; = 75; = 76; = 77; = 132; = 98; = 99; = 100; = 119; = 120; = 121; = 97; = 101; = 57; indicator 4 = "Caps Lock"; indicator 3 = "Compose"; indicator 2 = "Scroll Lock"; indicator 1 = "Num Lock"; }; xkb_keycodes "type5" { minimum= 8; maximum= 255; = 36; = 37; = 38; = 39; = 40; = 41; = 42; = 43; = 44; = 45; = 46; = 47; = 48; = 49; = 50; = 60; = 61; = 62; = 63; = 64; = 65; = 66; = 67; = 68; = 69; = 70; = 71; = 72; = 73; = 74; = 20; alias = ; = 83; = 84; = 85; = 86; = 87; = 88; = 89; = 90; = 91; = 92; = 93; = 94; = 95; = 96; = 106; = 107; = 108; = 109; = 110; = 111; = 112; = 113; = 114; = 115; = 116; = 117; = 26; = 126; = 127; = 128; = 129; = 12; = 13; = 15; = 17; = 19; = 21; = 23; = 24; = 25; = 14; = 16; = 18; = 8; = 10; = 32; = 33; = 56; = 58; = 79; = 80; = 102; = 104; = 29; = 30; = 28; = 105; = 53; = 54; = 78; = 75; = 76; = 77; = 132; = 98; = 99; = 100; = 119; = 120; = 121; = 97; = 101; = 57; = 27; = 31; = 34; = 35; = 51; = 59; = 81; = 103; = 130; = 125; = 52; = 9; = 11; = 55; indicator 4 = "Caps Lock"; indicator 3 = "Compose"; indicator 2 = "Scroll Lock"; indicator 1 = "Num Lock"; }; xkb_keycodes "type4tuv" { include "sun(type4)" = 131; = 22; }; xkb_keycodes "type4_ca" { include "sun(type4)" = 131; }; xkb_keycodes "type4_jp" { include "sun(type4)" = 122; = 123; = 124; = 22; alias = ; }; xkb_keycodes "type4_euro" { include "sun(type4)" = 131; }; xkb_keycodes "type5tuv" { include "sun(type5)" = 131; }; xkb_keycodes "type5_jp" { include "sun(type5)" = 122; = 123; = 124; = 118; }; xkb_keycodes "type5_euro" { include "sun(type5)" = 131; }; xkb_keycodes "type5hobo" { minimum= 8; maximum= 255; = 36; = 37; = 38; = 39; = 40; = 41; = 42; = 43; = 44; = 45; = 46; = 47; = 48; = 49; = 50; = 60; = 61; = 62; = 63; = 64; = 65; = 66; = 67; = 68; = 69; = 70; = 71; = 72; = 73; = 74; = 20; alias = ; = 83; = 84; = 85; = 86; = 87; = 88; = 89; = 90; = 91; = 92; = 93; = 94; = 95; = 96; = 106; = 107; = 108; = 109; = 110; = 111; = 112; = 113; = 114; = 115; = 116; = 117; = 26; = 126; = 127; = 128; = 129; = 12; = 13; = 15; = 17; = 19; = 21; = 23; = 24; = 25; = 14; = 16; = 18; = 8; = 10; = 32; = 33; = 56; = 58; = 79; = 80; = 102; = 104; = 29; = 30; = 28; = 105; // = 53; // = 54; // = 78; // = 75; // = 76; // = 77; // = 132; // = 98; // = 99; // = 100; // = 119; // = 120; // = 121; // = 97; // = 101; // = 57; = 27; = 31; = 34; = 35; = 51; = 59; = 81; = 103; = 130; = 125; = 52; = 9; = 11; = 55; indicator 4 = "Caps Lock"; indicator 3 = "Compose"; indicator 2 = "Scroll Lock"; indicator 1 = "Num Lock"; }; xkb_keycodes "type5tuvhobo" { include "sun(type5hobo)" = 131; }; xkb_keycodes "type5_jphobo" { include "sun(type5hobo)" = 122; = 123; = 124; = 118; }; xkb_keycodes "type6" { include "sun(type5)" }; xkb_keycodes "type6tuv" { include "sun(type5tuv)" }; xkb_keycodes "type6unix" { include "sun(type5)" }; xkb_keycodes "type6_jp" { include "sun(type5_jp)" }; xkb_keycodes "type6_euro" { include "sun(type5_euro)" }; // Even though this is labeled as _usb, I verified these keycodes as accurate // on my type5 serial and type6 serial keyboards as well on linux-2.6 boxes. // I'm not sure where the "type5" keycodes above are coming from... xkb_keycodes "type6_usb" { include "xfree86" = 232; = 133; = 134; = 135; = 140; = 248; = 191; = 192; = 122; = 188; = 245; // The blank has keycode 239 on my type6 serial kb, but 134 on // my type6 usb keyboard (same as ) = 239; // AltGr + PrScr actually sends a different keycode = 92; = 160; = 174; = 176; = 222; indicator 4 = "Compose"; }; xkb_keycodes "type6tuv_usb" { include "sun(type6_usb)" = 94; // = 51; }; xkb_keycodes "type6_jp_usb" { include "sun(type6_usb)" alias = ; // 123 alias = ; // 139 alias = ; // 138 alias = ; // 129 indicator 5 = "Kana"; }; xkb_keycodes "type5_se" { minimum= 8; maximum= 255; // Row G = 125; // = 36; // = 12; = 13; = 15; = 17; // = 19; = 21; = 23; = 24; // = 25; = 14; = 16; = 18; // = 29; = 30; = 28; // = 52; = 9; = 11; = 55; // End Row G // Row F // // End Row F // Row E = 8; = 10; // = 49; alias = ; = 37; = 38; = 39; = 40; = 41; = 42; = 43; = 44; = 45; = 46; = 47; = 48; = 50; // = 51; = 59; = 103; // = 105; = 53; = 54; = 78; //End Row E // Row D = 32; = 33; // = 60; alias = ; = 61; = 62; = 63; = 64; = 65; = 66; = 67; = 68; = 69; = 70; = 71; = 72; // = 73; = 81; = 130; // = 75; = 76; = 77; = 132; // End Row D // Row C = 56; = 58; // = 126; alias = ; = 84; = 85; = 86; = 87; = 88; = 89; = 90; = 91; = 92; = 93; = 94; = 95; alias = ; = 96; // = 98; = 99; = 100; // End Row C // Row B = 79; = 80; // = 106; = 131; alias = ; = 107; = 108; = 109; = 110; = 111; = 112; = 113; = 114; = 115; = 116; = 117; // = 27; // = 119; = 120; = 121; = 97; // End Row B // Row A = 102; = 104; // = 83; = 26; = 127; = 128; = 129; = 74; = 20; alias = ; // = 31; = 34; = 35; // = 101; = 57; // End Row A indicator 4 = "Caps Lock"; indicator 3 = "Compose"; indicator 2 = "Scroll Lock"; indicator 1 = "Num Lock"; }; xkb_keycodes "type5c_se" { include "sun(type5_se)" }; xkb_keycodes "type4__se" { minimum= 8; maximum= 255; // Row F = 8; = 10; // = 12; = 13; = 15; = 17; = 19; = 21; = 23; = 24; = 25; = 14; = 16; = 18; = 95; alias = ; = 22; = 73; // = 28; = 29; = 30; = 105; // End Row F // Row E = 32; = 33; // = 36; alias = ; = 37; = 38; = 39; = 40; = 41; = 42; = 43; = 44; = 45; = 46; = 47; = 48; = 50; // = 52; = 53; = 54; = 78; // End Row E // Row D = 56; = 58; // = 60; alias = ; = 61; = 62; = 63; = 64; = 65; = 66; = 67; = 68; = 69; = 70; = 71; = 72; // = 75; = 76; = 77; = 132; // End Row D // Row C = 79; = 80; // = 83; // alias = ; = 84; = 85; = 86; = 87; = 88; = 89; = 90; = 91; = 92; = 93; = 94; = 49; alias = ; = 96; // = 98; = 99; = 100; // End Row C // Row B = 102; = 104; // = 106; = 131; alias = ; = 107; = 108; = 109; = 110; = 111; = 112; = 113; = 114; = 115; = 116; = 117; = 118; // = 119; = 120; = 121; = 97; // End Row B // Row A = 125; // = 126; // alias = ; = 26; = 127; = 128; = 129; = 74; = 20; alias = ; // = 101; = 57; // End Row A indicator 4 = "Caps Lock"; indicator 3 = "Compose"; indicator 2 = "Scroll Lock"; indicator 1 = "Num Lock"; }; xkb_keycodes "type4_se" { include "sun(type4__se)" alias = ; alias = ; }; xkb_keycodes "type4_se_swapctl" { include "sun(type4__se)" alias = ; alias = ; };