
[Input] Pressing an unknown key causes exception
Posted Thursday, 9 July, 2009 - 14:33 by the Fiddler| Project: | The Open Toolkit library |
| Version: | 1.0-2010-10-06 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Unknown keys are keys that have not been mapped inside the various keyboard drivers. In OpenTK 0.9.9 / Windows, pressing one of those keys results in a DivideByZero exception that terminates the program.
The solution is twofold: map the most common of these keys (e.g. volume or playback keys) and fix OpenTK to report an unknown key instead of crashing.


Comments
#1
This is fixed in 1.0...
#2
#3