File: lednum

package info (click to toggle)
libxkbcommon 1.13.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,344 kB
  • sloc: ansic: 57,807; xml: 8,905; python: 7,451; yacc: 913; sh: 253; makefile: 23
file content (24 lines) | stat: -rw-r--r-- 466 bytes parent folder | download | duplicates (16)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Use the 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;
    };
};