summaryrefslogtreecommitdiff
path: root/users/ridingqwerty
diff options
context:
space:
mode:
Diffstat (limited to 'users/ridingqwerty')
-rw-r--r--users/ridingqwerty/config.h2
-rw-r--r--users/ridingqwerty/ridingqwerty.c14
-rw-r--r--users/ridingqwerty/tapdances.c6
-rw-r--r--users/ridingqwerty/unicode.c2
-rw-r--r--users/ridingqwerty/unicode.h2
5 files changed, 13 insertions, 13 deletions
diff --git a/users/ridingqwerty/config.h b/users/ridingqwerty/config.h
index 6501efe62f..291c4877e1 100644
--- a/users/ridingqwerty/config.h
+++ b/users/ridingqwerty/config.h
@@ -5,7 +5,7 @@
#define TAPPING_TERM 175
#define MACRO_TIMER 5
-#define TAPPING_FORCE_HOLD_PER_KEY
+#define QUICK_TAP_TERM_PER_KEY
// testing
#define TAPPING_TERM_PER_KEY
//#define IGNORE_MOD_TAP_INTERRUPT // rolling R3 "zxcv", etc...
diff --git a/users/ridingqwerty/ridingqwerty.c b/users/ridingqwerty/ridingqwerty.c
index 8934b9365b..639bb8d2b3 100644
--- a/users/ridingqwerty/ridingqwerty.c
+++ b/users/ridingqwerty/ridingqwerty.c
@@ -55,11 +55,11 @@ uint16_t get_tapping_term(uint16_t keycode, keyrecord_t *record) {
}
};
-bool get_tapping_force_hold(uint16_t keycode, keyrecord_t *record) {
- switch (keycode) {
- case NM(SCLN):
- return true;
- default:
- return false;
- }
+uint16_t get_quick_tap_term(uint16_t keycode, keyrecord_t *record) {
+ switch (keycode) {
+ case NM(SCLN):
+ return 0;
+ default:
+ return QUICK_TAP_TERM;
+ }
}
diff --git a/users/ridingqwerty/tapdances.c b/users/ridingqwerty/tapdances.c
index 644166cb45..0fdd941637 100644
--- a/users/ridingqwerty/tapdances.c
+++ b/users/ridingqwerty/tapdances.c
@@ -1,13 +1,13 @@
#include "ridingqwerty.h"
#include "tapdances.h"
-void braces_finished (qk_tap_dance_state_t *state, void *user_data) {
+void braces_finished (tap_dance_state_t *state, void *user_data) {
if ((state->count == 1) || (state->count == 3)) {
register_code(KC_LSFT);
}
}
-void braces_reset (qk_tap_dance_state_t *state, void *user_data) {
+void braces_reset (tap_dance_state_t *state, void *user_data) {
// two or three taps for "[]"/"{}"
if ((state->count == 2) || (state->count == 3)) {
tap_code(KC_LBRC);
@@ -28,6 +28,6 @@ void braces_reset (qk_tap_dance_state_t *state, void *user_data) {
}
}
-qk_tap_dance_action_t tap_dance_actions[] = {
+tap_dance_action_t tap_dance_actions[] = {
[TD_BRACES] = ACTION_TAP_DANCE_FN_ADVANCED (NULL, braces_finished, braces_reset)
};
diff --git a/users/ridingqwerty/unicode.c b/users/ridingqwerty/unicode.c
index 8ef5aaa1ec..5a4c154919 100644
--- a/users/ridingqwerty/unicode.c
+++ b/users/ridingqwerty/unicode.c
@@ -1,7 +1,7 @@
#include "unicode.h"
#ifdef UNICODEMAP_ENABLE
-const uint32_t PROGMEM unicode_map[] = {
+const uint32_t unicode_map[] PROGMEM = {
FOREACH_UNICODE(UCM_ENTRY)
};
#endif
diff --git a/users/ridingqwerty/unicode.h b/users/ridingqwerty/unicode.h
index 8b403272ae..de8d1593b4 100644
--- a/users/ridingqwerty/unicode.h
+++ b/users/ridingqwerty/unicode.h
@@ -227,7 +227,7 @@ enum unicode_names {
FOREACH_UNICODE(UCM_NAME)
};
-extern const uint32_t PROGMEM unicode_map[];
+extern const uint32_t unicode_map[] PROGMEM;
enum unicode_keycodes {
FOREACH_UNICODE(UCM_KEYCODE)