-
-
Notifications
You must be signed in to change notification settings - Fork 40.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Make escape work after changing the backlight settings on the HS60 V2 #5193
Conversation
@yiancar ? |
Yes this is correct! |
Awesome, just wanted to make sure! |
Yep thank you! Thanks @Hornwall for figuring this out |
Happy to help! Thank you for the quick response! |
there are a few of us that check PRs often. :) And we're glad to see people help out! It's a huge part of what makes QMK awesome! |
@yiancar I had issues today, where the keyboard was not working at all after flashing QMK. Can this change be related? My solution was to rebase to the initial commit that added hs60v2, enable Bootmagic in the config, delete the eeprom with Escape was not working at all (this PR is/was not applied). I disabled backlighting and ESC is working. But regarding this PR and the current state of UpdateI tested, if it's only relying on previously stored EEPROM data, resulting in weird behavior. And it looks like that's the case. With the instructions above, one can delete the EEPROM and this branch is working fine. But if somebody doesn't and/or isn't aware of having to do it, this could be an issue. |
Yes the update goes hand in hand with an EEPROM clear. If you follow the instructions that came with the pcb, it asks to put the pcb in bootloader mode by holding down the ESC key while plugging in the usb. This also resets the EEPROM. |
Thanks for the reply. Are the instructions available online? I don't have any (could have thrown them away by a accident). |
Whoa, awesome. Mechboards could add a link to it on the product page. I'll ask them via email. Can we add the reset instructions to the readme file? I'll create a small PR. |
Sure feel free to add the instructions on the readme:) |
Description
This pull request fixes a bug where the keymap for the the top left key (usually escape) would be overwritten by the config for the rgb-backlight when it was written to the EEPROM. This would render the key unusable as the first byte of the keymap seems to be overwritten with the last byte of the backlight config. This is fixed by offsetting the keymap and everything there after by moving it by one byte
Steps to reproduce
make hs60/v2:ansi:dfu-util
Unplug -> Hold escape -> Plug in -> Unplug -> Release escape -> Plug in
My friend tested the current version on the ISO version of this PCB and the issue does not seem to be present on that version. He also tested this branch and it did not break anything for him.
Types of Changes
Checklist