aboutsummaryrefslogtreecommitdiff
path: root/waffle
diff options
context:
space:
mode:
Diffstat (limited to 'waffle')
-rw-r--r--waffle/config.h23
-rw-r--r--waffle/tapping.c2
2 files changed, 14 insertions, 11 deletions
diff --git a/waffle/config.h b/waffle/config.h
index 0003b01..abe8e20 100644
--- a/waffle/config.h
+++ b/waffle/config.h
@@ -13,6 +13,9 @@
#define UNICODE_SELECTED_MODES UNICODE_MODE_LINUX
#define ENABLE_COMPILE_KEYCODE
#define IGNORE_ATOMIC_BLOCK
+#ifndef SPC_OFFSET
+#define SPC_OFFSET 40
+#endif
#ifdef RAW_ENABLE
#undef VENDOR_ID
#define VENDOR_ID 0x6A73
@@ -23,17 +26,17 @@
#define MANUFACTURER "waffles"
#ifdef OLED_ENABLE
-# define OLED_FONT_H "users/waffle/oledfont.h"
-# define OLED_UPDATE_INTERVAL 50
-# define OLED_DISABLE_TIMEOUT
+#define OLED_FONT_H "users/waffle/oledfont.h"
+#define OLED_UPDATE_INTERVAL 50
+#define OLED_DISABLE_TIMEOUT
#endif
#ifdef SPLIT_KEYBOARD
-# define MASTER_RIGHT
-# define SPLIT_MODS_ENABLE
-# define SPLIT_WPM_ENABLE
-# define SPLIT_LAYER_STATE_ENABLE
-# define SPLIT_OLED_ENABLE
-# define SPLIT_LED_STATE_ENABLE
-# define SPLIT_TRANSACTION_IDS_USER RPC_ID_USER_KEYLOG_STR
+#define MASTER_RIGHT
+#define SPLIT_MODS_ENABLE
+#define SPLIT_WPM_ENABLE
+#define SPLIT_LAYER_STATE_ENABLE
+#define SPLIT_OLED_ENABLE
+#define SPLIT_LED_STATE_ENABLE
+#define SPLIT_TRANSACTION_IDS_USER RPC_ID_USER_KEYLOG_STR
#endif
diff --git a/waffle/tapping.c b/waffle/tapping.c
index 3cc8a8c..63685a6 100644
--- a/waffle/tapping.c
+++ b/waffle/tapping.c
@@ -20,7 +20,7 @@ uint16_t get_tapping_term(uint16_t keycode, keyrecord_t *record) {
case LWRSPC:
case ESCLWR:
case RSEBSP:
- return TAPPING_TERM - 40;
+ return TAPPING_TERM - SPC_OFFSET;
case TD(QMK_LINKS):
case TD(EM_DASH_MINS):
case TD(PLY_NXT_PRV):