reset AnyPressedButton at start of Update
parent
1cf3a13541
commit
d3e124cea1
|
@ -41,6 +41,7 @@ namespace MoonWorks.Input
|
||||||
internal void Update()
|
internal void Update()
|
||||||
{
|
{
|
||||||
AnyPressed = false;
|
AnyPressed = false;
|
||||||
|
AnyPressedButton = default; // DeviceKind.None
|
||||||
|
|
||||||
Mouse.Wheel = 0;
|
Mouse.Wheel = 0;
|
||||||
Keyboard.Update();
|
Keyboard.Update();
|
||||||
|
|
Loading…
Reference in New Issue