From 226d55605873818726d9570a91eb55aae629eb0e Mon Sep 17 00:00:00 2001 From: Raphael Mor Date: Tue, 10 Jun 2025 16:16:36 +0200 Subject: [PATCH] Fixed Num layer --- users/raphaelmor/README.md | 12 +++++++----- users/raphaelmor/layers/NUM-defs.h | 12 ++++++------ users/raphaelmor/raphaelmor.c | 21 ++++++++++++++++++--- 3 files changed, 31 insertions(+), 14 deletions(-) diff --git a/users/raphaelmor/README.md b/users/raphaelmor/README.md index bfa62a31..dfad101a 100644 --- a/users/raphaelmor/README.md +++ b/users/raphaelmor/README.md @@ -2,10 +2,12 @@ ## TODO -- Alpha for Colemak OK -- Alpha for Hands Down Gold OK -- Other Layers OK -- All extra (Boot, base layer, layer lock, etc...) -- Check Miryoku code +- ~Alpha for Colemak~ +- ~Alpha for Hands Down Gold~ +- ~Other Layers~ +- ~All extra (Boot, base layer, layer lock, etc...)~ +- ~Check Miryoku code~ +- Find a solution for Space and 't' in HDG layout (switch space and enter, and add combo for tab ?) - Adaptive keys - Combo +- switch to split 3x6 ex2 version of the layout diff --git a/users/raphaelmor/layers/NUM-defs.h b/users/raphaelmor/layers/NUM-defs.h index 0692112d..02172b4d 100644 --- a/users/raphaelmor/layers/NUM-defs.h +++ b/users/raphaelmor/layers/NUM-defs.h @@ -43,12 +43,12 @@ #define NUM_RM4 KC_RCTL #define NUM_RM5 NUM_NO -#define NUM_LB5 KC_GRV -#define NUM_LB4 KC_1 -#define NUM_LB3 KC_2 -#define NUM_LB2 KC_3 -#define NUM_LB1 KC_BSLS -#define NUM_LB0 NUM_NO +#define NUM_LB5 NUM_NO +#define NUM_LB4 KC_GRV +#define NUM_LB3 KC_1 +#define NUM_LB2 KC_2 +#define NUM_LB1 KC_3 +#define NUM_LB0 KC_BSLS #define NUM_RB0 NUM_NO #define NUM_RB1 NUM_NO #define NUM_RB2 NUM_NO diff --git a/users/raphaelmor/raphaelmor.c b/users/raphaelmor/raphaelmor.c index 1f13bd64..fa60ef95 100644 --- a/users/raphaelmor/raphaelmor.c +++ b/users/raphaelmor/raphaelmor.c @@ -5,13 +5,11 @@ void ramo_TD_make_colemak_default(tap_dance_state_t *state, void *user_data) { if (state->count == 2) { set_single_default_layer(L_COLEMAK); - print("RAMO: switched to Colemak"); } }; void ramo_TD_make_hd_gold_default(tap_dance_state_t *state, void *user_data) { if (state->count == 2) { set_single_default_layer(L_HANDSDOWN); - print("RAMO: switched to Handsdown Gold"); } }; @@ -24,7 +22,24 @@ tap_dance_action_t tap_dance_actions[] = { void keyboard_post_init_user(void) { // Customise these values to desired behaviour debug_enable=true; - debug_matrix=true; debug_keyboard=true; debug_mouse=true; }; + + +// process + +bool process_record_user(uint16_t keycode, keyrecord_t *record) { + bool return_state = true; + uint8_t saved_mods; + + saved_mods = get_mods(); + + if (record->event.pressed == true) { + println("ramo: key pressed"); + } else { + println("ramo: key released"); + } + + return true; +}