GK6X
GK6X copied to clipboard
Online Mode [Feature Request]
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.
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).
FYI driver layer has seen a use in "findkeys" command in CLI.