reset AnyPressedButton at start of Update

pull/20/head
cosmonaut 2022-07-08 16:52:37 -07:00
parent 1cf3a13541
commit d3e124cea1
1 changed files with 1 additions and 0 deletions

View File

@ -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();