-
-
Notifications
You must be signed in to change notification settings - Fork 39.8k
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
Melody96 refactor #16455
Melody96 refactor #16455
Conversation
@fauxpark Every since this refactor of the melody96 was merged the Enter key is the backslash key and the backslash key is the enter key when using the default keymap. I don't really understand why either because the layouts in melody96.h match the layouts from an older version of melody96.h (QMK Firmware 0.16.8) where using the default keymap doesn't result in the enter and backslash being mixed up. I can fix it by swapping k93 and k84 in the LAYOUT_all macro (the 1st part of it) but I can't figure out why that would be necessary. Because it used to work fine. Do you have any insight why enter and backslash are mixed up in the default keymap after your refactor? If you do |
@mjparme Do you have a hotswap version of the PCB? AFAIK one weirdness with Melody96 is that the hotswap and soldered versions of the PCB are not 100% compatible — on the hotswap PCB the matrix positions for Enter and backslash are swapped with respect to the same key positions on the soldered PCB. The old code had the I think that the proper way to fix this would be to split this keyboard into two separate versions — maybe |
@sigprof I do not have the hotswap version of the PCB. I have two of these: https://www.aliexpress.com/item/2251832660403665.html. One I bought in Feb 2021 and the other I bought in Nov 2021. Both are experiencing the swapped backslash and enter key when using the If I instead use an older branch that I have that is at commit 675ce76 (it reports itself as It is very puzzling to say the least. I have created a |
@mjparme I've had your report kicking around in the back of my mind, intending to investigate your report. I finally went back to investigate this by checking out the commit previous to this PR, and doing my own refactor from that. I'm fairly confident that this PR switched the Backslash and Enter locations when it should not have. My reasoning for this, in addition to the refactor I did locally, is the fact that the commit that brought this PR's changes into QMK's mainline has position I also was able to look up a Discord exchange with a user who had this board (I don't know if they still do). Their keymap is in the repo (the My thoughts are:
I also just checked the VIA support. It seems the keys in question have had their positions switched three times since support was initially added. I suspect the users in question have different revisions of the board, and that none of them talked to each other. It'd be a help if @NoFunDon and @vinorodrigues could specify which versions of the Melody96 they own(ed). |
I have the hotswap version of the Melody96 |
Original solder version for me. Having said that - I'd used the Melody96 codebase to create the @noroadsleft - It could be that Hotswap and Solder are indeed different and thus the Melody should have 2 different code "revisions". |
Thanks for the replies. At the very least, I think on the VIA side this would require two different JSON data files, because making the data valid for one (either Hotswap or Soldered) seems to make the data invalid for the other. The QMK codebase would also need multiple revisions to differentiate the Vendor/Product ID pairings, though technically it should have that anyway – the QMK guideline is "different PCBs should be added as different keyboards," though that wasn't well-enforced in the early days. @NoFunDon, do you happen to have a product link for the PCB/keyboard you bought? I searched Additionally, there are at least two versions of the Soldered PCB: one with a USB Micro B connector, and one with a Type C. Fortunately, I have no reason to believe there's any difference in them besides the connector. @mjparme, does your Melody96 PCB have a Type C connector? |
Well ... if you skip Ali and go direct to ymdkey dot com you get 4 "versions":
( FYI: @noroadsleft ) ... and that's the current avails. |
@noroadsleft my PCBs have a USB-C connector |
Okay, here's some firmware for testing. Both of these should have proper Enter key placement (I hope!). @mjparme and @vinorodrigues, If you're willing, please flash the appropriate firmware file to your Melody96s and sideload the VIA JSON files (which are V2 spec; I don't know V3 spec yet), and let me know if they work as they should. Both firmware files are VIA enabled, and the top right key on the default layer is
Also @mjparme, I asked you the wrong question previously, forgetting at the time that your board is Hotswap. A more appropriate question is: does your PCB have South-facing LEDs footprints, or North-facing? I'm wondering how confident to be about the V1 and V2 Hotswap boards having the same matrices. |
ok tested it .. enter and | are correctly oriented |
@noroadsleft My PCB is not hotswap. It is soldered. I have also never used VIA before. I have gone to it’s web page before but it had no information at all about what it was or what it did. Just said “your keyboards best friend”. But didn’t say why or how it was my keyboards best friend. So I have no idea what it does. |
@mjparme, My apologies. I got your board mixed up with NoFunDon's. Disregard the testing firmware and VIA instructions – vinorodrigues was able to verify the data I had for the Soldered PCBs. @NoFunDon, does your PCB have South-facing LEDs footprints, or North-facing? If you're willing, please download the testing firmware and VIA JSON I posted here and let me know:
|
Description
Types of Changes
Issues Fixed or Closed by This PR
Checklist