summaryrefslogtreecommitdiff
path: root/compat/ledscroll
diff options
context:
space:
mode:
Diffstat (limited to 'compat/ledscroll')
-rw-r--r--compat/ledscroll25
1 files changed, 25 insertions, 0 deletions
diff --git a/compat/ledscroll b/compat/ledscroll
new file mode 100644
index 00000000..9190884b
--- /dev/null
+++ b/compat/ledscroll
@@ -0,0 +1,25 @@
+// Use Scroll Lock LED to show either Scroll Lock, Group, or Shift Lock state
+//
+// $Xorg: $
+
+default partial xkb_compatibility "scroll_lock" {
+ indicator "Scroll Lock" {
+ allowExplicit;
+ whichModState= Locked;
+ modifiers= ScrollLock;
+ };
+};
+
+partial xkb_compatibility "group_lock" {
+ indicator "Scroll Lock" {
+ modifiers= None;
+ groups=All-group1;
+ };
+};
+
+partial xkb_compatibility "shift_lock" {
+ indicator "Scroll Lock" {
+ whichModState= Locked;
+ modifiers= Shift;
+ };
+};