Jump to content

Recommended Posts

  • Moderators

just for reference :

I'm using the SmartCL.Controller.Swipe controller to enable swiping

I noticed that on Android phones I need to change the default parameters to something like

constructor TW3SwipeController.Create(const AOwner:TW3TagObj);
begin
  inherited Create(AOwner);
  FHRange:=TW3SwipeRange.Create(20,90); // [min]---X---[max]    //20-40
  FVRange:=TW3SwipeRange.Create(20,90); // [min]---Y---[max]    //20-40
  Latency := 55;                                                //35
  Options := [];   //[coStrictTarget];
end;

otherwise it wouldn't detect a swipe reliably

I'll do some more testing on different touch-enabled hardware platforms

edited:

the controller has read-only properties for these parameters :(

 

 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...