Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

suggestion to make a GUI for configurating everything #15

Closed
h3oCharles opened this issue Mar 29, 2020 · 25 comments
Closed

suggestion to make a GUI for configurating everything #15

h3oCharles opened this issue Mar 29, 2020 · 25 comments

Comments

@h3oCharles
Copy link

is it possible to make a gui for configuration of everything? like the 1st party software (if it works that is)

i have a gk64 btw

@pixeltris
Copy link
Owner

Yea, it's just a matter how much you care to put in the effort to create a GUI.

I had previously tried to use the official software as it's just a webapp essentially. I got to a certain point but it stopped being fun so I abandoned it.

@minego
Copy link

minego commented Mar 30, 2020 via email

@pixeltris
Copy link
Owner

Yea it isn't great, but it's already complete which is why I attempted to use it. I don't have any plans to create a GUI,, so I'll leave that up to anyone who wants to tackle that.

@h3oCharles
Copy link
Author

A GUI would be nice but please don't make it "like the 1st party software"! The first party software is TERRIBLE. If a GUI is created it should be simple and easy to to use.

well, im not saying to recreate the 1st party software, i just said to make a gui

@madcat820
Copy link

madcat820 commented Apr 12, 2020

Sorry for barging in, just wanted to say ur software is awesome, that the official software doesnt even have the advance macro like waiting few secs before pushing another button then nest button,, etc. and having a gui really will take everything to the next level, though you just said that you will leave that to someone else, thank you very much for your effort, and if ever theres a need for a financial support or a paid version of all of these, im more than happy to participate. thanks again

@aDavroult
Copy link

Someone do a GUI ?

@f4k3-pixel
Copy link

https://ukeloop.github.io/gk6x_gui/

There's this that I recently found out (and it was recently created).
For now it seems to only support assigning keys, for which a GUI isn't really that helpful.
If support for lighting and macros is added, it'd be awesome!

@aDavroult
Copy link

I really want a driver source code like matrix do with the real gk6x driver

https://i.imgur.com/Cjt7qlG.png

@pixeltris
Copy link
Owner

The official GUI is all written in JavaScript so it's basically open source.... the older versions (prior to 6.0) didn't use any webpack type things so you could easily modify the source code. You still can easily modify it, but the naming of things is a bit more off.

What is matrix?

@f4k3-pixel
Copy link

@pixeltris The official software is open? They mention on some page that their software is "open source" but there is no link to any repository or anything

@pixeltris
Copy link
Owner

pixeltris commented May 13, 2020

In V5.1.0.6 (and prior versions) the full source code of the GUI component was essentially open source, yes. The GUI depends on calling into the native code backend though. As mentioned I had started working on using that GUI and hooking it up to this project. Essentially you just need to implement all of the callCMS function calls (which call into native code). It's possible to essentially use it as a regular web page as well (avoiding having to embed chromium).

@aDavroult
Copy link

Matrix keyboard it's a rebrand of the gk61 keyboard and they modified the gk6x driver to got his logo

You don't have the driver source code to do this ?

@pixeltris
Copy link
Owner

I was playing around with the web GUI idea again. I'm doing a bodge job of it but I think it's just a matter of getting files in the right places and implementing the native calls that js makes. So far I've got it loading up on a web page, but haven't implemented most of the native function calls yet.

image

@aDavroult
Copy link

I was playing around with the web GUI idea again. I'm doing a bodge job of it but I think it's just a matter of getting files in the right places and implementing the native calls that js makes. So far I've got it loading up on a web page, but haven't implemented most of the native function calls yet.

image

Can you send the source file of this ? Thx

@pixeltris
Copy link
Owner

edcc42e adds support for this. You need to copy the data files from the official software, or use the data files from the releases page on this repo. It hasn't been tested extensively, but it should work (hopefully).

@aDavroult I don't have access to anything that isn't already on the official download page http://www.jikedingzhi.com/downloadlist?driverID=41latest version V5.1.0.6 has full source of the web component under /CMSEngine/driver/. All newer version have that same folder, but the files are packed using something like webpack (it's still mostly readable, just format it).

@aDavroult
Copy link

You think you can create the software and be open source to change logo ?

@f4k3-pixel
Copy link

f4k3-pixel commented May 15, 2020

@pixeltris But are you allowed to change the code/use it? Won't it need a license (which they definitely haven't provided)

@pixeltris
Copy link
Owner

I dunno. I just hooked it up because it wasn't much code to write and people were asking about a GUI. It's not something I'm taking any further than I have already implemented. And I'm not personally going to write a GUI myself as it's more effort than you might think to support all the different boards, lighting, macros and stuff.

@h3oCharles
Copy link
Author

h3oCharles commented May 15, 2020

image

GK96XS, huh? have you tried other GK keyboards too? if not, feel free to hit me up to test if gk64 would work

EDIT: this link

http://www.jikedingzhi.com/downloadlist?driverID=41latest

returns an error 502 at the time of writing this

@pixeltris
Copy link
Owner

pixeltris commented May 15, 2020

I don't have a GK96XS haha, I had just enabled the debug mode which turns on all the keyboards. In the README there's a screenshot of it on non debug mode showing my "GK84S RGB" (not sure what the 'S' stands for tbh). As mentioned it's now implemented and in the releases page (with all of the necessary files bundled in) so feel free to try it out via the 'gui' command.

@aDavroult
Copy link

if i host the web gui it can be available if someone go to the ip:port ?
To change their own keyboard things

@pixeltris
Copy link
Owner

You could update the ip address to update your keyboard settings remotely, but not somebody else's as it's obviously communicating with the local device. There isn't a standardized remote HID protocol.

@aDavroult
Copy link

Hum can you make an intuitive driver like when we exec the.exe the webgui
launching too ?

@pixeltris
Copy link
Owner

You are free to use the code in this repo as you please. I am personally not doing anything further than what is already done.

@pixeltris
Copy link
Owner

As stated in #15 (comment) there's partial GUI support by using the web component of the official software. While improvements still need to be made, there will not be any alternative GUI support added to this repo so I'll go ahead and close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants