Option to disable finger hover in SDL settings

This commit is contained in:
pelya
2014-04-24 00:17:07 +03:00
parent 7271e8c1f4
commit 47ae380720
8 changed files with 13 additions and 5 deletions

View File

@@ -556,7 +556,7 @@ abstract class DifferentTouchInput
if( Globals.AppUsesMouse )
Toast.makeText(MainActivity.instance, "Finger hover capability detected", Toast.LENGTH_SHORT).show();
// Switch away from relative mouse input
if( Globals.RelativeMouseMovement || Globals.LeftClickMethod != Mouse.LEFT_CLICK_NORMAL )
if( Globals.FingerHover && (Globals.RelativeMouseMovement || Globals.LeftClickMethod != Mouse.LEFT_CLICK_NORMAL) )
{
if( Globals.RelativeMouseMovement )
Globals.ShowScreenUnderFinger = Mouse.ZOOM_MAGNIFIER;