diff options
| author | Pietro Gagliardi <[email protected]> | 2014-03-29 12:33:36 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-03-29 12:33:36 -0400 |
| commit | 07a877fa6e7144deb4b92e82de658c42d91c933a (patch) | |
| tree | b9190a486a6da9768280adca25ff5efdac210cdd /test/kbtest.go | |
| parent | 4dd7eebc315887c7f7b09e03b00c110823818e06 (diff) | |
Updated the GTK+ implementation and test programs to reflect the new KeyEvent setup.
Diffstat (limited to 'test/kbtest.go')
| -rw-r--r-- | test/kbtest.go | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/kbtest.go b/test/kbtest.go index 600215e..747764e 100644 --- a/test/kbtest.go +++ b/test/kbtest.go @@ -49,10 +49,8 @@ func (a *keyboardArea) Key(e KeyEvent) (handled bool, repaint bool) { defer a.lock.Unlock() switch { -// case e.Key != 0: -// markkey(a.kbd, keypoints[e.Key], e.Modifiers) - case e.ASCII != 0: - markkey(a.kbd, keypoints[e.ASCII], e.Modifiers) + case e.Key != 0: + markkey(a.kbd, keypoints[e.Key], e.Modifiers) case e.ExtKey != 0: markkey(a.kbd, extkeypoints[e.ExtKey], e.Modifiers) case e.Modifiers != 0: |
