commit ecc5e1e38c01c1280af98902d870349999f76e19
parent da5347b01ba7ea764c21dd38f345b3334adb7449
Author: minute <lukas@mntre.com>
Date: Fri, 7 Oct 2022 13:52:25 +0000
Merge branch 'kbd-qwerty-us-delete-key' into 'master'
keyboard-fw: fix non-functional Delete key on QWERTY US variant if Hyper is pressed or mode enabled
See merge request reform/reform!35
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/reform2-keyboard-fw/keyboard.c b/reform2-keyboard-fw/keyboard.c
@@ -264,6 +264,8 @@ int main(void)
{
#ifdef KBD_VARIANT_QWERTY_US
matrix[KBD_COLS*4+1]=KEY_DELETE;
+ matrix_fn[KBD_COLS*4+1]=KEY_DELETE;
+ matrix_fn_toggled[KBD_COLS*4+1]=KEY_DELETE;
#endif
#ifdef KBD_VARIANT_NEO2
matrix[KBD_COLS*3+0]=HID_KEYBOARD_SC_CAPS_LOCK; // M3