-
-
Notifications
You must be signed in to change notification settings - Fork 40.4k
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
Adding Keyboard: GMMK Pro #12030
Adding Keyboard: GMMK Pro #12030
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you have any questions, don't hesitate to ask.
Also, if you go to the "files changed" tab, you can add the suggestions to be merged all at once.
Oh, and could you add a |
Ideally, all of the files in the |
Hey @drashna, First of all, thank you for taking the time to review all of the code :) 💯 |
You are very welcome! And I mean, basically move all of the files, from If you would like, I can see about cleaning it up and opening a PR to your repo with the changes. |
Ah, I see okay that makes sense. Yeah, you are more than welcome to open up a PR to the repo and add any changes. I would love to have the final touch from the pros :) You guys are great! @drashna |
I opened a PR on your fork with the changes. |
@drashna The particular chip that is being used is the Awinic AW20216S. |
As I said, that's not even a publicly available part. Is this a custom part made for G-SPY? Either way can we at least have a datasheet? |
Yeah, without a datasheet, adding support will be impossible |
@drashna I reached out to your email. Please take a look when you get a chance. |
Let me guess, part is restricted to G-SPY and their partners, datasheet is only released with an NDA? You understand how this works right? If the code eventually gets implemented we won't need the datasheet to know how it (well at least the communication protocol) works. |
Is this the issue to watch out for full GMMK pro support? |
There will be a new PR if RGB ever comes. As for rotary, that is already supported in QMK, just not in VIA, and that's not really a QMK or Glorious problem, it will happen when it happens. As for VIA support in general, that was merged a while ago and will presumably be in the next VIA release. If you really want a tool to edit keymaps with rotary support right now I would probably look at Vial instead https://get.vial.today/ |
I'm fine with editing keymaps files manually and flashing them via cli tools. I need my backlighting/rgb to work though, are there any plans for it or work in progress? |
@GloriousThrall So what was in that email to @drashna that can't just be discussed here? Edit: for that matter, why remove the LED matrix spreadsheet, you know it's still available from the edit history right? |
Thanks a lot. Let me know if there is a PR for it to follow. |
@GloriousThrall How certain are you that QMK RGB can be implemented with the chip you're using? I have about 3 days left before I enter a preorder to get it by June. |
Awesome, thanks! I have some other stuff that has priority, but I'll try to get to this soon. Unless you beat me to it. And yeah, a quick look at the data sheet, it looks very similar to the ISSI stuff, which is a plus. If you need any help with it, let me know. |
Is there a reason this datasheet isn't being made at least partially public? I'd love to work on this too |
I think that the biggest reason is that the datasheet isn't publicly released, so distributing it is... iffy. |
That is why he said partially, the communication protocol will be pulic in the code anyway |
Do they know this will be used to implement open source code? If there's concerns about leaking electrical performance characteristics or something we don't need those, but by the time support gets implemented it will effectively just be a copy of the datasheet. Also given all of this, again the choice of this chip is quite suprising; this sure didn't age well:
|
|
QMK thread sticky removed from the glorious subreddit too. Lots of recent comments in there were complaints. |
@van1337 Do you still have the link? I'd be interested to read it. |
The post is long, but it's nothing but just saying, "it's coming soon." That post was actually in response to @Gigahawk 's post because it became a top post on /r/mechanicalkeyboards for a day. They never replied to his followup to their response. |
DISCLAIMER: I don't really know what I'm doing, if someone knows I'm wrong about this please call me out. So I've taken a look a the Glorious firmware binary in Ghidra (mostly just using stacksmashing's tutorial), and it doesn't look like the firmware even directly accesses any I2C busses (nor any other busses that might be used to control a chip like this): Now of course RGB does actually work on the Glorious firmware, so the MCU is somehow communicating with these ICs, presumably the I2C registers are being accessed indirectly. @GloriousThrall I ask this again, does awinic or G-SPY know that a firmware driver for this chip is going to be implemented in an open source project? |
@Gigahawk According to drashna, it is an SPI-based chip, not I2C, so no wonder you are not seeing anything there. |
Me too, this was one of the features I was looking for when deciding for a keyboard. I need qmk as promised. |
Tried posting this to /r/mechanicalkeyboards, mods don't seem to want to approve it, so I'm posting here instead. Glorious claims to be "working" on adding RGB support to QMK, yet /u/GloriousThrall hasn't had any real Github activity for over two months now. Now, I would be happy to give them the benefit of the doubt and say that implementing RGB is complicated... Proof: https://youtu.be/KGloqwgCuhg If you want, you can try it out yourself here (at your own risk, I take no responsibility for bricked boards): https://drive.google.com/file/d/1NpuYt0k1-uu1wfUAfCMfcrMQBPrqtqGZ/view?usp=sharing Note: In the video some keys don't light up, this may be due to:
Edit: seems to be a bit of both, the mapping for printscreen (next to function row) is probably mapped incorrectly, and I think I have bad solder connections for the enter and down arrow keys. If you see some keys not light up, please let me know, as that means I have to spend some time figuring out what address those LEDs are mapped to. The keymap used for this build is here: https://pastebin.com/QjcKTtK5 You will see that I have disabled a lot of keys for this demo, and I have decided to withhold the source code for this until:
|
@Gigahawk awesome, thanks! Common glorious, help us out here: you get your work done for free and we get the software we were promised. Win - win. Can't be that much work to look over it, can it? |
Whilst we share your frustrations, this isn't the forum for airing out grievances. This PR has been merged -- you're welcome to create an issue and/or a PR, but please keep things on-topic in future. Locking thread to contributors. |
Description
Added QMK Compatibility for GMMK Pro.
Types of Changes
Issues Fixed or Closed by This PR
Checklist