diff --git a/TapDance.cpp b/TapDance.cpp index 501c11c..5d6a7c1 100644 --- a/TapDance.cpp +++ b/TapDance.cpp @@ -18,8 +18,30 @@ tapDanceAction( { switch (tap_dance_index) { 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: - 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)) + ); } } diff --git a/TapDance.h b/TapDance.h index d92aac2..b23d6d0 100644 --- a/TapDance.h +++ b/TapDance.h @@ -5,6 +5,8 @@ enum { LEFT_PARENS, RIGHT_PARENS, + OPENING_QMS, + CLOSING_QMS, }; extern void