summaryrefslogtreecommitdiffstats
path: root/users/ericgebhart
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-11-16 03:52:01 +1100
committerGitHub <noreply@github.com>2022-11-15 16:52:01 +0000
commitde66797705ef0e490e5deca0545f009c351f5f45 (patch)
tree86e435ee5b6ff7a4f1d47a5337818e59d85191e9 /users/ericgebhart
parent594f869619884519692319a44da394f8959d4cdf (diff)
Fix some old keycodes (#19086)
Diffstat (limited to 'users/ericgebhart')
-rw-r--r--users/ericgebhart/extensions/oneshot.c4
-rw-r--r--users/ericgebhart/layers/edge_keys.h4
-rw-r--r--users/ericgebhart/layers/toprows.h4
-rw-r--r--users/ericgebhart/layers/utility.h2
4 files changed, 7 insertions, 7 deletions
diff --git a/users/ericgebhart/extensions/oneshot.c b/users/ericgebhart/extensions/oneshot.c
index 83c8a04363..55c2fa1ae3 100644
--- a/users/ericgebhart/extensions/oneshot.c
+++ b/users/ericgebhart/extensions/oneshot.c
@@ -125,10 +125,10 @@ int8_t update_oneshot_modifiers(uint16_t keycode, keyrecord_t *record, int8_t ke
// registers/unregisters a mod to the operating system on state change if necessary
void update_modifier(oneshot_mod osmod, oneshot_state previous_state, oneshot_state current_state) {
if (previous_state == ONESHOT_STATE_OFF) {
- register_code(KC_LCTRL + osmod);
+ register_code(KC_LCTL + osmod);
} else {
if (current_state == ONESHOT_STATE_OFF) {
- unregister_code(KC_LCTRL + osmod);
+ unregister_code(KC_LCTL + osmod);
}
}
}
diff --git a/users/ericgebhart/layers/edge_keys.h b/users/ericgebhart/layers/edge_keys.h
index 0794b91a02..107434750b 100644
--- a/users/ericgebhart/layers/edge_keys.h
+++ b/users/ericgebhart/layers/edge_keys.h
@@ -367,13 +367,13 @@
// all others are handled through macros.
#define ___5_BOTTOM_LEFT___ ___X2___, KC_INS, KC_LEFT, KC_RIGHT
-#define ___5_BOTTOM_RIGHT___ KC_UP, KC_DOWN, KC_BSLASH, ___X2___
+#define ___5_BOTTOM_RIGHT___ KC_UP, KC_DOWN, KC_BSLS, ___X2___
#define ___5_BOTTOM_LEFT_EN___ ___5_BOTTOM_LEFT___
#define ___5_BOTTOM_RIGHT_EN___ ___5_BOTTOM_RIGHT___
#define ___4_BOTTOM_LEFT___ LCTL(KC_V), KC_INS, KC_LEFT, KC_RIGHT
-#define ___4_BOTTOM_RIGHT___ KC_UP, KC_DOWN, KC_BSLASH, LCTL(KC_C)
+#define ___4_BOTTOM_RIGHT___ KC_UP, KC_DOWN, KC_BSLS, LCTL(KC_C)
#define ___4_BOTTOM_LEFT_EN___ ___4___ //___4_BOTTOM_LEFT___
#define ___4_BOTTOM_RIGHT_EN___ ___4___ //___4_BOTTOM_RIGHT___
diff --git a/users/ericgebhart/layers/toprows.h b/users/ericgebhart/layers/toprows.h
index 351df442ed..3ae1c4665b 100644
--- a/users/ericgebhart/layers/toprows.h
+++ b/users/ericgebhart/layers/toprows.h
@@ -25,8 +25,8 @@
/*******************************************************************/
// Kinesis function key row. I don't use them. but might as well define them.
#define ___KINTFUNC_L___ KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8
-// #define ___KINTFUNC_RIGHT___ KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_SLCK, KC_PAUS, KC_FN0, RESET
-#define ___KINTFUNC_R___ KC_F9, KC_F10, KC_F11, KC_F12, XXX, XXX, XXX, XXX, RESET
+// #define ___KINTFUNC_RIGHT___ KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_SCRL, KC_PAUS, KC_FN0, QK_BOOT
+#define ___KINTFUNC_R___ KC_F9, KC_F10, KC_F11, KC_F12, XXX, XXX, XXX, XXX, QK_BOOT
// A TOPROWS Layer.
// set it how you like it, if you like it.
diff --git a/users/ericgebhart/layers/utility.h b/users/ericgebhart/layers/utility.h
index a688f8196d..dab0bb4f41 100644
--- a/users/ericgebhart/layers/utility.h
+++ b/users/ericgebhart/layers/utility.h
@@ -74,7 +74,7 @@
#define ___ADJUST_L3___ ___RGB_HUE_SAT_INT_DN___, KC_RGB_T
#define ___ADJUST_R1___ ___, KC_MAKE, VRSN, MG_NKRO, KC_RESET
-#define ___ADJUST_R2___ EEP_RST, ___PRV_PLAY_NXT_STOP___,
+#define ___ADJUST_R2___ EE_CLR, ___PRV_PLAY_NXT_STOP___,
#define ___ADJUST_R3___ MG_NKRO, ___VDN_MUTE_VUP___, RGB_IDL
/********************************************************************************/
/* The Adjust LAYER Chunks */