aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/xkbdata.src/compat/ledscroll
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/xkbdata.src/compat/ledscroll')
-rw-r--r--xorg-server/xkbdata.src/compat/ledscroll23
1 files changed, 23 insertions, 0 deletions
diff --git a/xorg-server/xkbdata.src/compat/ledscroll b/xorg-server/xkbdata.src/compat/ledscroll
new file mode 100644
index 000000000..ca5a82c4c
--- /dev/null
+++ b/xorg-server/xkbdata.src/compat/ledscroll
@@ -0,0 +1,23 @@
+// Use Scroll Lock LED to show either Scroll Lock, Group, or Shift Lock state
+
+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;
+ };
+};