Skip to content

This is a website with a python back-end based on flask that allows you to easily configure your MiniVan keyboard online and download the required .hex-file to flash it

License

Notifications You must be signed in to change notification settings

evangs/MiniVanConfigurator

 
 

Repository files navigation

MiniVanConfigurator

This is a website with a python back-end based on flask that allows you to easily configure your MiniVan keyboard online and download the required .hex-file to flash it

The 'front-end' is just a badly writtend html file with a stylesheet that should kind of mimic the original colorscheme of the Midnight Drive keyset that came with the first groupbuy. If anyone with a little more talent wants to improve my front-end i would be very pleased! That's basically the most advanced front-end i ever wrote and that says a lot... Those two files are found in the frontend folder.

The tmk-modifications (shoutouts to hasu and the entire crew for their amazing software!) folder contains two files. The first one is a minimally changed Makefile that just allows me to compile files with a name i want instead of always getting a 'tv44_lufa.hex'. The second one is the template file that my program loads every time and fills in the desired keys. It's just the keymap from evan (shoutouts!) with placeholders for the values to come.

Basically everything interesting is inside van.py. It's a script that is written in Python using the Flask web framework and is delivered by apache with wsig_mod on my server currently. There's a lot of stuff to do still but i just cleaned everything up and made it a lot prettier (could still be better though...).

I'll list everything below that i want to change/add later on so if anyone is really interested - please go ahead and contact me.

Running the Application

docker build -t miniconfig .
docker run -it --rm -p 8000:80 -e PORT=80 --name my-running-app miniconfig

Todo:

Backend:

  • Add support for more/less layers
  • Add support for different layer modes (atm the fn1-3 buttons are default, 1-2 are momentary and 3 is toggle. can easily be changed using the template file, everything needed can be set there)

Frontend:

  • Prettier website
  • Rightclicking onto a key opens a context menu where all special characters can be selected
  • Support adding/removing layers
  • Support setting momentary/toggle function buttons
  • Add better way to select a key... current method is a bit messy
  • Add better controls to set momentary/toggle option on function keys
  • Add space for instructions
  • Add confirmation to delete layer button
  • Give instruction panel some more love

About

This is a website with a python back-end based on flask that allows you to easily configure your MiniVan keyboard online and download the required .hex-file to flash it

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 75.3%
  • Python 13.5%
  • HTML 6.3%
  • CSS 2.8%
  • Makefile 1.9%
  • C 0.2%