2 // $Xorg: sun,v 1.4 2001/02/09 02:05:52 xorgcvs Exp $
4 //Copyright 1996, 1998 The Open Group
6 //Permission to use, copy, modify, distribute, and sell this software and its
7 //documentation for any purpose is hereby granted without fee, provided that
8 //the above copyright notice appear in all copies and that both that
9 //copyright notice and this permission notice appear in supporting
12 //The above copyright notice and this permission notice shall be
13 //included in all copies or substantial portions of the Software.
15 //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16 //EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17 //MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
18 //IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
19 //OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
20 //ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
21 //OTHER DEALINGS IN THE SOFTWARE.
23 //Except as contained in this notice, the name of The Open Group shall
24 //not be used in advertising or otherwise to promote the sale, use or
25 //other dealings in this Software without prior written authorization
26 //from The Open Group.
28 // ---------------------------------------------------------------------------
29 // Copyright 2004 Sun Microsystems, Inc. All rights reserved.
31 // Permission is hereby granted, free of charge, to any person obtaining a
32 // copy of this software and associated documentation files (the "Software"),
33 // to deal in the Software without restriction, including without limitation
34 // the rights to use, copy, modify, merge, publish, distribute, sublicense,
35 // and/or sell copies of the Software, and to permit persons to whom the
36 // Software is furnished to do so, subject to the following conditions:
38 // The above copyright notice and this permission notice (including the next
39 // paragraph) shall be included in all copies or substantial portions of the
42 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
43 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
44 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
45 // THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
46 // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
47 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
48 // DEALINGS IN THE SOFTWARE.
50 // ---------------------------------------------------------------------------
52 // $XFree86: xc/programs/xkbcomp/keycodes/sun,v 3.6 2003/08/09 14:30:48 pascal Exp $
55 default xkb_keycodes "type4" {
128 alias <RALT> = <ALGR>;
180 indicator 4 = "Caps Lock";
181 indicator 3 = "Compose";
182 indicator 2 = "Scroll Lock";
183 indicator 1 = "Num Lock";
186 xkb_keycodes "type5" {
223 alias <RALT> = <ALGR>;
324 indicator 4 = "Caps Lock";
325 indicator 3 = "Compose";
326 indicator 2 = "Scroll Lock";
327 indicator 1 = "Num Lock";
330 xkb_keycodes "type4tuv" {
336 xkb_keycodes "type4_ca" {
341 xkb_keycodes "type4_jp" {
347 alias <UNDR> = <LNFD>;
350 xkb_keycodes "type4_euro" {
355 xkb_keycodes "type5tuv" {
360 xkb_keycodes "type5_jp" {
368 xkb_keycodes "type5_euro" {
373 xkb_keycodes "type5hobo" {
410 alias <RALT> = <ALGR>;
511 indicator 4 = "Caps Lock";
512 indicator 3 = "Compose";
513 indicator 2 = "Scroll Lock";
514 indicator 1 = "Num Lock";
517 xkb_keycodes "type5tuvhobo" {
518 include "sun(type5hobo)"
523 xkb_keycodes "type5_jphobo" {
524 include "sun(type5hobo)"
531 xkb_keycodes "type6" {
535 xkb_keycodes "type6tuv" {
536 include "sun(type5tuv)"
539 xkb_keycodes "type6unix" {
543 xkb_keycodes "type6_jp" {
544 include "sun(type5_jp)"
547 xkb_keycodes "type6_euro" {
548 include "sun(type5_euro)"
551 // Even though this is labeled as _usb, I verified these keycodes as accurate
552 // on my type5 serial and type6 serial keyboards as well on linux-2.6 boxes.
553 // I'm not sure where the "type5" keycodes above are coming from...
554 xkb_keycodes "type6_usb" {
570 // The blank has keycode 239 on my type6 serial kb, but 134 on
571 // my type6 usb keyboard (same as <PROP>)
574 // AltGr + PrScr actually sends a different keycode
582 indicator 4 = "Compose";
585 xkb_keycodes "type6tuv_usb" {
586 include "sun(type6_usb)"
591 xkb_keycodes "type6_jp_usb" {
592 include "sun(type6_usb)"
593 alias <UNDR> = <KPDC>; // 123
594 alias <EXEC> = <I0B>; // 139
595 alias <KANJ> = <I0A>; // 138
596 alias <HENK> = <XFER>; // 129
597 indicator 5 = "Kana";
600 xkb_keycodes "type5_se" {
644 alias <TLDE> = <AE00>;
674 alias <TAB> = <AD00>;
703 alias <CAPS> = <AC00>;
716 alias <BKSL> = <AC12>;
730 alias <LSGT> = <AB00>;
762 alias <RALT> = <ALGR>;
772 indicator 4 = "Caps Lock";
773 indicator 3 = "Compose";
774 indicator 2 = "Scroll Lock";
775 indicator 1 = "Num Lock";
778 xkb_keycodes "type5c_se" {
779 include "sun(type5_se)"
782 xkb_keycodes "type4__se" {
804 alias <TLDE> = <AF13>;
819 alias <ESC> = <AE00>;
845 alias <TAB> = <AD00>;
870 // alias <CAPS> = <AC00>;
883 alias <BKSL> = <AC12>;
897 alias <LSGT> = <AB00>;
921 // alias <LCTL> = <AA00>;
928 alias <RALT> = <ALGR>;
934 indicator 4 = "Caps Lock";
935 indicator 3 = "Compose";
936 indicator 2 = "Scroll Lock";
937 indicator 1 = "Num Lock";
940 xkb_keycodes "type4_se" {
942 include "sun(type4__se)"
944 alias <LCTL> = <AA00>;
945 alias <CAPS> = <AC00>;
948 xkb_keycodes "type4_se_swapctl" {
950 include "sun(type4__se)"
952 alias <LCTL> = <AC00>;
953 alias <CAPS> = <AA00>;