Go to file
2024-09-16 18:15:01 -07:00
bg Optimized file size of background images 2015-08-03 15:26:07 -04:00
font-src updated more copyright dates 2018-09-12 12:26:46 -07:00
fonts Now managing third-party components with Bower 2015-07-20 23:31:09 -04:00
js Now managing third-party components with Bower 2015-07-20 23:31:09 -04:00
samples Fixed navigation/numpad spacing issues in complex samples. 2015-09-09 23:12:31 -04:00
spec Fix a font-size serialization bug found by iandoug 2015-08-05 22:48:01 -04:00
tests Updated test screenshots to reflect numpad-spacing change to samples. 2015-09-11 23:28:32 -04:00
.gitignore Deleting AWS stuff we don't need anymore 2015-08-03 20:21:36 -04:00
backgrounds.json Rejiggered the background-image dropdown & data 2015-08-03 17:45:53 -04:00
bower.json Update to https 2024-09-16 18:15:01 -07:00
CHANGELOG.md Bumped version to v0.15; updated CHANGELOG 2015-08-05 00:38:07 -04:00
colors.json Sampled GMK / Uniqey colors from sample keycaps 2016-11-09 23:42:23 -08:00
CONTRIB.md Added 'Apple Wireless' keyboard sample 2015-09-09 22:05:23 -04:00
cssparser.y Fixed a problem parsing CSS comments 2015-08-05 20:53:19 -04:00
deploy.bat Tweaked deploy script to allow me to deploy a single file easily 2015-09-21 23:36:48 -04:00
extensions.js Misc changes, mostly for per-key switch type 2015-08-10 21:40:53 -04:00
favicon.ico Added Favicon 2015-07-02 14:46:53 -04:00
jsonl.y Converted JSONL parser to EBNF form to be more hackable 2015-08-11 00:18:48 -04:00
kb.css added FLAT profile 2018-09-19 19:37:49 -07:00
kb.html added FLAT profile 2018-09-19 19:37:49 -07:00
kb.js Update to https 2024-09-16 18:15:01 -07:00
kb.sublime-project Wrote my own CSS parser + unit-tests 2015-07-30 21:28:17 -04:00
kbd-webfont.css Minor tweaks to kbd-webfont 2015-08-30 19:54:38 -04:00
keys.json Added 'Status LEDs' to the 'Add Key' dropdown. 2015-08-05 23:37:18 -04:00
layouts.json Added simple Planck preset; fixes #135 2015-09-21 23:33:39 -04:00
LICENSE.md updated more copyright dates 2018-09-12 12:26:46 -07:00
Makefile Renamed kbd-custom --> kbd-webfont, to match output filename 2015-08-30 19:32:51 -04:00
nub.png Major refactoring of the keycap rendering to HTML 2015-07-12 19:16:57 -04:00
oauth.html Update to https 2024-09-16 18:15:01 -07:00
pickers.json Update to https 2024-09-16 18:15:01 -07:00
README.md Update to https 2024-09-16 18:15:01 -07:00
render.js added FLAT profile 2018-09-19 19:37:49 -07:00
serial.js Update to https 2024-09-16 18:15:01 -07:00
switches.json Reworked UI for the "tools" 2015-09-11 22:54:51 -04:00

keyboard-layout-editor

Keyboard-layout-editor.com (KLE) is a web application that enables the editing of keyboard-layouts, i.e., the position and appearance of each physical key.

The motivation for creating this application was a custom keyboard I was designing. I wanted to be able to experiment quickly with different possible layouts and visualize them easily. The existing graphics tools were capable enough, but cumbersome to use for this specific task.

As I sank further into the keyboard-enthusiast scene, I became aware of custom keycap sets that were being created by and for other enthusiasts. The ability to specify various details of the visual-appearance of the keycaps is an attempt to render these custom keycap sets as accurately as possible (within the constraints of HTML/CSS).

Want to interop with with KLE? Check out sister-project kle-serial, which includes code to deserialize saved layouts.

Getting Started for Developers

Want to play around with the source? Install the tools, clone the repository, then build / test.

Required Tools:

Installing prerequisite components (once):

  • make install

Build:

  • make
  • make fonts

Test:

  • webdriver-manager update
  • webdriver-manager start
  • make test

Notes:

  • You can use any HTTP server for local development; I'm using an ancient version of Mongoose, but whatever you've got handy should work.
  • However, if you want to be able to log in to GitHub via OAuth (without hacking up the code and registering your own OAuth application), you will need to put the server at: http://localhost:8080/