File: misc

package info (click to toggle)
xfree86 3.3.2.3-2
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 168,984 kB
  • ctags: 121,965
  • sloc: ansic: 1,157,712; sh: 14,822; asm: 14,676; tcl: 8,247; cpp: 4,317; yacc: 2,705; perl: 711; awk: 393; lex: 383; makefile: 353; sed: 57; csh: 5
file content (36 lines) | stat: -rw-r--r-- 890 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// $XConsortium: misc /main/4 1995/12/07 21:33:00 kaleb $
default partial xkb_compatibility "misc"  {

    virtual_modifiers	Alt,ScrollLock;

    // Interpretations for some other useful keys

    interpret Terminate_Server     { action = Terminate(); };

    // Sets the "Alt" virtual modifier

    setMods.clearLocks= True;
    interpret Alt_L+Any     { 
	virtualModifier= Alt;
	action = SetMods(modifiers=modMapMods);
    };

    interpret Alt_R+Any	{
	virtualModifier= Alt;
	action = SetMods(modifiers=modMapMods);
    };

    // Sets the "ScrollLock" virtual modifier and
    // makes it actually lock when pressed.  Sets
    // up a map for the scroll lock indicator.
    interpret Scroll_Lock+Any	{
	virtualModifier= ScrollLock;
	action = LockMods(modifiers=modMapMods);
    };

    indicator "Scroll Lock" {
	allowExplicit;
	whichModState= Locked;
	modifiers= ScrollLock;
    };
};