Fixed XInput using wrong KeyboardState Constructor
This commit is contained in:
parent
115de0957f
commit
70c5870e28
@ -84,7 +84,7 @@ namespace ANX.InputDevices.Windows.XInput
|
|||||||
|
|
||||||
// only available on XBox, behaviour regarding MSDN: empty keystate
|
// only available on XBox, behaviour regarding MSDN: empty keystate
|
||||||
|
|
||||||
return new Framework.Input.KeyboardState();
|
return new Framework.Input.KeyboardState(new Framework.Input.Keys[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Framework.Input.KeyboardState GetState()
|
public Framework.Input.KeyboardState GetState()
|
||||||
@ -106,7 +106,7 @@ namespace ANX.InputDevices.Windows.XInput
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return new Framework.Input.KeyboardState();
|
return new Framework.Input.KeyboardState(new Framework.Input.Keys[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Dispose()
|
public void Dispose()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user