The SSH host key has changed on 8 April, 2022 to this one: SHA256:573uTBSeh74kvOo0HJXi5ijdzRm8me27suzNEDlGyrQ
My own customised firmware for the Keyboardio Model100
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
keyboardio-model100-firmware/TapDance.cpp

47 lines
1.4 KiB

#include <Kaleidoscope.h>
#include "TapDance.h"
namespace gpolonkai {
namespace TapDance {
bool cancelOneShot = false;
}
}
void
tapDanceAction(
uint8_t tap_dance_index,
KeyAddr key_addr,
uint8_t tap_count,
kaleidoscope::plugin::TapDance::ActionType tap_dance_action
)
{
switch (tap_dance_index) {
case LEFT_PARENS:
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)
);
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))
);
}
}