keyboardio-model100-firmware/TapDance.h
Gergely Polonkai 091c29ed2e
Define tap dance for parens/braces
The keys labeled as Tab and Enter are now all the brackets.

Tap tapped once is `(`, tapped twice is `[`, tapped thrice is `{`.
Enter tapped once is `)`, tapped twice is `]`, tapped thrice is `}`.
2022-06-25 07:28:04 +02:00

18 lines
321 B
C++

#pragma once
#include <Kaleidoscope-TapDance.h>
enum {
LEFT_PARENS,
RIGHT_PARENS,
};
extern void
tapDanceAction(uint8_t tapDanceIndex, KeyAddr key_addr, uint8_t tapCount, kaleidoscope::plugin::TapDance::ActionType tapDanceAction);
namespace gpolonkai {
namespace TapDance {
extern bool cancelOneShot;
}
}