Permalink
Browse files

Added Markdown Keyboard, priority list, and fixed layout bugs.

  • Loading branch information...
Jared Crawford Jared Crawford
Jared Crawford authored and Jared Crawford committed Apr 8, 2012
1 parent 822af4e commit 53fe4e45dc618d19cc50e2717fc0fa826c5f7455
@@ -16,7 +16,8 @@
"text": "#"
},
{
- "text": "%"
+ "text": "%",
+ "modifiers":["%",""]
},
{
"text": "^"
@@ -66,17 +67,18 @@
[
{
"text": "123",
- "width": 1.25,
+ "width": 1.32,
"style": "dark",
"type": "switchKeyboard",
"keyboardName": "QWERTY-Numeric"
},
{
"style":"blankSpace",
- "width": 0.25
+ "width": 0.18
},
{
"text": ".",
+ "modifiers": [".",""],
"width": 1.4
},
{
@@ -85,39 +87,44 @@
},
{
"text": "?",
+ "modifiers": ["?","¿"],
"width": 1.4
},
{
"text": "!",
+ "modifiers": ["!","¡"],
"width": 1.4
},
{
"text": "'",
+ "modifiers": ["'","","","`"],
"width": 1.4
},
{
"style":"blankSpace",
- "width": 0.25
+ "width": 0.18
},
{
"image": "Delete",
- "width": 1.25,
+ "width": 1.32,
"style": "dark",
"type": "delete"
}
],
[
{
"text": "ABC",
- "width": 1.25,
+ "width": 2.5,
+ "widthIfMultipleKeyboards": 1.25,
"style": "dark",
"type": "switchKeyboard",
"keyboardName": "QWERTY",
"font": "HelveticaNeue-CondensedBold"
},
{
"image": "Globe",
- "width": 1.25,
+ "width": 0,
+ "widthIfMultipleKeyboards": 1.25,
"style": "dark",
"type": "switchKeyboard"
},
@@ -28,12 +28,14 @@
"text": "9"
},
{
- "text": "0"
+ "text": "0",
+ "modifiers": ["0","˚"]
}
],
[
{
- "text": "-"
+ "text": "-",
+ "modifiers": ["-","","",""]
},
{
"text": "/"
@@ -51,32 +53,36 @@
"text": ")"
},
{
- "text": "$"
+ "text": "$",
+ "modifiers": ["$","¢","£","","¥",""]
},
{
- "text": "&"
+ "text": "&",
+ "modifiers": ["&","§"]
},
{
"text": "@"
},
{
- "text": "\""
+ "text": "\"",
+ "modifiers": ["\"","","","","»","«"]
}
],
[
{
"text": "#+=",
- "width": 1.25,
+ "width": 1.32,
"style": "dark",
"type": "switchKeyboard",
"keyboardName": "QWERTY-Numeric-Shifted"
},
{
"style":"blankSpace",
- "width": 0.25
+ "width": 0.18
},
{
"text": ".",
+ "modifiers": [".",""],
"width": 1.4
},
{
@@ -85,39 +91,44 @@
},
{
"text": "?",
+ "modifiers": ["?","¿"],
"width": 1.4
},
{
"text": "!",
+ "modifiers": ["!","¡"],
"width": 1.4
},
{
"text": "'",
+ "modifiers": ["'","","","`"],
"width": 1.4
},
{
"style":"blankSpace",
- "width": 0.25
+ "width": 0.18
},
{
"image": "Delete",
- "width": 1.25,
+ "width": 1.32,
"style": "dark",
"type": "delete"
}
],
[
{
"text": "ABC",
- "width": 1.25,
+ "width": 2.5,
+ "widthIfMultipleKeyboards": 1.25,
"style": "dark",
"type": "switchKeyboard",
"keyboardName": "QWERTY",
"font": "HelveticaNeue-CondensedBold"
},
{
"image": "Globe",
- "width": 1.25,
+ "width": 0,
+ "widthIfMultipleKeyboards": 1.25,
"style": "dark",
"type": "switchKeyboard"
},
@@ -125,15 +125,18 @@
],
[
{
- "text": "123",
- "width": 1.25,
+ "text": ".?123",
+ "width": 2.5,
+ "widthIfMultipleKeyboards": 1.25,
+ "textIfMultipleKeyboards":"123",
"style": "dark",
"type": "switchKeyboard",
- "keyboardName": "QWERTY-Numeric"
+ "keyboardName": "QWERTY-Numeric",
},
{
"image": "Globe",
- "width": 1.25,
+ "width": 0,
+ "widthIfMultipleKeyboards": 1.25,
"style": "dark",
"type": "switchKeyboard"
},
@@ -73,7 +73,7 @@
"text": "return",
"width": 1.7,
"style": "lightWithGrayText",
- "type": "newline"
+ "type": "return"
}
],
[
@@ -119,13 +119,16 @@
[
{
"text": ".?123",
- "width": 1.5,
+ "width": 3,
+ "widthIfMultipleKeyboards": 1.5,
"type": "switchKeyboard",
- "keyboardName": "QWERTY-Numeric"
+ "keyboardName": "ObjC-Numeric"
},
{
"image": "Globe",
- "width": 1.5,
+ "width": 0,
+ "widthIfMultipleKeyboards": 1.5,
+ "style": "dark",
"type": "switchKeyboard"
},
{
@@ -0,0 +1,137 @@
+[
+ [
+ {
+ "text": "["
+ },
+ {
+ "text": "]"
+ },
+ {
+ "text": "{"
+ },
+ {
+ "text": "}"
+ },
+ {
+ "text": "#"
+ },
+ {
+ "text": "%"
+ },
+ {
+ "text": "^"
+ },
+ {
+ "text": "*"
+ },
+ {
+ "text": "+"
+ },
+ {
+ "text": "="
+ }
+ ],
+ [
+ {
+ "text": "_"
+ },
+ {
+ "text": "\\"
+ },
+ {
+ "text": "|"
+ },
+ {
+ "text": "~"
+ },
+ {
+ "text": "<"
+ },
+ {
+ "text": ">"
+ },
+ {
+ "text": ""
+ },
+ {
+ "text": "£"
+ },
+ {
+ "text": "¥"
+ },
+ {
+ "text": ""
+ }
+ ],
+ [
+ {
+ "text": "123",
+ "width": 1.25,
+ "style": "dark",
+ "type": "switchKeyboard",
+ "keyboardName": "Markdown-Numeric"
+ },
+ {
+ "style":"blankSpace",
+ "width": 0.25
+ },
+ {
+ "text": ".",
+ "width": 1.4
+ },
+ {
+ "text": ",",
+ "width": 1.4
+ },
+ {
+ "text": "?",
+ "width": 1.4
+ },
+ {
+ "text": "!",
+ "width": 1.4
+ },
+ {
+ "text": "'",
+ "width": 1.4
+ },
+ {
+ "style":"blankSpace",
+ "width": 0.25
+ },
+ {
+ "image": "Delete",
+ "width": 1.25,
+ "style": "dark",
+ "type": "delete"
+ }
+ ],
+ [
+ {
+ "text": "ABC",
+ "width": 1.25,
+ "style": "dark",
+ "type": "switchKeyboard",
+ "keyboardName": "Markdown",
+ "font": "HelveticaNeue-CondensedBold"
+ },
+ {
+ "image": "Globe",
+ "width": 1.25,
+ "style": "dark",
+ "type": "switchKeyboard"
+ },
+ {
+ "text": "space",
+ "width": 5,
+ "style": "spacebar",
+ "type": "spacebar"
+ },
+ {
+ "text": "return",
+ "width": 2.5,
+ "style": "blue",
+ "type": "return"
+ }
+ ]
+ ]
Oops, something went wrong.

0 comments on commit 53fe4e4

Please sign in to comment.