[XFree86] Two modifiers on one key

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

I want caps lock key do act as ISO_Level3_Shift and as Caps_Lock when
pressed with Control key. I've tried this:

partial modifier_keys
xkb_symbols "caps_switch" {
  key <CAPS> {
    type[Group1]="PC_BREAK",
    symbols[Group1] = [ ISO_Level3_Shift, Caps_Lock ]
  };
};

And it's OK with Caps Lock disabled. When enabled by ctrl-caps lock:
1. it's being disabled by pressing (and releasing) caps lock alone,
2. pressed with other letter does only level3 shifting (and remains
enabled).
How should I fix it?

-- 
Tom Pala <gotar@xxxxxxxxxxxxx>   http://vfmg.sourceforge.net/
_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux