z3ntu / RazerGenie

Qt application for configuring your Razer devices under GNU/Linux.
GNU General Public License v3.0
376 stars 35 forks source link

Add custom editor for razer tartarus V2 keypad #116

Closed haenenma closed 3 years ago

haenenma commented 3 years ago

Can the custom editor be enabled for the Tartarus V2 keypad ?

z3ntu commented 3 years ago

Hi, if you want to have the "cheap option", you can enable this option https://github.com/z3ntu/RazerGenie/blob/master/meson_options.txt#L1 during compile time and then you have a very similar feature but with an uglier UI. If you want to add proper support then you'll need to create a json similar to https://github.com/z3ntu/RazerGenie/blob/master/data/matrix_layouts/razerdefault22.json that maps labels and a layout to the different keys on the keyboard so it can be displayed nicely in the UI. And then add a block here https://github.com/z3ntu/RazerGenie/blob/fcbe0980fbeef08da537a48fb7a72652c3784b4b/src/customeditor/customeditor.cpp#L65-L76 to actually use the json. If you have any questions, feel free to ask.

haenenma commented 3 years ago

Okay thanks a lot for your help. I will try first for the cheap option.