summaryrefslogtreecommitdiff
path: root/keyboards/tronguylabs/m122_3270
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/tronguylabs/m122_3270')
-rw-r--r--keyboards/tronguylabs/m122_3270/keymaps/default/keymap.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/keyboards/tronguylabs/m122_3270/keymaps/default/keymap.c b/keyboards/tronguylabs/m122_3270/keymaps/default/keymap.c
index 04866e35ef..4ade8fe6ee 100644
--- a/keyboards/tronguylabs/m122_3270/keymaps/default/keymap.c
+++ b/keyboards/tronguylabs/m122_3270/keymaps/default/keymap.c
@@ -71,8 +71,8 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- _______, _______, _______, _______, _______, EEP_RST, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- _______, _______, _______, _______, _______, DEBUG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
+ _______, _______, _______, _______, _______, EE_CLR, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
+ _______, _______, _______, _______, _______, DB_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______
)
@@ -85,10 +85,10 @@ bool right_alt_down = false;
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
- case KC_LSHIFT:
+ case KC_LSFT:
left_shift_down = record->event.pressed;
break;
- case KC_RSHIFT:
+ case KC_RSFT:
right_shift_down = record->event.pressed;
break;
case KC_LALT:
@@ -126,7 +126,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
} else { // This assumes that the Linux Compose has been set to Scroll Lock
if (record->event.pressed) {
- tap_code16(KC_SLCK);
+ tap_code16(KC_SCRL);
SEND_STRING("c/");
}
}
@@ -194,17 +194,17 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
case JM_NSLC:
if (left_shift_down || right_shift_down) {
if (record->event.pressed) {
- register_code(KC_NLCK);
+ register_code(KC_NUM_LOCK);
}
else {
- unregister_code(KC_NLCK);
+ unregister_code(KC_NUM_LOCK);
}
} else {
if (record->event.pressed) {
- register_code(KC_SLCK);
+ register_code(KC_SCRL);
}
else {
- unregister_code(KC_SLCK);
+ unregister_code(KC_SCRL);
}
}
return false;