Skip to content

Commit

Permalink
shift_toggle -> shifts_toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
svu committed Sep 16, 2004
1 parent 4912d8e commit 1bdb65a
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 8 deletions.
5 changes: 3 additions & 2 deletions rules/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ HDR compat/base.l4_s.part base.l4_s.part \
HDR compat/base.l2v2_s.part \
HDR compat/base.l3v3_s.part \
HDR compat/base.l4v4_s.part \
HDR base.m_s.part HDR base.ml_c.part HDR base.ml1_c.part \
HDR base.m_s.part HDR base.ml_c.part HDR base.ml1_c.part \
HDR base.m_t.part \
HDR base.o_s.part HDR base.o_c.part HDR base.o_t.part
HDR compat/base.o_s.part base.o_s.part \
HDR base.o_c.part HDR base.o_t.part
else
base_parts = base.hdr.part base.lists.part \
HDR base.m_k.part HDR base.l1_k.part HDR base.l_k.part \
Expand Down
2 changes: 1 addition & 1 deletion rules/base.o_s.part
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
grp:lwin_switch = +group(lwin_switch)
grp:rwin_switch = +group(rwin_switch)
grp:toggle = +group(toggle)
grp:shift_toggle = +group(shift_toggle)
grp:shifts_toggle = +group(shifts_toggle)
grp:ctrls_toggle = +group(ctrls_toggle)
grp:alts_toggle = +group(alts_toggle)
grp:ctrl_shift_toggle = +group(ctrl_shift_toggle)
Expand Down
2 changes: 1 addition & 1 deletion rules/base.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -2165,7 +2165,7 @@
</option>
<option>
<configItem>
<name>grp:shift_toggle</name>
<name>grp:shifts_toggle</name>
<_description>Both Shift keys together change group.</_description>
</configItem>
</option>
Expand Down
5 changes: 3 additions & 2 deletions rules/compat/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@ transform_files=layoutRename.lst variantRename.lst

transform_scripts=ln_s.sh lnv_s.sh ml_s.sh mlv_s.sh ml1_s.sh ml1v1_s.sh

dist_parts=base.o_s.part

if USE_COMPAT_RULES

noinst_SCRIPTS=base.l2_s.part base.l3_s.part base.l4_s.part \
base.l2v2_s.part base.l3v3_s.part base.l4v4_s.part \
base.ml_s.part base.ml1_s.part \
base.mlv_s.part base.ml1v1_s.part \
base.ml_s.part
base.ml_s.part $(dist_parts)

else

Expand Down Expand Up @@ -48,4 +49,4 @@ base.mlv_s.part: mlv_s.sh
base.ml1v1_s.part: ml1v1_s.sh
sh $<

EXTRA_DIST=base.lists.part $(transform_files) $(transform_scripts)
EXTRA_DIST=base.lists.part $(transform_files) $(transform_scripts) $(dist_parts)
1 change: 1 addition & 0 deletions rules/compat/base.o_s.part
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
grp:shift_toggle = +group(shifts_toggle)
4 changes: 2 additions & 2 deletions symbols/group
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,12 @@ xkb_symbols "toggle" {
};
};

// using the group(shift_toggle) map, pressing both shift keys together
// using the group(shifts_toggle) map, pressing both shift keys together
// locks the next or previous sequential keyboard group
// (depending on which shift is pressed first - right or left,
// correspongingly)
partial modifier_keys
xkb_symbols "shift_toggle" {
xkb_symbols "shifts_toggle" {
key <LFSH> { [ Shift_L, ISO_Prev_Group ] };
key <RTSH> { [ Shift_R, ISO_Next_Group ] };
};
Expand Down

0 comments on commit 1bdb65a

Please sign in to comment.