Add DST_MOD_MASK as a config option
This commit is contained in:
parent
6f386ca6ae
commit
6695c874fb
2 changed files with 5 additions and 2 deletions
|
@ -30,13 +30,13 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
|||
|
||||
case DST_P_R:
|
||||
(record->event.pressed ? register_code16 : unregister_code16)(
|
||||
(get_mods() & MOD_MASK_CTRL) ? DST_RMV : DST_PRV
|
||||
(get_mods() & DST_MOD_MASK) ? DST_RMV : DST_PRV
|
||||
);
|
||||
return false;
|
||||
|
||||
case DST_N_A:
|
||||
(record->event.pressed ? register_code16 : unregister_code16)(
|
||||
(get_mods() & MOD_MASK_CTRL) ? DST_ADD : DST_NXT
|
||||
(get_mods() & DST_MOD_MASK) ? DST_ADD : DST_NXT
|
||||
);
|
||||
return false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue