1 // $Xorg: us,v 1.4 2001/02/09 02:05:53 xorgcvs Exp $
3 //Copyright 1996, 1998 The Open Group
5 //Permission to use, copy, modify, distribute, and sell this software and its
6 //documentation for any purpose is hereby granted without fee, provided that
7 //the above copyright notice appear in all copies and that both that
8 //copyright notice and this permission notice appear in supporting
11 //The above copyright notice and this permission notice shall be
12 //included in all copies or substantial portions of the Software.
14 //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15 //EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16 //MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17 //IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
18 //OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
19 //ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20 //OTHER DEALINGS IN THE SOFTWARE.
22 //Except as contained in this notice, the name of The Open Group shall
23 //not be used in advertising or otherwise to promote the sale, use or
24 //other dealings in this Software without prior written authorization
25 //from The Open Group.
27 // US/ASCII layout for a HP non-PC keyboard
31 // A few alphanumeric keys are different
32 key <TLDE> { [ grave, asciitilde ]};
33 key <RTSH> { [ Shift_R ]};
34 key <LALT> { [ Meta_L ]};
35 key <RALT> { [ Meta_R ]};
36 // End alphanumeric section
38 // Begin "Function" section
39 key <BRK> { [ Break ]};
40 key <STOP> { [ Cancel ]};
41 key <FK01> { [ F1 ] };
42 key <FK02> { [ F2 ] };
43 key <FK03> { [ F3 ] };
44 key <FK04> { [ F4 ] };
45 key <MENU> { [ Menu ] };
46 key <SYST> { [ hpSystem ]};
47 key <FK05> { [ F5 ] };
48 key <FK06> { [ F6 ] };
49 key <FK07> { [ F7 ] };
50 key <FK08> { [ F8 ] };
51 key <CLRL> { [ hpClearLine ]};
52 key <CLR> { [ Clear ]};
53 key <FK09> { [ F9 ] };
54 key <FK10> { [ F10 ] };
55 key <FK11> { [ F11 ] };
56 key <FK12> { [ F12 ] };
57 // End "Function" section
59 // Begin "Editing" section
60 key <PRSC> { [ Execute, Print ]};
61 key <INSL> { [ hpInsertLine ]};
62 key <DELL> { [ hpDeleteLine ]};
63 key <INSC> { [ hpInsertChar ]};
64 key <DELC> { [ hpDeleteChar ]};
65 key <HOME> { [ Home ] };
66 key <PGUP> { [ Prior ] };
67 key <PGDN> { [ Next ] };
68 key <SELE> { [ Select ] };
69 key <LEFT> { [ Left ] };
70 key <DOWN> { [ Down ] };
72 key <RGHT> { [ Right ]};
74 // End "Editing" section, begin "Keypad"
75 key <KPMU> { [ KP_Multiply ]};
76 key <KPDV> { [ KP_Divide ]};
77 key <KPAD> { [ KP_Add ]};
78 key <KPSU> { [ KP_Subtract ]};
80 key <KP7> { [ KP_7 ] };
81 key <KP8> { [ KP_8 ] };
82 key <KP9> { [ KP_9 ] };
83 key <KPEN> { [ KP_Enter ]};
85 key <KP4> { [ KP_4 ] };
86 key <KP5> { [ KP_5 ] };
87 key <KP6> { [ KP_6 ] };
88 key <KPSP> { [ KP_Separator ]};
90 key <KP1> { [ KP_1 ] };
91 key <KP2> { [ KP_2 ] };
92 key <KP3> { [ KP_3 ] };
93 key <KPTB> { [ KP_Tab ]};
95 key <KP0> { [ KP_0 ] };
96 key <KPDL> { [ KP_Decimal ] };
97 // End "Keypad" section
100 // begin modifier mappings
101 modifier_map Shift { Shift_R };
102 modifier_map Mod1 { Meta_L, Meta_R };
103 modifier_map Mod2 { Alt_L };
104 modifier_map Mod3 { Mode_switch };