Fix hid touch screen timestamp, add more log info
This commit is contained in:
parent
7d48886750
commit
8dcffe6a51
6 changed files with 36 additions and 7 deletions
|
@ -44,7 +44,7 @@ namespace Ryujinx
|
|||
HidJoystickPosition LeftJoystick;
|
||||
HidJoystickPosition RightJoystick;
|
||||
|
||||
if (Keyboard[OpenTK.Input.Key.Escape]) this.Exit();
|
||||
if (Keyboard[Key.Escape]) this.Exit();
|
||||
|
||||
int LeftJoystickDX = 0;
|
||||
int LeftJoystickDY = 0;
|
||||
|
@ -99,7 +99,7 @@ namespace Ryujinx
|
|||
|
||||
//Get screen touch position from left mouse click
|
||||
//OpenTK always captures mouse events, even if out of focus, so check if window is focused.
|
||||
if (Focused && Mouse?.GetState().LeftButton == OpenTK.Input.ButtonState.Pressed)
|
||||
if (Focused && Mouse?.GetState().LeftButton == ButtonState.Pressed)
|
||||
{
|
||||
int ScrnWidth = Width;
|
||||
int ScrnHeight = Height;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue