29 void begin(
void)
final;
32 static bool focusHook(
const char *command);
45 static uint32_t session_start_time_;
46 static uint32_t lock_start_time_;
47 static uint32_t last_key_time_;
48 static uint16_t left_hand_keys_;
49 static uint16_t right_hand_keys_;
51 static uint16_t settings_base_;
53 static Key eventHandlerHook(
Key mapped_key, byte
row, byte
col, uint8_t key_state);
62 #define FOCUS_HOOK_TYPINGBREAKS FOCUS_HOOK(TypingBreaks.focusHook, \ 63 "typingbreaks.idleTimeLimit\n" \ 64 "typingbreaks.lockTimeOut\n" \ 65 "typingbreaks.lockLength\n" \ 66 "typingbreaks.leftMaxKeys\n" \ 67 "typingbreaks.rightMaxKeys") uint16_t right_hand_max_keys
Definition: TypingBreaks.h:39
uint32_t lock_length
Definition: TypingBreaks.h:37
uint32_t idle_time_limit
Definition: TypingBreaks.h:35
Definition: TypingBreaks.h:34
struct kaleidoscope::TypingBreaks::settings_t settings_t
byte byte col
Definition: TapDance.cpp:229
Definition: key_defs.h:13
TypingBreaks(void)
Definition: TypingBreaks.cpp:40
uint32_t lock_time_out
Definition: TypingBreaks.h:36
Definition: Kaleidoscope.h:40
static void enableEEPROM(void)
Definition: TypingBreaks.cpp:114
void TypingBreak(bool is_locked)
byte row
Definition: TapDance.cpp:229
void begin(void) final
Definition: TypingBreaks.cpp:43
Definition: TypingBreaks.h:25
static settings_t settings
Definition: TypingBreaks.h:42
static bool focusHook(const char *command)
Definition: TypingBreaks.cpp:128
uint16_t left_hand_max_keys
Definition: TypingBreaks.h:38