summaryrefslogtreecommitdiff
path: root/jrcompat
blob: 234ac4e3af0ed448a1f2367e2902930eb6b9238c (plain) (blame)
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
53
54
55
56
57
58
59
60
61
62
63
default xkb_compatibility "jrcompat" {
  include "basic"
  augment "iso9995"
  augment "mousekeys"
  augment "accessx(full)"
  augment "misc"
  augment "xfree86"
  augment "level5"
  augment "caps(caps_lock)"

  indicator "Caps Lock" {
    modifiers = None;
    groups = all-group1;
  };

  indicator "Num Lock" {
    modifiers = None;
    groups = all-group1;
  };

  indicator "Scroll Lock" {
    modifiers = None;
    groups = all-group1;
  };

  indicator "Misc" {
    modifiers = None;
    groups = all-group1;
  };

  interpret User {
    action= LockGroup(group=2);
  };

  interpret Pointer_EnableKeys {
    action = LockControls(controls=MouseKeys);
    // action = LockGroup(group=2);
  };

  interpret Pointer_Up {
    action = MovePtr(x=+0,y=-10);
  };

  interpret Pointer_Down {
    action = MovePtr(x=+0,y=+10);
  };

  interpret Pointer_Left {
    action = MovePtr(x=-10,y=+0);
  };

  interpret Pointer_Right {
    action = MovePtr(x=+10,y=+0);
  };

  interpret Pointer_Button4 {
    action = PointerButton(button=4);
  };

  interpret Pointer_Button5 {
    action = PointerButton(button=5);
  };
};