RazerGenie icon indicating copy to clipboard operation
RazerGenie copied to clipboard

Razer Huntsman Elite Matrix Mapping

Open Riku5543 opened this issue 4 years ago • 11 comments

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

Riku5543 avatar Jan 24 '20 04:01 Riku5543

Thanks for the file! I'll see what I can do with this unusual device :)

z3ntu avatar Mar 15 '20 14:03 z3ntu

No problem! If you have any questions, let me know.

Riku5543 avatar Mar 15 '20 18:03 Riku5543

I'd also appreciate support for this device.

toluschr avatar May 12 '20 20:05 toluschr

I'm currently working on the layout. Still needs some work. I'll send a patch when I'm done. 13:22:57

toluschr avatar May 13 '20 11:05 toluschr

@Develon5543 do you mind trying this patch? https://gist.github.com/toluschr/cacdea6068d313b8c452515d02bc5ca3

toluschr avatar May 13 '20 12:05 toluschr

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.

Riku5543 avatar May 18 '20 17:05 Riku5543

@toluschr @Develon5543 Any update on that?

z3ntu avatar Sep 27 '20 11:09 z3ntu

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.

Riku5543 avatar Sep 30 '20 16:09 Riku5543

@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.

z3ntu avatar Oct 02 '20 14:10 z3ntu

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 2020-10-02_12-10

Riku5543 avatar Oct 02 '20 19:10 Riku5543

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: 2020-10-02_12-10

Riku5543 avatar Oct 02 '20 19:10 Riku5543

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!

z3ntu avatar Dec 15 '22 21:12 z3ntu