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