diff options
Diffstat (limited to 'xorg-server/xkeyboard-config/compat/lednum')
-rw-r--r-- | xorg-server/xkeyboard-config/compat/lednum | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/xorg-server/xkeyboard-config/compat/lednum b/xorg-server/xkeyboard-config/compat/lednum new file mode 100644 index 000000000..24a60a595 --- /dev/null +++ b/xorg-server/xkeyboard-config/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; + }; +}; |