Permalink
Browse files

Merge pull request #2 from honza/master

Add Dvorak Programmer Layout
  • Loading branch information...
2 parents 1af5c2f + 7176528 commit eaeef25e3fc0eedf50797f95dcff244f38174a12 @pa7 committed Dec 13, 2011
Showing with 85 additions and 0 deletions.
  1. BIN app/img/DVORAK_PROGRAMMER.png
  2. +1 −0 app/index.html
  3. +84 −0 app/keyboard-layouts.js
View
BIN app/img/DVORAK_PROGRAMMER.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
1 app/index.html
@@ -54,6 +54,7 @@
<select id="layout">
<option value="QWERTY" selected>QWERTY Layout</option>
<option value="DVORAK">DVORAK Layout</option>
+ <option value="DVORAK_PROGRAMMER">DVORAK Programmer Layout</option>
<option value="COLEMAK">COLEMAK Layout</option>
</select>
<div id="apply" class="button">
View
84 app/keyboard-layouts.js
@@ -141,6 +141,90 @@ app.LAYOUTS = {
"Z": [644, 275],
" ": [500, 300]
},
+ DVORAK_PROGRAMMER: {
+ "P": [278, 174],
+ "Y": [332, 174],
+ "F": [386, 174],
+ "G": [440, 174],
+ "C": [494, 174],
+ "R": [548, 174],
+ "L": [602, 174],
+ "A": [130, 225],
+ "O": [184, 225],
+ "E": [238, 225],
+ "U": [292, 225],
+ "I": [346, 225],
+ "D": [400, 225],
+ "H": [454, 225],
+ "T": [508, 225],
+ "N": [562, 225],
+ "S": [616, 225],
+ "Q": [212, 275],
+ "J": [266, 275],
+ "K": [320, 275],
+ "X": [374, 275],
+ "B": [428, 275],
+ "M": [482, 275],
+ "W": [536, 275],
+ "V": [590, 275],
+ "Z": [644, 275],
+ "\"": [158, 275, 70, 275],
+ "'": [158, 275],
+ ":": [115, 174, 70, 275],
+ ";": [115, 174],
+ ",": [169, 174],
+ "<": [169, 174, 70, 275],
+ ".": [224, 174],
+ ">": [224, 174, 70, 275],
+ "/": [656, 174],
+ "?": [656, 174, 70, 275],
+ "\\":[764, 174],
+ "|": [764, 174, 70, 275],
+ "-": [670, 225],
+ "_": [670, 225, 70, 275],
+ " ": [500, 300],
+ "~": [35, 120, 70, 275],
+ "$": [35, 120],
+
+ "&": [90, 120],
+ "%": [90, 120, 70, 275],
+
+ "[": [144, 120],
+ "7": [144, 120, 70, 275],
+
+ "{": [198, 120],
+ "5": [198, 120, 70, 275],
+
+ "}": [253, 120],
+ "3": [253, 120, 70, 275],
+
+ "(": [307, 120],
+ "1": [307, 120, 70, 275],
+
+ "=": [361, 120],
+ "9": [361, 120, 70, 275],
+
+ "*": [415, 120],
+ "0": [415, 120, 70, 275],
+
+ ")": [469, 120],
+ "2": [469, 120, 70, 275],
+
+ "+": [524, 120],
+ "4": [524, 120, 70, 275],
+
+ "]": [579, 120],
+ "6": [579, 120, 70, 275],
+
+ "!": [630, 120],
+ "8": [630, 120, 70, 275],
+
+ "#": [685, 120],
+ "`": [685, 120, 70, 275],
+
+ "@": [710, 174],
+ "^": [710, 174, 70, 275],
+ },
COLEMAK: {
"~": [35, 120, 70, 275],
"`": [35, 120],

0 comments on commit eaeef25

Please sign in to comment.