Add two more tapdance series for quotation marks
This commit is contained in:
parent
bd4dde2843
commit
43f8c23086
26
TapDance.cpp
26
TapDance.cpp
@ -18,8 +18,30 @@ tapDanceAction(
|
|||||||
{
|
{
|
||||||
switch (tap_dance_index) {
|
switch (tap_dance_index) {
|
||||||
case LEFT_PARENS:
|
case LEFT_PARENS:
|
||||||
return tapDanceActionKeys(tap_count, tap_dance_action, LSHIFT(Key_8), RALT(Key_F), RALT(Key_B));
|
return tapDanceActionKeys(
|
||||||
|
tap_count,
|
||||||
|
tap_dance_action,
|
||||||
|
LSHIFT(Key_8), RALT(Key_F), RALT(Key_B)
|
||||||
|
);
|
||||||
case RIGHT_PARENS:
|
case RIGHT_PARENS:
|
||||||
return tapDanceActionKeys(tap_count, tap_dance_action, LSHIFT(Key_9), RALT(Key_G), RALT(Key_N));
|
return tapDanceActionKeys(
|
||||||
|
tap_count,
|
||||||
|
tap_dance_action,
|
||||||
|
LSHIFT(Key_9), RALT(Key_G), RALT(Key_N)
|
||||||
|
);
|
||||||
|
case OPENING_QMS:
|
||||||
|
return tapDanceActionKeys(
|
||||||
|
tap_count,
|
||||||
|
tap_dance_action,
|
||||||
|
// “ „ ‘ ‛ « ‹
|
||||||
|
LSHIFT(RALT(Key_O)), RALT(Key_O), LSHIFT(RALT(Key_M)), LSHIFT(RALT(Key_7)), LSHIFT(RALT(Key_N)), RALT(Key_0)
|
||||||
|
);
|
||||||
|
case CLOSING_QMS:
|
||||||
|
return tapDanceActionKeys(
|
||||||
|
tap_count,
|
||||||
|
tap_dance_action,
|
||||||
|
// ” ’ » ›
|
||||||
|
RALT(Key_P), LSHIFT(RALT(Key_Comma)), LSHIFT(RALT(Key_B)), LSHIFT(RALT(Key_0))
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -5,6 +5,8 @@
|
|||||||
enum {
|
enum {
|
||||||
LEFT_PARENS,
|
LEFT_PARENS,
|
||||||
RIGHT_PARENS,
|
RIGHT_PARENS,
|
||||||
|
OPENING_QMS,
|
||||||
|
CLOSING_QMS,
|
||||||
};
|
};
|
||||||
|
|
||||||
extern void
|
extern void
|
||||||
|
Loading…
Reference in New Issue
Block a user