summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-03-27 23:57:52 -0400
committerPietro Gagliardi <[email protected]>2014-03-27 23:57:52 -0400
commit769a9ca7cb48a7255d85000332fdd57f78a39cad (patch)
tree9b81de454af960938c3e2e1e7b32600c550b24ec
parentab6e7121e47e7339822aa3e0180285b2a1c38c7c (diff)
Added some of the ExtKeys to the keyboard layout test.
-rw-r--r--test/kbtest.go26
1 files changed, 24 insertions, 2 deletions
diff --git a/test/kbtest.go b/test/kbtest.go
index d6fa7c1..600215e 100644
--- a/test/kbtest.go
+++ b/test/kbtest.go
@@ -113,8 +113,30 @@ var keypoints = map[byte]image.Point{
}
var extkeypoints = map[ExtKey]image.Point{
- // ...
-}
+ Escape: image.Pt(4, 3),
+ Insert: image.Pt(573, 78),
+ Delete: image.Pt(573, 118),
+ Home: image.Pt(573, 37),
+ End: image.Pt(609, 37),
+ PageUp: image.Pt(609, 78),
+ PageDown: image.Pt(609, 118),
+ Up: image.Pt(573, 174),
+ Down: image.Pt(573, 211),
+ Left: image.Pt(537, 211),
+ Right: image.Pt(609, 211),
+/* F1: image.Pt(xx, xx),
+ F2: image.Pt(xx, xx),
+ F3: image.Pt(xx, xx),
+ F4: image.Pt(xx, xx),
+ F5: image.Pt(xx, xx),
+ F6: image.Pt(xx, xx),
+ F7: image.Pt(xx, xx),
+ F8: image.Pt(xx, xx),
+ F9: image.Pt(xx, xx),
+ F10: image.Pt(xx, xx),
+ F11: image.Pt(xx, xx),
+ F12: image.Pt(xx, xx),
+*/}
var modpoints = map[Modifiers]image.Point{
Ctrl: image.Pt(4, 199),