summaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorDaniel Stone <daniels@collabora.com>2022-03-17 15:14:49 -0400
committerNeal Gompa <neal@gompa.dev>2022-11-26 14:50:10 -0500
commit2433ef1aaa77b7911917b696918f2981ed5aa7ba (patch)
tree20a15ebbefd751787348e015ecfbf17498464f62 /rules
parentb69bf8cc1a302f70304345ff1a1e993c0989680f (diff)
downloadxkeyboard-config-2433ef1aaa77b7911917b696918f2981ed5aa7ba.tar.gz
Add apple:jp_oadg109a and apple:jp_pc106 variants
These variants allow Apple MacBook keyboards to type \ properly. Co-authored-by: Hector Martin <marcan@marcan.st> Signed-off-by: Hector Martin <marcan@marcan.st>
Diffstat (limited to 'rules')
-rw-r--r--rules/0042-o_s.part2
-rw-r--r--rules/base.xml12
2 files changed, 14 insertions, 0 deletions
diff --git a/rules/0042-o_s.part b/rules/0042-o_s.part
index 5fa7849..75bf773 100644
--- a/rules/0042-o_s.part
+++ b/rules/0042-o_s.part
@@ -159,6 +159,8 @@
terminate:ctrl_alt_bksp = +terminate(ctrl_alt_bksp)
keypad:pointerkeys = +keypad(pointerkeys)
apple:alupckeys = +macintosh_vndr/apple(alupckeys)
+ apple:jp_pc106 = +macintosh_vndr/apple(jp_pc106)
+ apple:jp_oadg109a = +macintosh_vndr/apple(jp_oadg109a)
shift:both_capslock = +shift(both_capslock)
shift:lshift_both_capslock = +shift(lshift_both_capslock)
shift:rshift_both_capslock = +shift(rshift_both_capslock)
diff --git a/rules/base.xml b/rules/base.xml
index eff2f94..75195b6 100644
--- a/rules/base.xml
+++ b/rules/base.xml
@@ -7835,6 +7835,18 @@
</option>
<option>
<configItem>
+ <name>apple:jp_oadg109a</name>
+ <description>Japanese Apple keyboards emulate OADG109A backslash</description>
+ </configItem>
+ </option>
+ <option>
+ <configItem>
+ <name>apple:jp_pc106</name>
+ <description>Japanese Apple keyboards emulate PC106 backslash</description>
+ </configItem>
+ </option>
+ <option>
+ <configItem>
<name>shift:breaks_caps</name>
<description>Shift cancels Caps Lock</description>
</configItem>