Browse Source

git-svn-id: http://zengl.googlecode.com/svn/branches/0.3.x@1903 6573c10b-8653-0410-9706-d32479e959fb

dr.andru 13 years ago
parent
commit
af618aea7b
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/zgl_application.pas
  2. 1 1
      src/zgl_touch.pas

+ 1 - 1
src/zgl_application.pas

@@ -1722,7 +1722,7 @@ begin
       if Assigned( touch_PPress ) Then
         touch_PPress( ID );
     end else
-      if ( touchDown[ ID ] ) and ( Pressure = 0 ) Then
+      if ( touchDown[ ID ] ) and ( Pressure <= 0 ) Then
         begin
           touchDown[ ID ]   := FALSE;
           touchUp[ ID ]     := TRUE;

+ 1 - 1
src/zgl_touch.pas

@@ -25,7 +25,7 @@ unit zgl_touch;
 interface
 
 const
-  MAX_TOUCH = 5;
+  MAX_TOUCH = 32;
 
 function touch_X( Finger : Byte ) : Integer;
 function touch_Y( Finger : Byte ) : Integer;