> Is this mean your patch won't work when Alt (or Ctrl) is pressed before
> Shift?
It does not mean that. I just restricted to three examples. There is no problem to rewrite all options that xkeyboard-config offers to switch groups to take advantage of the patch.
> AFAIK most people press Ctrl, then Shift, then either release them (to
> switch layout) or press A-Z when they need Ctrl-Shift-something hotkey.
In this case, one needs to remap the shift key. For the left shift key:
> Is this mean your patch won't work when Alt (or Ctrl) is pressed before
> Shift?
It does not mean that. I just restricted to three examples. There is no problem to rewrite all options that xkeyboard-config offers to switch groups to take advantage of the patch.
> AFAIK most people press Ctrl, then Shift, then either release them (to something hotkey.
> switch layout) or press A-Z when they need Ctrl-Shift-
In this case, one needs to remap the shift key. For the left shift key:
key <LFSH> {
type[Group1] ="PC_CONTROL_ LEVEL2" ,
symbols[ Group1] = [ Shift_L, Shift_L ], modifiers= Shift),
Private( type=3, data[0] =1,data[ 1]=1,data[ 2]=1,data[ 3]=0,data[ 4]=0,data[ 5]=0,data[ 6]=1) ]
repeat= No,
actions[Group1]= [ SetMods(
};
For the right shift key it works similarly. If combined with the third example above, it will make the order of Shift and Control irrelevant.