summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compat/caps4
-rw-r--r--compat/grab3
-rw-r--r--compat/grp_led11
-rw-r--r--compat/mod_led4
-rw-r--r--rules/0043-o_c.part12
5 files changed, 28 insertions, 6 deletions
diff --git a/compat/caps b/compat/caps
index 4793051e..4ed43105 100644
--- a/compat/caps
+++ b/compat/caps
@@ -9,3 +9,7 @@ partial xkb_compatibility "caps_lock" {
action = LockMods(modifiers = Lock);
};
};
+
+partial xkb_compatibility "shiftlock" {
+ include "ledcaps(shift_lock)"
+};
diff --git a/compat/grab b/compat/grab
new file mode 100644
index 00000000..e51d8460
--- /dev/null
+++ b/compat/grab
@@ -0,0 +1,3 @@
+partial xkb_compatibility "break_actions" {
+ include "xfree86(grab_break)"
+};
diff --git a/compat/grp_led b/compat/grp_led
new file mode 100644
index 00000000..9755c477
--- /dev/null
+++ b/compat/grp_led
@@ -0,0 +1,11 @@
+partial xkb_compatibility "num" {
+ include "lednum(group_lock)"
+};
+
+partial xkb_compatibility "caps" {
+ include "ledcaps(group_lock)"
+};
+
+partial xkb_compatibility "scroll" {
+ include "ledscroll(group_lock)"
+};
diff --git a/compat/mod_led b/compat/mod_led
new file mode 100644
index 00000000..bb4c9647
--- /dev/null
+++ b/compat/mod_led
@@ -0,0 +1,4 @@
+partial
+xkb_compatibility "compose" {
+ include "ledcompose(compose)"
+};
diff --git a/rules/0043-o_c.part b/rules/0043-o_c.part
index 4042e4c9..87cf7658 100644
--- a/rules/0043-o_c.part
+++ b/rules/0043-o_c.part
@@ -1,8 +1,8 @@
! option = compat
- grp_led:num = +lednum(group_lock)
- grp_led:caps = +ledcaps(group_lock)
- grp_led:scroll = +ledscroll(group_lock)
- mod_led:compose = +ledcompose(compose)
+ grp_led:num = +grp_led(num)
+ grp_led:caps = +grp_led(caps)
+ grp_led:scroll = +grp_led(scroll)
+ mod_led:compose = +mod_led(compose)
japan:kana_lock = +japan(kana_lock)
- caps:shiftlock = +ledcaps(shift_lock)
- grab:break_actions = +xfree86(grab_break)
+ caps:shiftlock = +caps(shiftlock)
+ grab:break_actions = +grab(break_actions)