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);
  };
};
