xkeyboard-config/ibm_space_saver.diff

61 lines
1.7 KiB
Diff

missing description
---
rules/base.lists.part | 2 ++
rules/base.m_s.part | 1 +
rules/base.xml.in | 6 ++++++
symbols/group | 5 +++++
4 files changed, 14 insertions(+)
Index: rules/base.lists.part
===================================================================
--- rules/base.lists.part.orig
+++ rules/base.lists.part
@@ -56,6 +56,8 @@
toshiba_s3000 trust trustda \
yahoo
+! $specialkbds = ibm_space_saver
+
// all layouts with 3rd and 4th groups
! $threelevellayouts = al az \
be br bt \
Index: rules/base.m_s.part
===================================================================
--- rules/base.m_s.part.orig
+++ rules/base.m_s.part
@@ -1,3 +1,4 @@
$inetkbds = +inet(%m)
+ $specialkbds = +group(%m)
$maclaptop = +inet(apple)+level3(enter_switch)
$macs = +inet(apple)
Index: rules/base.xml.in
===================================================================
--- rules/base.xml.in.orig
+++ rules/base.xml.in
@@ -706,6 +706,12 @@
</model>
<model>
<configItem>
+ <name>ibm_space_saver</name>
+ <_description>IBM Space Saver</_description>
+ </configItem>
+ </model>
+ <model>
+ <configItem>
<name>macintosh</name>
<_description>Macintosh</_description>
</configItem>
Index: symbols/group
===================================================================
--- symbols/group.orig
+++ symbols/group
@@ -318,3 +318,8 @@ xkb_symbols "alt_caps_toggle" {
};
};
+// Override broken Numlock key on some IBM keyboards
+partial
+xkb_symbols "ibm_space_saver" {
+ key <NMLK> { [ Num_Lock, Num_Lock ] };
+};