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
33 // "Software"), to deal in the Software without restriction, including
34 // without limitation the rights to use, copy, modify, merge, publish,
35 // distribute, and/or sell copies of the Software, and to permit persons
36 // to whom the Software is furnished to do so, provided that the above
37 // copyright notice(s) and this permission notice appear in all copies of
38 // the Software and that both the above copyright notice(s) and this
39 // permission notice appear in supporting documentation.
41 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
42 // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
43 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
44 // OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
45 // HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
46 // INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
47 // FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
48 // NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
49 // WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
51 // Except as contained in this notice, the name of a copyright holder
52 // shall not be used in advertising or otherwise to promote the sale, use
53 // or other dealings in this Software without prior written authorization
54 // of the copyright holder.
56 // ---------------------------------------------------------------------------
58 // $XFree86: xc/programs/xkbcomp/keycodes/sun,v 3.6 2003/08/09 14:30:48 pascal Exp $
61 default xkb_keycodes "type4" {
134 alias <RALT> = <ALGR>;
186 indicator 4 = "Caps Lock";
187 indicator 3 = "Compose";
188 indicator 2 = "Scroll Lock";
189 indicator 1 = "Num Lock";
192 xkb_keycodes "type5" {
229 alias <RALT> = <ALGR>;
330 indicator 4 = "Caps Lock";
331 indicator 3 = "Compose";
332 indicator 2 = "Scroll Lock";
333 indicator 1 = "Num Lock";
336 xkb_keycodes "type4tuv" {
342 xkb_keycodes "type4_ca" {
347 xkb_keycodes "type4_jp" {
353 alias <UNDR> = <LNFD>;
356 xkb_keycodes "type4_euro" {
361 xkb_keycodes "type5tuv" {
366 xkb_keycodes "type5_jp" {
374 xkb_keycodes "type5_euro" {
379 xkb_keycodes "type5hobo" {
416 alias <RALT> = <ALGR>;
517 indicator 4 = "Caps Lock";
518 indicator 3 = "Compose";
519 indicator 2 = "Scroll Lock";
520 indicator 1 = "Num Lock";
523 xkb_keycodes "type5tuvhobo" {
524 include "sun(type5hobo)"
529 xkb_keycodes "type5_jphobo" {
530 include "sun(type5hobo)"
537 xkb_keycodes "type6" {
541 xkb_keycodes "type6tuv" {
542 include "sun(type5tuv)"
545 xkb_keycodes "type6unix" {
549 xkb_keycodes "type6_jp" {
550 include "sun(type5_jp)"
553 xkb_keycodes "type6_euro" {
554 include "sun(type5_euro)"
557 // Even though this is labeled as _usb, I verified these keycodes as accurate
558 // on my type5 serial and type6 serial keyboards as well on linux-2.6 boxes.
559 // I'm not sure where the "type5" keycodes above are coming from...
560 xkb_keycodes "type6_usb" {
576 // The blank has keycode 239 on my type6 serial kb, but 134 on
577 // my type6 usb keyboard (same as <PROP>)
580 // AltGr + PrScr actually sends a different keycode
588 indicator 4 = "Compose";
591 xkb_keycodes "type6tuv_usb" {
592 include "sun(type6_usb)"
597 xkb_keycodes "type6_jp_usb" {
598 include "sun(type6_usb)"
599 alias <UNDR> = <KPDC>; // 123
600 alias <EXEC> = <I0B>; // 139
601 alias <KANJ> = <I0A>; // 138
602 alias <HENK> = <XFER>; // 129
603 indicator 5 = "Kana";
606 xkb_keycodes "type5_se" {
650 alias <TLDE> = <AE00>;
680 alias <TAB> = <AD00>;
709 alias <CAPS> = <AC00>;
722 alias <BKSL> = <AC12>;
736 alias <LSGT> = <AB00>;
768 alias <RALT> = <ALGR>;
778 indicator 4 = "Caps Lock";
779 indicator 3 = "Compose";
780 indicator 2 = "Scroll Lock";
781 indicator 1 = "Num Lock";
784 xkb_keycodes "type5c_se" {
785 include "sun(type5_se)"
788 xkb_keycodes "type4__se" {
810 alias <TLDE> = <AF13>;
825 alias <ESC> = <AE00>;
851 alias <TAB> = <AD00>;
876 // alias <CAPS> = <AC00>;
889 alias <BKSL> = <AC12>;
903 alias <LSGT> = <AB00>;
927 // alias <LCTL> = <AA00>;
934 alias <RALT> = <ALGR>;
940 indicator 4 = "Caps Lock";
941 indicator 3 = "Compose";
942 indicator 2 = "Scroll Lock";
943 indicator 1 = "Num Lock";
946 xkb_keycodes "type4_se" {
948 include "sun(type4__se)"
950 alias <LCTL> = <AA00>;
951 alias <CAPS> = <AC00>;
954 xkb_keycodes "type4_se_swapctl" {
956 include "sun(type4__se)"
958 alias <LCTL> = <AC00>;
959 alias <CAPS> = <AA00>;