You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Ian Prest 7ec3536e4d Renamed kbd-custom --> kbd-webfont, to match output filename
-- Also made the makefiles work again.
9 years ago
bg Optimized file size of background images 9 years ago
font-src Renamed kbd-custom --> kbd-webfont, to match output filename 9 years ago
fonts Now managing third-party components with Bower 9 years ago
js Now managing third-party components with Bower 9 years ago
samples A few tweaks to the switch summary display 9 years ago
spec Fix a font-size serialization bug found by iandoug 9 years ago
tests updated unit-test screenshots 9 years ago
.gitignore Deleting AWS stuff we don't need anymore 9 years ago
CHANGELOG.md Bumped version to v0.15; updated CHANGELOG 9 years ago
CONTRIB.md Get html2canvas via bower 9 years ago
LICENSE.md Split readme into several files; added LICENSE.md 9 years ago
Makefile Renamed kbd-custom --> kbd-webfont, to match output filename 9 years ago
README.md Cleaned up CONTRIB & README 9 years ago
backgrounds.json Rejiggered the background-image dropdown & data 9 years ago
bower.json Update html2canvas to latest alpha version 9 years ago
colors.json Update colors.json 9 years ago
cssparser.y Fixed a problem parsing CSS comments 9 years ago
deploy.bat Updated deployment script for 'bg' folder 9 years ago
extensions.js Misc changes, mostly for per-key switch type 9 years ago
favicon.ico Added Favicon 9 years ago
jsonl.y Converted JSONL parser to EBNF form to be more hackable 9 years ago
kb.css Merge branch 'webfont' of git://github.com/iandoug/keyboard-layout-editor into iandoug-webfont 9 years ago
kb.html Merge branch 'webfont' of git://github.com/iandoug/keyboard-layout-editor into iandoug-webfont 9 years ago
kb.js Not sure why Git needs this .... 9 years ago
kb.sublime-project Wrote my own CSS parser + unit-tests 9 years ago
kbd-webfont.css Added references to Segoe UI Symbol glyphs, assumes user has that font installed, else gets OS replacement. 9 years ago
keys.json Added 'Status LEDs' to the 'Add Key' dropdown. 9 years ago
layouts.json Cleaned up ISO 60% 9 years ago
nub.png Major refactoring of the keycap rendering to HTML 9 years ago
oauth.html Added second GitHub client ID for local development 9 years ago
pickers.json Found a way to make Combining Diacriticals behave as desired. 9 years ago
render.js Parse user-defined glyphs in CSS 9 years ago
serial.js Misc changes, mostly for per-key switch type 9 years ago
switches.json A few tweaks to the switch summary display 9 years ago

README.md

keyboard-layout-editor

Keyboard-layout-editor.com 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).

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

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/