Skip to content

Commit

Permalink
use safe_range
Browse files Browse the repository at this point in the history
  • Loading branch information
asdiasx committed Aug 25, 2024
1 parent ca036d0 commit 54ea9cb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
8 changes: 4 additions & 4 deletions users/manna-harbour_miryoku/custom_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
#pragma once

#define MIRYOKU_LAYER_NAV \
TD(U_TD_BOOT), TD(U_TD_U_TAP), TD(U_TD_U_EXTRA), TD(U_TD_U_BASE), KC_X, U_RDO, U_PST, U_CPY, U_CUT, U_UND, \
KC_LGUI, KC_LALT, KC_LCTL, KC_LSFT, KC_Y, CW_TOGG, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, \
U_NA, KC_ALGR, TD(U_TD_U_NUM), TD(U_TD_U_NAV), KC_Z, KC_INS, KC_HOME, KC_PGDN, KC_PGUP, KC_END, \
U_NP, U_NP, U_NA, U_NA, U_NA, KC_ENT, KC_BSPC, KC_DEL, U_NP, U_NP
TD(U_TD_BOOT), TD(U_TD_U_TAP), TD(U_TD_U_EXTRA), TD(U_TD_U_BASE), STRVPN, U_RDO, U_PST, U_CPY, U_CUT, U_UND, \
KC_LGUI, KC_LALT, KC_LCTL, KC_LSFT, KC_Y, CW_TOGG, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, \
U_NA, KC_ALGR, TD(U_TD_U_NUM), TD(U_TD_U_NAV), STRNIB, KC_INS, KC_HOME, KC_PGDN, KC_PGUP, KC_END, \
U_NP, U_NP, U_NA, U_NA, U_NA, KC_ENT, KC_BSPC, KC_DEL, U_NP, U_NP

#if defined (KEYBOARD_crkbd)
#define XXX KC_NO
Expand Down
9 changes: 4 additions & 5 deletions users/manna-harbour_miryoku/manna-harbour_miryoku.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@
#include "manna-harbour_miryoku.h"

// ASD features
/*
enum custom_keycodes {
STRVSC,
STRNIB = SAFE_RANGE,
STRVPN,
// SELWRD,
};
Expand All @@ -22,13 +21,13 @@ bool process_record_user(uint16_t keycode, keyrecord_t* record) {

case STRVPN:
if (record->event.pressed) {
SEND_STRING("1%9$m2My");
SEND_STRING("9l0i9jod");
}
return false;

case STRVSC:
case STRNIB:
if (record->event.pressed) {
SEND_STRING("1%9$m2My2");
SEND_STRING("1%9$m2My");
}
return false;
}
Expand Down

0 comments on commit 54ea9cb

Please sign in to comment.