RazerGenie
RazerGenie copied to clipboard
Razer Huntsman Elite Matrix Mapping
Hey! I put this in an issue comment, but thought it might be better to post a new issue instead. Below, I've attached the matrix mappings for this keyboard. It uses the en_US layout and has a 9 22 matrix. Here you go! Razer Huntsman Color Mapping.txt
Thanks for the file! I'll see what I can do with this unusual device :)
No problem! If you have any questions, let me know.
I'd also appreciate support for this device.
I'm currently working on the layout. Still needs some work. I'll send a patch when I'm done.
@Develon5543 do you mind trying this patch? https://gist.github.com/toluschr/cacdea6068d313b8c452515d02bc5ca3
Yes I'll try it when I can. Thank you
From: toluschr [email protected] Sent: Wednesday, May 13, 2020 5:12:01 AM To: z3ntu/RazerGenie [email protected] Cc: Develon [email protected]; Mention [email protected] Subject: Re: [z3ntu/RazerGenie] Razer Huntsman Elite Matrix Mapping (#67)
@Develon5543https://github.com/Develon5543 do you mind trying this patch? https://gist.github.com/toluschr/cacdea6068d313b8c452515d02bc5ca3
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/z3ntu/RazerGenie/issues/67#issuecomment-627940512, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMXIZGFXTIAFNR4YASPIZJTRRKFBDANCNFSM4KLA5ACA.
@toluschr @Develon5543 Any update on that?
I tried applying the patch to master, but I don't think I did it 100% correctly. Here's what I did:
patch -i 001-add-huntsmanelite-layout.patch
This resulted in me doing some manual changes, like creating the razerhuntsmanelite.json
file. I also had to manually change data/build.json
to add the Huntsman Elite lines. So the resulting issue is probably because the patch wasn't used properly.
After patching, my keyboard shows up in the program and I can change to the default presets just fine. When clicking on the custom editor button, this shows up in the terminal.
Dimensions: 9 22
"RazerGenie: Using the development razerhuntsmanelite.json file."
However, the program still says that my layout (en_US) isn't supported, and it also can't find the german one or any other layout either.
@Develon5543 On master you need to use labels such as "US"
instead of "en_US"
. It's possible that the error message doesn't reflect that yet.
Ah. Seems the patch didn't include support for US. Changing German to US in razerhuntsmanelite.json
causes the menu to show up properly. I took a screenshot of the layout menu after testing all of the options. The green ones are correct but could have incorrect labels and the red ones don't exist in this layout. There are 2 red keys, but only 1 missing light on the keyboard. (backslash/pipe)
I could probably fix this on my own. I'll see what I can do
Here is a link to an updated razerhuntsmanelite.json, made for a US layout. The formatting could use improvements, but it's good in a pinch. All of the keys work properly. All you have to do is apply the patch above and then overwrite the json file with this one in order to get US support. Updated image:
Hi,
The latest version of RazerGenie v1.0.0 has just been released. The new version allows you to open the Custom Editor regardless of whether a dedicated layout exists for your device. Please try the new version and see if that fulfils your use case.
If not, please let me know and I'll reopen the issue and will try to get a layout for your specific device into RazerGenie. For keyboards it should be sufficient if you can take a photo of your keyboard and post it here. For other devices please use the custom editor (with the default fallback layout) to map which button in the UI controls what LED on the device and share it with me.
Thank you!