void FScreen_KeyUp(object sender, KeyEventArgs e) { int index = GetPressedKeyIndex(e.KeyCode); if (index != -1) { _cpu.SetInput(index, false); } }