aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/xkbdata.src/symbols/macintosh_vndr/jp
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-03-27 10:20:34 +0000
committermarha <marha@users.sourceforge.net>2010-03-27 10:20:34 +0000
commitbd81af89b3080963ed75ae17f48b1d7457350cda (patch)
treebfe5eb3c654937978c630c7eae51fb609587bd26 /xorg-server/xkbdata.src/symbols/macintosh_vndr/jp
parenta8541a06c531efdfbc2c79eb8b2e4fc11c47e125 (diff)
downloadvcxsrv-bd81af89b3080963ed75ae17f48b1d7457350cda.tar.gz
vcxsrv-bd81af89b3080963ed75ae17f48b1d7457350cda.tar.bz2
vcxsrv-bd81af89b3080963ed75ae17f48b1d7457350cda.zip
xkeyboard-config git update 27-3-2010
Diffstat (limited to 'xorg-server/xkbdata.src/symbols/macintosh_vndr/jp')
-rw-r--r--xorg-server/xkbdata.src/symbols/macintosh_vndr/jp35
1 files changed, 35 insertions, 0 deletions
diff --git a/xorg-server/xkbdata.src/symbols/macintosh_vndr/jp b/xorg-server/xkbdata.src/symbols/macintosh_vndr/jp
new file mode 100644
index 000000000..a4af79f35
--- /dev/null
+++ b/xorg-server/xkbdata.src/symbols/macintosh_vndr/jp
@@ -0,0 +1,35 @@
+// JIS symbol mapping for Apple Aluminium Keyboard
+// (Damien Ciabrini <damien.ciabrini@gmail.com>)
+//
+// The JIS version of the Aluminium Keyboard is made of
+// QWERTY-like map for the latin part
+// PC98-like map for the kana part
+// EISU and KANA keys found on other Apple keyboards
+
+partial default alphanumeric_keys
+xkb_symbols "usmac" {
+ name[Group1] = "Japan - Macintosh, US map";
+ include "jp(common)"
+
+ key <JPCM> { [ KP_Separator ] };
+ key <AE13> { [ yen, bar ] };
+ replace key <AE10> { [ 0 ] };
+ replace key <AB11> { [ underscore ] };
+ replace key <CAPS> { [ Caps_Lock ] };
+};
+
+partial alphanumeric_keys
+xkb_symbols "mac" {
+ name[Group1] = "Japan - Macintosh";
+ include "jp(kana)"
+
+ replace key <CAPS> { [ Caps_Lock ] };
+};
+
+partial alphanumeric_keys
+xkb_symbols "alujiskeys" {
+ // On JIS USB keyboard, EISU and KANA replace Hangul and Hanja
+ // see keycodes macintosh(jisevdev)
+ replace key <HJCV> { [ Hiragana_Katakana ] };
+ replace key <HNGL> { [ Eisu_toggle ] };
+};