mirror of
https://github.com/qmk/qmk_userspace.git
synced 2026-09-07 12:42:07 -04:00
Fixed Num layer
This commit is contained in:
parent
be6518d707
commit
226d556058
3 changed files with 31 additions and 14 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue