mirror of
https://github.com/qmk/qmk_userspace.git
synced 2025-09-20 10:51:29 -04:00
Add ¥ (Yen symbol)
This commit is contained in:
parent
07523cf497
commit
fa37fd877f
5 changed files with 17 additions and 10 deletions
|
@ -82,7 +82,7 @@ All base layers share the same thumb cluster:
|
||||||
─── ───┼───┼───┼───┼─── ───┼───┼───┼───┼─── ───
|
─── ───┼───┼───┼───┼─── ───┼───┼───┼───┼─── ───
|
||||||
(⌘)│F9 │F10│F11│F12│ ¢ 0 │ 1 │ 2 │ 3 │ , │(⌘)
|
(⌘)│F9 │F10│F11│F12│ ¢ 0 │ 1 │ 2 │ 3 │ , │(⌘)
|
||||||
───┌───┬───┐ ┌───┬───┐───
|
───┌───┬───┐ ┌───┬───┐───
|
||||||
$ │Sft│(v)│ │Bsp│Spc│App
|
¥ │Sft│(v)│ │Bsp│Spc│ $
|
||||||
───└───┴───┘ └ATT┴─⇧─┘───
|
───└───┴───┘ └ATT┴─⇧─┘───
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -94,7 +94,7 @@ All base layers share the same thumb cluster:
|
||||||
─── ───┼───┼───┼───┼─── ───┼───┼───┼───┼─── ───
|
─── ───┼───┼───┼───┼─── ───┼───┼───┼───┼─── ───
|
||||||
(⌘)│F9 │F10│F11│F12│ ¢ 0 │ 1 │ 2 │ 3 │ , │(⌘)
|
(⌘)│F9 │F10│F11│F12│ ¢ 0 │ 1 │ 2 │ 3 │ , │(⌘)
|
||||||
───┌───┬───┐ ┌───┬───┐───
|
───┌───┬───┐ ┌───┬───┐───
|
||||||
$ │Sft│(v)│ │Bsp│Spc│App
|
¥ │Sft│(v)│ │Bsp│Spc│ $
|
||||||
───└───┴───┘ └ATT┴─⇧─┘───
|
───└───┴───┘ └ATT┴─⇧─┘───
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -279,6 +279,13 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||||
unregister_code16(ALGR(DE_N));
|
unregister_code16(ALGR(DE_N));
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
case DE_YEN:
|
||||||
|
if (record->event.pressed) {
|
||||||
|
register_code16(S(ALGR(DE_Z)));
|
||||||
|
} else {
|
||||||
|
unregister_code16(S(ALGR(DE_Z)));
|
||||||
|
}
|
||||||
|
return false;
|
||||||
case KC_CUT:
|
case KC_CUT:
|
||||||
if (record->event.pressed) {
|
if (record->event.pressed) {
|
||||||
tap_code16(S(KC_DEL));
|
tap_code16(S(KC_DEL));
|
||||||
|
|
|
@ -331,7 +331,7 @@ void symR_reset(tap_dance_state_t *state, void *user_data);
|
||||||
# define _PR3_6_ _PR3_5_, _ADD_R_3_
|
# define _PR3_6_ _PR3_5_, _ADD_R_3_
|
||||||
//
|
//
|
||||||
# define _PL4_2_ KC_BTN1, KC_BTN2
|
# define _PL4_2_ KC_BTN1, KC_BTN2
|
||||||
# define _PL4_3_ MS_GSB1, _PL4_2_
|
# define _PL4_3_ MS_CSB1, _PL4_2_
|
||||||
# define _PR4_2_ KC_BTN3, KC_BTN1
|
# define _PR4_2_ KC_BTN3, KC_BTN1
|
||||||
# define _PR4_3_ _PR4_2_, MS_CSB1
|
# define _PR4_3_ _PR4_2_, MS_CSB1
|
||||||
//
|
//
|
||||||
|
@ -355,9 +355,9 @@ void symR_reset(tap_dance_state_t *state, void *user_data);
|
||||||
#define _LR3_6_ _LR3_5_, _ADD_R_3_
|
#define _LR3_6_ _LR3_5_, _ADD_R_3_
|
||||||
//
|
//
|
||||||
#define _LL4_2_ KC_LSFT, KC_TRNS
|
#define _LL4_2_ KC_LSFT, KC_TRNS
|
||||||
#define _LL4_3_ DE_DLR, _LL4_2_
|
#define _LL4_3_ DE_YEN, _LL4_2_
|
||||||
#define _LR4_2_ ATT(KC_BSPC), SFT_SPC
|
#define _LR4_2_ ATT(KC_BSPC), SFT_SPC
|
||||||
#define _LR4_3_ _LR4_2_, KC_APP
|
#define _LR4_3_ _LR4_2_, DE_DLR
|
||||||
//
|
//
|
||||||
#define _LOWER_3x5_ _LL1_5_, _LR1_5_, _LL2_5_, _LR2_5_, _LL3_5_, _LR3_5_
|
#define _LOWER_3x5_ _LL1_5_, _LR1_5_, _LL2_5_, _LR2_5_, _LL3_5_, _LR3_5_
|
||||||
#define _LOWER_3x6_ _LL1_6_, _LR1_6_, _LL2_6_, _LR2_6_, _LL3_6_, _LR3_6_
|
#define _LOWER_3x6_ _LL1_6_, _LR1_6_, _LL2_6_, _LR2_6_, _LL3_6_, _LR3_6_
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue