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