// Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved. // //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. // xkb_keycodes "type6" { minimum= 8; maximum= 132; = 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 "type6tuv" { include "sun(type6)" = 131; }; xkb_keycodes "type6_jp" { include "sun(type6)" = 122; = 123; = 124; = 118; }; xkb_keycodes "type6_euro" { include "sun(type6)" = 131; }; xkb_keycodes "type6unix" { include "sun(type6)" }; // 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 "type6" keycodes above are coming from... default 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; = 155; = 160; = 235; 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 = ; // 131 alias = ; // 129 alias = ; // 208 indicator 5 = "Kana"; };