Na na na na na na na nana

This commit is contained in:
2022-02-17 15:12:48 -04:00
parent 0ea9f6fc66
commit 1312beac92
3 changed files with 6 additions and 6 deletions
@@ -17,16 +17,16 @@
// For full documentation of Pascal Getreuer's original project, see
// https://getreuer.info/posts/keyboards/mouse-turbo-click
#include "features/mister_smith.h"
#include "bel_air/mister_smith.h"
// This library relies on that mouse keys and the deferred execution API are
// enabled, which we check for here. Enable them in you rules.mk by setting:
// MOUSEKEY_ENABLE = yes
// DEFERRED_EXEC_ENABLE = yes
#if !defined(MOUSEKEY_ENABLE)
#error "get_jiggy_withit: Please set `MOUSEKEY_ENABLE = yes` in rules.mk."
#error "get_jiggy_with_it: Please set `MOUSEKEY_ENABLE = yes` in rules.mk."
#elif !defined(DEFERRED_EXEC_ENABLE)
#error "get_jiggy_withit: Please set `DEFERRED_EXEC_ENABLE = yes` in rules.mk."
#error "get_jiggy_with_it: Please set `DEFERRED_EXEC_ENABLE = yes` in rules.mk."
#else
// The click period in milliseconds. For instance a period of 200 ms would be 5
@@ -73,7 +73,7 @@ static void get_jiggy_stop(void) {
}
}
bool process_get_jiggy_withit(uint16_t keycode, keyrecord_t* record,
bool process_get_jiggy_with_it(uint16_t keycode, keyrecord_t* record,
uint16_t get_jiggy_keycode) {
static bool locked = false;
static bool tapped = false;
@@ -49,5 +49,5 @@
//
// return true;
// }
bool process_get_jiggy_withit(uint16_t keycode, keyrecord_t* record,
bool process_get_jiggy_with_it(uint16_t keycode, keyrecord_t* record,
uint16_t get_jiggy_keycode);
+1 -1
View File
@@ -40,7 +40,7 @@ enum custom_keycodes {
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
if (!process_get_jiggy_withit(keycode, record, JIGGY)) { return false; }
if (!process_get_jiggy_with_it(keycode, record, JIGGY)) { return false; }
switch (keycode) {