skelterjohn/go.wde — pull request #14 by legofflaurent (2012-08-09 08:13:37+00:00)
Title: manage win32 keys

changes:
- get the focus when the window open, so that we can hit a key without focusing with the mouse pointer
- use WM_CHAR message to get the glyph corresponding to the key pressed
- use WM_SYSKEYDOWN, WM_SYSKEYUP, WM_SYSCHAR so that we can catch alt key
- fill Chord field to have the combinaison of keys

Suggestions:
- I think combinaison of keys may be more useful on KeyDownEvent not on KeyTypedEvent, cause for example no keytypedevent were generated when hit Ctrl+Alt+A cause this does not generate any Glyph.

- Some special keys were missing in wde.keys.go, we may add some keys.