GK6X icon indicating copy to clipboard operation
GK6X copied to clipboard

Online Mode [Feature Request]

Open dmadisetti opened this issue 6 years ago • 2 comments

Thanks for this project. I love being able to run and compile from source opposed to relying on some sketchy WebKit app.

Any thoughts on how to implement the "online" modes? I haven't dug deep enough into @wgwoods dumps to get a feel for how this might be done.

dmadisetti avatar Aug 13 '19 18:08 dmadisetti

The online modes require constant communication between the software and the keyboard in order to function.

Check at the opcodes here https://github.com/pixeltris/GK6X/blob/81761765f020962ed04ad68f8f0837facda7a1fa/GK6X/OpCodes.cs#L31

There are handlers for reading all packets here https://github.com/pixeltris/GK6X/blob/master/GK6X/CommandLogger.cs. You could use these to communicate with the online layer. One of the drawbacks of the online layer is that if you want to use the lighting data it needs to constantly send each LED value for every frame to the keyboard (which can be quite resource hungry on your CPU).

pixeltris avatar Aug 31 '19 12:08 pixeltris

FYI driver layer has seen a use in "findkeys" command in CLI.

h3oCharles avatar May 17 '20 10:05 h3oCharles