~ruther/qmk_firmware

ref: fa08cb2478e8c13a9f1c785956c95cb49bbebba3 qmk_firmware/keyboards/dz60/keymaps/marianas/relativity.h -rw-r--r-- 862 bytes
fa08cb24 — Drashna Jaelre [Keymap] Drashna keymap updates for 0.18.0 (#18184) 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#include QMK_KEYBOARD_H
#define macroTapsLen 32
#define tableNameListLen 32
#define charCountLen 32

#define relTimeout 1500


void activateRelativity(void);
bool deactivateRelativity(void);
void initStringData(void);
bool containsCode(uint16_t kc);
bool lastCodeIs(uint16_t kc);
bool last2CodeAre(uint16_t kc);
bool last2CodesAre(uint16_t kc, uint16_t kc2);
void addKeyCode(uint16_t kc);
void eraseKeyCodes(void);
void eraseCharCounts(void);
void printTableAbbreviation(void);
void eraseTableAbbreviation(void);
void printString(char* str);
void printStringAndQueueChar(char* str);
void ReplaceString(char *orig, char *repl);
void deletePrev(void);
bool processSmartMacroTap(uint16_t kc);
bool isShifted(void);
void setShifted(bool);



bool handleSmartMacros(uint16_t keycode, keyrecord_t *record);
bool storeShiftState(uint16_t keycode, keyrecord_t *record);