xref: /illumos-gate/usr/src/cmd/loadkeys/type_101/japan (revision a28480febf31f0e61debac062a55216a98a05a92)
1#
2#pragma ident	"%Z%%M%	%I%	%E% SMI"
3#
4# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
5# Use is subject to license terms.
6#
7# CDDL HEADER START
8#
9# The contents of this file are subject to the terms of the
10# Common Development and Distribution License, Version 1.0 only
11# (the "License").  You may not use this file except in compliance
12# with the License.
13#
14# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
15# or http://www.opensolaris.org/os/licensing.
16# See the License for the specific language governing permissions
17# and limitations under the License.
18#
19# When distributing Covered Code, include this CDDL HEADER in each
20# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
21# If applicable, add the following below this CDDL HEADER, with the
22# fields enclosed by brackets "[]" replaced with your own identifying
23# information: Portions Copyright [yyyy] [name of copyright owner]
24#
25# CDDL HEADER END
26#
27# Japanese 106 keyboard
28#
29
30# Main Pad Row 1:  digits, Backspace
31key 1 base ` shift ~ caps ` ctrl ^^ altg nop
32key 2 base 1 shift ! caps 1 ctrl 1 altg nop
33key 3 base 2 shift '"' caps 2 ctrl 2 altg nop
34key 4 base 3 shift # caps 3 ctrl 3 altg nop
35key 5 base 4 shift $ caps 4 ctrl 4 altg nop
36key 6 base 5 shift % caps 5 ctrl 5 altg nop
37key 7 base 6 shift & caps 6 ctrl 6 altg nop
38key 8 base 7 shift '\'' caps 7 ctrl 7 altg nop
39key 9 base 8 shift ( caps 8 ctrl 8 altg nop
40key 10 base 9 shift ) caps 9 ctrl 9 altg nop
41key 11 base 0 shift ~ caps 0 ctrl 0 altg nop
42key 12 base - shift = caps - ctrl - altg nop
43key 13 base ^ shift ~ caps ^ ctrl ^ altg nop
44key 14 base '\\' shift '|' caps '\\' ctrl ^\ altg nop
45key 15 base '\b' shift '\b' caps '\b' ctrl '\b' altg nop
46
47# Main Pad Row 2:  Tab, QWERTY...
48key 17 base q shift Q caps Q ctrl ^Q altg nop
49key 18 base w shift W caps W ctrl ^W altg nop
50key 20 base r shift R caps R ctrl ^R altg nop
51key 22 base y shift Y caps Y ctrl ^Y altg nop
52key 25 base o shift O caps O ctrl ^O altg nop
53key 26 base p shift P caps P ctrl ^P altg nop
54key 27 base @ shift ` caps @ ctrl ^@ altg nop
55key 28 base [ shift { caps [ ctrl ^[ altg nop
56key 29 base ] shift } caps ] ctrl ^] altg nop
57
58# Main Pad Row 3:  CapsLock, ASDFGH..., Enter
59key 31 base a shift A caps A ctrl ^A altg nop
60key 32 base s shift S caps S ctrl ^S altg nop
61key 40 base ; shift + caps ; ctrl ; altg nop
62key 41 base : shift * caps : ctrl : altg nop
63key 42 base '\\' shift | caps '\\' ctrl ^\ altg nop
64
65# Main Pad Row 4:  Shift, ZXCVBN..., Shift
66key 45 all hole
67key 46 base z shift Z caps Z ctrl ^Z altg nop
68key 47 base x shift X caps X ctrl ^X altg nop
69key 48 base c shift C caps C ctrl ^C altg nop
70key 52 base m shift M caps M ctrl '\r' altg nop
71key 53 base , shift < caps , ctrl , altg nop
72key 54 base . shift > caps . ctrl . altg nop
73key 55 base / shift ? caps / ctrl ^_ altg nop
74key 56 base '\\' shift '_' caps '\\' ctrl ^\ altg nop
75
76# Main Pad Row 5:  Ctrl, Alt, Space, ...
77key 62 all shiftkeys+alt up shiftkeys+alt
78
79# Numeric Pad
80key 104 base '\177' shift . caps '\177' ctrl paddot altg nop numl paddot
81
82# Japanese Keys
83key 131 base ' ' shift ' ' caps ' ' ctrl ' ' altg nop numl nonl up nop
84key 132 base ' ' shift ' ' caps ' ' ctrl ' ' altg nop numl nonl up nop
85key 133 all shiftkeys+altgraph up shiftkeys+altgraph
86
87# Korean Keys
88key 150 all hole
89key 151 all hole
90