Fix for "unknown reference to KeyboardDevice" or on Mono.
This commit is contained in:
parent
2567fc266d
commit
a44747d0c2
1 changed files with 2 additions and 2 deletions
|
@ -140,12 +140,12 @@ namespace Examples.Tests
|
|||
ControlLogKeyboard ControlLogKeyboardDown =
|
||||
delegate(GameWindow input_window, S04_Input_Logger control, KeyboardDevice sender, Key key)
|
||||
{
|
||||
control.keyboardListBoxes[(sender as KeyboardDevice).DeviceID].Items.Add(key);
|
||||
control.keyboardListBoxes[sender.DeviceID].Items.Add(key);
|
||||
};
|
||||
ControlLogKeyboard ControlLogKeyboardUp =
|
||||
delegate(GameWindow input_window, S04_Input_Logger control, KeyboardDevice sender, Key key)
|
||||
{
|
||||
control.keyboardListBoxes[(sender as KeyboardDevice).DeviceID].Items.Remove(key);
|
||||
control.keyboardListBoxes[sender.DeviceID].Items.Remove(key);
|
||||
};
|
||||
|
||||
void hidden_UpdateFrame(object sender, UpdateFrameEventArgs e)
|
||||
|
|
Loading…
Reference in a new issue