[Input] Legacy keyboard respects the KeyRepeat field.
authorFraser Waters <frassle@gmail.com>
Sun, 23 Nov 2014 13:36:41 +0000 (14:36 +0100)
committerFraser Waters <frassle@gmail.com>
Sun, 23 Nov 2014 13:40:36 +0000 (14:40 +0100)
commite855d2eb33910bab4e68e3436eebd4d2479213d4
tree2585a81647be469c78fe3e6cf1bd12128a2df531
parent6deec73fc904af5071cd0647bd3a92bb106aef2b
[Input] Legacy keyboard respects the KeyRepeat field.

If the legacy keyboard device receives a key down event with IsRepeat set it
will only raise it's own key down event if it's KeyRepeat field is set to true.

This is as documented, regression casused by refactoring. Fixes issue #201.

Also change the GameWindowState example to show setting of KeyRepeat to true
and false and how that changes the event counts for the legacy and new keyboard
devices.
Source/Examples/OpenTK/Test/GameWindowStates.cs
Source/OpenTK/Input/KeyboardDevice.cs