File: olpc

package info (click to toggle)
console-setup 1.164
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 28,464 kB
  • sloc: perl: 10,923; xml: 5,812; sh: 3,891; makefile: 785
file content (52 lines) | stat: -rw-r--r-- 1,162 bytes parent folder | download | duplicates (7)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// $XKeyboardConfig$
//
// Created by Bernardo Innocenti <bernie@codewiz.org>
//
// Map the OLPC game keys to virtual modifiers
//

default xkb_compatibility "olpc"  {
    include "complete"

    virtual_modifiers  Square,Cross,Triangle,Circle;

    interpret KP_Home+Any     {
        //useModMapMods= level1;
       virtualModifier= Square;
       action = SetMods(modifiers=modMapMods);
    };

    interpret KP_Home  {
       action = SetMods(modifiers=Square);
    };

    interpret KP_Next+Any     {
        //useModMapMods= level1;
       virtualModifier= Cross;
       action = SetMods(modifiers=modMapMods);
    };

    interpret KP_Next  {
       action = SetMods(modifiers=Cross);
    };

    interpret KP_End+Any     {
        //useModMapMods= level1;
       virtualModifier= Circle;
       action = SetMods(modifiers=modMapMods);
    };

    interpret KP_End   {
       action = SetMods(modifiers=Circle);
    };

    interpret KP_Prior+Any     {
        //useModMapMods= level1;
       virtualModifier= Triangle;
       action = SetMods(modifiers=modMapMods);
    };

    interpret KP_Prior {
       action = SetMods(modifiers=Triangle);
    };
};