mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-04-04 22:07:40 +00:00
Allow to Overwrite keyboard and mouse button state
This commit is contained in:
parent
801f32a719
commit
142b8cc2e9
2 changed files with 16 additions and 0 deletions
|
|
@ -239,6 +239,14 @@ namespace SteamController.Devices
|
|||
}
|
||||
}
|
||||
|
||||
public void Overwrite(Button button, bool value)
|
||||
{
|
||||
if (value)
|
||||
mouseButtons.Add(button);
|
||||
else
|
||||
mouseButtons.Remove(button);
|
||||
}
|
||||
|
||||
public void MoveBy(double pixelDeltaX, double pixelDeltaY)
|
||||
{
|
||||
movedX.Add(pixelDeltaX);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue