summaryrefslogtreecommitdiffstats
path: root/keyboards
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/handwired/promethium/keymaps/priyadi/keymap.c24
1 files changed, 4 insertions, 20 deletions
diff --git a/keyboards/handwired/promethium/keymaps/priyadi/keymap.c b/keyboards/handwired/promethium/keymaps/priyadi/keymap.c
index 8c24f381f..9fa224bb5 100644
--- a/keyboards/handwired/promethium/keymaps/priyadi/keymap.c
+++ b/keyboards/handwired/promethium/keymaps/priyadi/keymap.c
@@ -878,22 +878,6 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
return true;
break;
- // press both Supers to activate EMOJI layer
- case KC_LGUI:
- case KC_RGUI:
- ;
- bool lgui = keyboard_report->mods & MOD_BIT(KC_LGUI);
- bool rgui = keyboard_report->mods & MOD_BIT(KC_RGUI);
- if (record->event.pressed) {
- if (lgui ^ rgui) { // if only one super was pressed
- layer_on(_EMOJI);
- }
- } else {
- layer_off(_EMOJI);
- }
- return true;
- break;
-
// QWERTZ style comma and dot: semicolon and colon when shifted
case KC_COMM:
if (record->event.pressed) {
@@ -968,10 +952,10 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
case PUNC:
if (record->event.pressed) {
layer_on(_PUNC);
- update_tri_layer(_PUNC, _GREEKL, _GUI);
+ update_tri_layer(_PUNC, _GREEKL, _EMOJI);
} else {
layer_off(_PUNC);
- update_tri_layer(_PUNC, _GREEKL, _GUI);
+ update_tri_layer(_PUNC, _GREEKL, _EMOJI);
}
return false;
break;
@@ -984,12 +968,12 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
} else {
layer_on(_GREEKL);
layer_off(_GREEKU);
- update_tri_layer(_PUNC, _GREEKL, _GUI);
+ update_tri_layer(_PUNC, _GREEKL, _EMOJI);
}
} else {
layer_off(_GREEKU);
layer_off(_GREEKL);
- update_tri_layer(_PUNC, _GREEKL, _GUI);
+ update_tri_layer(_PUNC, _GREEKL, _EMOJI);
}
return false;
break;