void InputDevice_KeyDown ( object sender, InputDevice.KeyEventArgs e )
{
if (e.Key == Keys.F2) {
Parameters.VSyncInterval = (Parameters.VSyncInterval == 0) ? 1 : 0;
}
if (e.Key == Keys.F5) {
Reload();
}
if (e.Key == Keys.F12) {
GraphicsDevice.Screenshot();
}
if (e.Key == Keys.Escape) {
Exit();
}
}