durgod-keymapper icon indicating copy to clipboard operation
durgod-keymapper copied to clipboard

Durgod / Zeus engine my findings

Open cmetz opened this issue 4 years ago • 5 comments

Hey David,

i also messed around with my K320 Nebula and got some features working like setting different colors/effects for the keys and so on. But i never tried mapping keys, because i thought this is done totally in software on Windows. Maybe we can share our findings and combine them in a more complete script. I also used python with python-hid for that, but never released it, because of some pitfalls i haven't fixed right yet.

cmetz avatar Dec 13 '20 23:12 cmetz

Hi Christoph,

it would be absolutely great if we could combine our efforts! Unfortunately I guess with the color feature I can not help a whole lot, since I own the plain K320 without lights. How do we want collaborate on that technically? Do you want to open a pull request or first share your script as it is via a gist?

david0 avatar Dec 14 '20 07:12 david0

Hey,

sure here ist my current hacked stuff gist. I switched from raw usb to hid last weekend. The first version is raw the second is using python hid:

https://gist.github.com/cmetz/0cd6a79ed39db793e4d5a4f5c0f254a9

Maybe we can find a way to talk a litte bit about the Durgod stuff. I'm also from Germany. Maybe a hangout, or such thing.

cmetz avatar Dec 14 '20 11:12 cmetz

I'm a happy Durgod user, and I was wondering if you guys still own and use one as I would be interested to help as well.

I don't have much experience in Python, but I'm relatively good with Gtk, or I could learn another UI toolkit.

What about a GUI to map keys and later to record macros and such? Normally I prefer to work on the terminal, but having a GUI for something like this would be just amazing!!

Is it possible, also, to know a little more about the layouts/profiles?

Looking at the default profile, I don't understand what keys are those between the Alt and Space keys, physically and virtually speaking.

BTW, thanks so much for this script!!!!

antenore avatar Mar 18 '21 21:03 antenore

Hi @antenore,

Nice to hear that you want to help :-) If you want to create a GUI for that, sounds great to me. Only I would prefer to have it as a second script (something like remap_ui.py) to be able to run the console version in case people dont have the UI dependencies installed.

I used a Qt a little more since it usually feels more native, but Gtk sounds fine for this to me too.

If you mean by layouts the ones that you can select on the Zeus engine, that seems to be a pure software thing and the keyboard is only capable to store one map.

Afaik the keys between alt and space are just there to have a consistent matrix I think and do not have some function. Maybe they are relevant for the keyboards with the LEDs so that you can adress them separatly?

david0 avatar Mar 19 '21 06:03 david0

Thanks @david0 I'll think about it

antenore avatar Mar 23 '21 08:03 antenore