From ed6e0c91690b5d74df699a3994716869fa538076 Mon Sep 17 00:00:00 2001 From: Adriano Dias Date: Sat, 24 Aug 2024 22:32:51 -0300 Subject: [PATCH] move personal code --- users/manna-harbour_miryoku/custom_config.h | 29 ------------------- .../manna-harbour_miryoku.c | 25 ++++++++++++++++ 2 files changed, 25 insertions(+), 29 deletions(-) diff --git a/users/manna-harbour_miryoku/custom_config.h b/users/manna-harbour_miryoku/custom_config.h index 79c500fd089..9eebf9091cb 100644 --- a/users/manna-harbour_miryoku/custom_config.h +++ b/users/manna-harbour_miryoku/custom_config.h @@ -26,32 +26,3 @@ U_NP, U_NP, U_NA, U_NA, U_NA K32, K33, K34, K35, K36, K37 \ ) #endif - - -enum custom_keycodes { - STR_VPN, - STR_NIB, - // SELWRD, -}; - -bool process_record_user(uint16_t keycode, keyrecord_t* record) { - // if (!process_select_word(keycode, record, SELWRD)) { return false; } - switch (keycode) { - - case STR_VPN: - if (record->event.pressed) { - SEND_STRING("9l0i9jod"); - } - return false; - - case STR_NIB: - if (record->event.pressed) { - SEND_STRING("1%9$m2My"); - } - return false; - } - return true; -} - - - diff --git a/users/manna-harbour_miryoku/manna-harbour_miryoku.c b/users/manna-harbour_miryoku/manna-harbour_miryoku.c index 389580759b7..512bc14513d 100644 --- a/users/manna-harbour_miryoku/manna-harbour_miryoku.c +++ b/users/manna-harbour_miryoku/manna-harbour_miryoku.c @@ -7,6 +7,31 @@ #include "manna-harbour_miryoku.h" +// ASD features +enum custom_keycodes { + STR_VPN, + STR_NIB, + // SELWRD, +}; + +bool process_record_user(uint16_t keycode, keyrecord_t* record) { + // if (!process_select_word(keycode, record, SELWRD)) { return false; } + switch (keycode) { + + case STR_VPN: + if (record->event.pressed) { + SEND_STRING("9l0i9jod"); + } + return false; + + case STR_NIB: + if (record->event.pressed) { + SEND_STRING("1%9$m2My"); + } + return false; + } + return true; +} // Additional Features double tap guard