|
|
@ -1,6 +1,8 @@
|
|
|
|
#include "satan.h"
|
|
|
|
#include "satan.h"
|
|
|
|
|
|
|
|
|
|
|
|
static uint16_t key_timer;
|
|
|
|
static uint16_t key_timer;
|
|
|
|
bool checkTime(void){
|
|
|
|
|
|
|
|
|
|
|
|
bool checktime(void){
|
|
|
|
return (timer_elapsed(key_timer) < 150) ? true : false;
|
|
|
|
return (timer_elapsed(key_timer) < 150) ? true : false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -147,7 +149,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|
|
|
XXXX, XXXX, XXXX, XXXX, XXXX, XXXX, XXXX, XXXX),
|
|
|
|
XXXX, XXXX, XXXX, XXXX, XXXX, XXXX, XXXX, XXXX),
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) { // MACRODOWN only works in this function
|
|
|
|
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) {3 // MACRODOWN only works in this function
|
|
|
|
|
|
|
|
|
|
|
|
switch(id) {
|
|
|
|
switch(id) {
|
|
|
|
case 0: //MAC0 - Hold for lshift and { on tap
|
|
|
|
case 0: //MAC0 - Hold for lshift and { on tap
|
|
|
|