Added the numeric keypad and function keys to the keyboard test.
This commit is contained in:
parent
85182aec67
commit
da7363a574
|
@ -122,19 +122,35 @@ var extkeypoints = map[ExtKey]image.Point{
|
|||
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),
|
||||
*/}
|
||||
F1: image.Pt(58, 3),
|
||||
F2: image.Pt(94, 3),
|
||||
F3: image.Pt(130, 3),
|
||||
F4: image.Pt(166, 3),
|
||||
F5: image.Pt(203, 3),
|
||||
F6: image.Pt(240, 3),
|
||||
F7: image.Pt(280, 3),
|
||||
F8: image.Pt(318, 3),
|
||||
F9: image.Pt(355, 3),
|
||||
F10: image.Pt(396, 3),
|
||||
F11: image.Pt(434, 3),
|
||||
F12: image.Pt(471, 3),
|
||||
N0: image.Pt(656, 199),
|
||||
N1: image.Pt(656, 159),
|
||||
N2: image.Pt(692, 159),
|
||||
N3: image.Pt(729, 159),
|
||||
N4: image.Pt(656, 118),
|
||||
N5: image.Pt(692, 118),
|
||||
N6: image.Pt(729, 118),
|
||||
N7: image.Pt(656, 78),
|
||||
N8: image.Pt(692, 78),
|
||||
N9: image.Pt(729, 78),
|
||||
NDot: image.Pt(729, 199),
|
||||
NEnter: image.Pt(765, 159),
|
||||
NAdd: image.Pt(765, 78),
|
||||
NSubtract: image.Pt(765, 37),
|
||||
NMultiply: image.Pt(729, 37),
|
||||
NDivide: image.Pt(692, 37),
|
||||
}
|
||||
|
||||
var modpoints = map[Modifiers]image.Point{
|
||||
Ctrl: image.Pt(4, 199),
|
||||
|
|
Loading…
Reference in New Issue