Commit graph

33 commits

Author SHA1 Message Date
Ian Prest
e0bfbbbd8b Fixed navigation/numpad spacing issues in complex samples. 2015-09-09 23:12:31 -04:00
Ian Prest
2b13f0c3e2 Added 'Apple Wireless' keyboard sample
-- Courtesy of @alistaircom, with a few tweaks
2015-09-09 22:05:23 -04:00
Ian Prest
962bd6ba78 A few tweaks to the switch summary display
-- Reverted to using lowercase "IDs" in switches.json (no need to
change, and would break existing files))
-- Now showing the "display name" of the switches in the summary
display.
2015-08-25 00:13:12 -04:00
iandoug
a2d1b2d94a Now has correctly capitalised versions of switch names 2015-08-18 18:06:27 +02:00
iandoug
2491f624c0 Fixed a 'Funny' with some FontAwesome glyphs, tweaked the RHS tab key. 2015-08-18 13:47:06 +02:00
iandoug
f0cea7a5f8 Added Switch Mounting (PCB/Plate) settings 2015-08-07 14:34:08 +02:00
Ian Prest
e3b4dd2bb3 Updated switches data to be a bit more descriptive
-- Found part numbers for a few switch types
-- Split switch data into a JS object, rather than a simple string
-- Small tweaks to UI layout
-- When setting mount-type, brand & switch-type are reset
-- When setting brand, switch-type is reset
2015-08-06 22:57:52 -04:00
Ian Prest
548ad31590 Fix font size in pkb, after previous bugfix. 2015-08-05 22:56:53 -04:00
iandoug
e905d3f7fc Fixed more font size issues in pkb layout 2015-08-05 14:12:15 +02:00
iandoug
57cabe39d3 Fixed a few issues in Programmers Keyboard, added LEDs and logo. 2015-08-05 11:12:48 +02:00
Ian Prest
ad24eadc87 Implemented keyboard 'decals'
-- Intended to put decorative labels (logos, etc.) on keyboard layouts.
-- They're basically just invisible keycaps; this works pretty well,
since there are already so many formatting options for text on keycaps,
and it saves us from having to manage a completely separate type of
thing.
-- Props to iandoug for the idea!

Also:
-- Disable x2,y2,width2,height2 on decals
-- Increase max keycap size to 18x18 (allows for really large decals)
2015-08-03 23:40:42 -04:00
Ian Prest
b2c73fdc9c Moved radii field inline with other background fields
-- Renamed backgroundradii --> radii
-- Update PKB sample
2015-08-03 18:28:31 -04:00
Ian Prest
3917a010b3 Removed background-width field, since it's auto-calculated
-- Also updated iandoug's Programmer's Keyboard sample
2015-08-03 18:15:03 -04:00
Ian Prest
7724b33fc1 Merge branch 'backgrounds' of git://github.com/iandoug/keyboard-layout-editor into iandoug-backgrounds
Conflicts:
	kb.css
	kb.js
2015-08-03 11:30:26 -04:00
iandoug
f732f370fc Added sample layout of Programmers Keyboard 2015-08-03 00:53:27 +02:00
Ian Prest
ee48716bfa Updated VIC-20 sample, post fully-generic-legends 2015-07-27 20:48:22 -04:00
Ian Prest
602ce2e55a Added a custom-styles editor
-- Similar to the raw-data editor.
-- Styles are parsed, modified so that they can only affect keycaps,
then applied to the page.
-- Modified the VIC-20 sample to demonstrate; it now has a
FontAwesome-style stylesheet, for the C64ProMono font, and is using
those custom styles for all the PETSCII glyphs.
2015-07-22 23:42:46 -04:00
JasonM23
24e2b68152 Create symbolics-spacecadet 2015-07-18 23:20:58 +08:00
Ian Prest
14b8d72f5e Cleaned up the VIC-20 sample a bit more 2015-07-12 21:01:09 -04:00
Ian Prest
9f19fabc8d Updated "Retro DSA" sample to use new HOMING checkbox 2015-07-05 20:13:46 -04:00
Ian Prest
24e8f87982 Rearrange some of the presets. 2015-07-05 17:34:16 -04:00
Ian Prest
dd79d12d47 Cleaned up some of the presets. 2015-07-05 16:23:57 -04:00
Ian Prest
3fa51617fe Updated "gb-retro-dsa" sample to demonstrate homing keys. 2015-07-02 15:05:09 -04:00
Ian Prest
8add9dc5ff Changed how I represented the PETSCII glyphs on the VIC-20 layout 2015-07-02 14:16:17 -04:00
Ian Prest
1f4b6b9e3b Cleaned up the VIC-20 sample, added C64 font to render PETSCII box-drawing characters
-- C64 font from http://style64.org/c64-truetype
2015-06-29 21:57:47 -04:00
Ian Prest
ba66365b19 Merge branch 'master' of git://github.com/BlueNalgene/keyboard-layout-editor into BlueNalgene-master 2015-06-29 19:39:30 -04:00
Ian Prest
6d87f48270 Fix a few minor issues with 06b38bdbf5
-- paths in layouts.json were misspelled
-- samples in the /samples/ folder have to be "real" JSON
2015-06-29 19:22:15 -04:00
BlueNalgene
78600ca098 Commodore Keyboard Layout
Sample based on VIC-20 model.  Also works for other Commodore keyboard
layouts.
2015-04-02 14:22:04 -05:00
Reed Swiernik
3ffcaee2e0 Added 60percent, fc660m, and keycool84 layouts 2015-03-11 19:42:29 -04:00
Ian Prest
245d2b3d9a Added new "Symbolics PN 364000" sample
-- From photo here:
http://www.asl.dsl.pipex.com/symbolics/photos/IO/kbd-older.html
2013-11-09 14:42:08 -05:00
Ian Prest
1494f0bbbe More accurate color handling.
1. Instead of using the specified color for the top of the cap, and then
darkening the side, I use the specified color for the sides of the cap,
and then lighten the top.
-- All swatches were sampled from the smooth part of the color chips...
and the smooth is usually present on the *side* of the caps, not the
top.
-- The top of the caps usually has a matte-finish, which is visibly
lighter than the smooth finish.

2. Lighten the color in LAB-space, instead of in RGB-space.
-- results in better appearance for the light colors

3. Tweaked the gradients for DSA and DCS.

4. Updated existing sample layouts to use SP color values.
-- Deleted old/unloved sample layouts.
-- Darkened the Stealth-Black layout to match other changes.

5. Changed the default keycap color from #eeeeee --> #cccccc
-- Relative appearance is similar between old & new versions.
2013-11-09 02:31:10 -05:00
Ian Prest
23ed0a3c66 Updated samples to use new features.
-- Specifically, the SPACE profile modifier for spacebars.
-- Also tweaked the code to let me load samples from the local server.
2013-11-09 00:18:18 -05:00
Ian Prest
52326a3c92 Adding the samples to source-control. 2013-11-09 00:02:28 -05:00