Skip to content
Permalink
Browse files

SDL Touch>Mouse synth. disabled when PointerSDL is used

  • Loading branch information
dominikjancik authored and xen2 committed Sep 3, 2019
1 parent 581f8d9 commit f94602d4b6b6813506fabc01a24c1de5c7d5808e
Showing with 3 additions and 0 deletions.
  1. +3 −0 sources/engine/Xenko.Input/SDL/PointerSDL.cs
@@ -26,6 +26,9 @@ public PointerSDL(InputSourceSDL source, Window uiControl)
Source = source;
this.uiControl = uiControl;

// Disable Touch-Mouse synthesis
SDL.SDL_SetHint(SDL.SDL_HINT_TOUCH_MOUSE_EVENTS, "false");

uiControl.FingerMoveActions += OnFingerMoveEvent;
uiControl.FingerPressActions += OnFingerPressEvent;
uiControl.FingerReleaseActions += OnFingerReleaseEvent;

0 comments on commit f94602d

Please sign in to comment.
You can’t perform that action at this time.