gamaPhy / qmk-keyboards

qmk firmware code for our keyboards
GNU General Public License v3.0
1 stars 1 forks source link

Configuration without external dependencies #27

Open tlietz opened 11 months ago

tlietz commented 11 months ago

VIA is the primary dependency for configuration. We should try to have a method of configuration that does not rely on any external dependencies for updates. This could be accomplished by using a webserver, serial terminal, telnet, or ssh running locally. If none of those are found to be reasonable, our own web-based or PC-software configurator may have to be created.

Another option would be to add wireless connectivity to the keypad and implement a webserver with that https://github.com/sysprogs/PicoHTTPServer/

tlietz commented 11 months ago

Pico webserver over usb works on linux machine, but times out when running on windows PC with win 11 or win 10. The webserver is also very slow.

tlietz commented 11 months ago

QMK has VIRTSER (virtual serial) support which looks promising

tlietz commented 11 months ago

For the initial configurator, VIRTSER will be used, which means it can be accessed by serial terminal emulators such as Teraterm. Or any standard online serial emulator that uses the webSerial API, like the official Google one (https://googlechromelabs.github.io/serial-terminal/)

While settings are being configured, need to consider when to write something to memory vs. EEPROM

Initial features:

Future:

tlietz commented 11 months ago

This ascii art collection will be useful

tlietz commented 10 months ago

Ascii art generator from image: https://www.text-image.com/convert/ascii.html

tlietz commented 10 months ago

Ansi control codes for serial terminal: https://gist.github.com/fnky/458719343aabd01cfb17a3a4f7296797