1 // $Xorg: keypad,v 1.3 2000/08/17 19:54:34 cpqbld Exp $
3 // Interpretations needed to implement the numeric keypad
4 // as an overlay instead of a modifier.
6 partial hidden xkb_compatibility "overlay" {
7 include "keypad(overlay1)"
9 partial hidden xkb_compatibility "overlay1" {
10 virtual_modifiers NumLock,AltGr;
12 interpret.repeat= False;
13 setMods.clearLocks= True;
14 latchMods.clearLocks= True;
15 latchMods.latchToLock= True;
18 virtualModifier= NumLock;
19 action= LockControls(ctrls=overlay1);
21 interpret Num_Lock+Any {
22 virtualModifier= NumLock;
23 action= LockControls(ctrls=overlay1);
26 indicator.allowExplicit= True;
27 indicator.driveskbd= True;
28 replace indicator "Num Lock" {
29 whichModState= Locked;
33 indicator.allowExplicit= True;
35 partial hidden xkb_compatibility "overlay2" {
36 virtual_modifiers NumLock,AltGr;
38 interpret.repeat= False;
39 setMods.clearLocks= True;
40 latchMods.clearLocks= True;
41 latchMods.latchToLock= True;
44 virtualModifier= NumLock;
45 action= LockControls(ctrls=overlay2);
47 interpret Num_Lock+Any {
48 virtualModifier= NumLock;
49 action= LockControls(ctrls=overlay1);
52 indicator.allowExplicit= True;
53 indicator.driveskbd= True;
54 replace indicator "Num Lock" {
55 whichModState= Locked;
59 indicator.allowExplicit= True;