Keyboard key press events.
DFL versions 0.9.6 and older: this function takes type KeyEventArgs. Newer DFL versions: this function takes KeyPressEventArgs.