summaryrefslogtreecommitdiffstats
path: root/keyboards/satan/keymaps/admiralStrokers/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/satan/keymaps/admiralStrokers/keymap.c')
-rw-r--r--keyboards/satan/keymaps/admiralStrokers/keymap.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/keyboards/satan/keymaps/admiralStrokers/keymap.c b/keyboards/satan/keymaps/admiralStrokers/keymap.c
index b5fd2ec601..422a801ba5 100644
--- a/keyboards/satan/keymaps/admiralStrokers/keymap.c
+++ b/keyboards/satan/keymaps/admiralStrokers/keymap.c
@@ -1,6 +1,8 @@
#include "satan.h"
static uint16_t key_timer;
-bool checkTime(void);
+bool checkTime(void){
+ return (timer_elapsed(key_timer) < 150) ? true : false;
+ }
// general keydefs
#define norm 0 // Default layer
@@ -147,11 +149,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) { // MACRODOWN only works in this function
- bool checkTime(void){
- return (timer_elapsed(key_timer) < 150) ? true : false;
- }
-
-
switch(id) {
case 0: //MAC0 - Hold for lshift and { on tap
if (record->event.pressed) {