projects
/
ejpi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fcbac1f
)
First pass at numbers on computer keyboard
author
Ed Page
<eopage@byu.net>
Thu, 13 Jan 2011 02:08:17 +0000
(20:08 -0600)
committer
Ed Page
<eopage@byu.net>
Thu, 13 Jan 2011 03:06:15 +0000
(21:06 -0600)
src/plugins/computer.py
patch
|
blob
|
history
diff --git
a/src/plugins/computer.py
b/src/plugins/computer.py
index
65520ba
..
8723774
100644
(file)
--- a/
src/plugins/computer.py
+++ b/
src/plugins/computer.py
@@
-18,14
+18,23
@@
_MAP = {
"keys": {
(0, 0): {
"CENTER": {"action": "[//]", "type": "text", "text": "x // y", },
"keys": {
(0, 0): {
"CENTER": {"action": "[//]", "type": "text", "text": "x // y", },
+ "SOUTH": {"action": "1", "type": "text", "text": "1", },
+ "SOUTH_EAST": {"action": "2", "type": "text", "text": "2", },
+ "EAST": {"action": "3", "type": "text", "text": "3", },
"showAllSlices": False,
},
(0, 1): {
"CENTER": {"action": "[dec]", "type": "text", "text": "-> dec", },
"showAllSlices": False,
},
(0, 1): {
"CENTER": {"action": "[dec]", "type": "text", "text": "-> dec", },
+ "SOUTH_WEST": {"action": "4", "type": "text", "text": "4", },
+ "SOUTH": {"action": "5", "type": "text", "text": "5", },
+ "SOUTH_EAST": {"action": "6", "type": "text", "text": "6", },
"showAllSlices": True,
},
(0, 2): {
"CENTER": {"action": "[%]", "type": "text", "text": "x % y", },
"showAllSlices": True,
},
(0, 2): {
"CENTER": {"action": "[%]", "type": "text", "text": "x % y", },
+ "WEST": {"action": "7", "type": "text", "text": "7", },
+ "SOUTH_WEST": {"action": "8", "type": "text", "text": "8", },
+ "SOUTH": {"action": "9", "type": "text", "text": "9", },
"showAllSlices": False,
},
(1, 0): {
"showAllSlices": False,
},
(1, 0): {