ScummVM logo Forum Index - ScummVM website - Contact us - Buy Supported Games: GOG.com Rules - Search - Register - Login curved edge
Folder Forum Index > PocketPC/WinCE Port > Turn off double tap as right click
Turn off double tap as right click
  Author    Thread Reply to topic
Krono



Joined: 12 Oct 2007
Posts: 6
Turn off double tap as right click 

I did a search and couldn't find anything on this, so is there a way to make double tapping not a right click? This is making Zak and COMI a pain, I can't get stuff out of my inventory in COMI because of it. What is the time lapse for it to be considered a right click? If I knew that I could just count, I guess. Thanks in advance.

 Reply with quote  
Post Fri Oct 12, 2007 6:09 am 
 View user's profile Send private message MSN Messenger
knakos
ScummVM Porter


Joined: 02 Nov 2005
Posts: 424
Location: Athens, Greece
 

A double tap is registered when the second tap occurs within 5 pixels and 1 sec of the first one. If you don't mind, please submit a feature request to add a configuration variable which sets the time limit (and consequently, setting it real low, like 0, would turn double tapping off).

 Reply with quote  
Post Fri Oct 12, 2007 8:47 am 
 View user's profile Send private message
PsYcO
Got 2 warnings


Joined: 24 Dec 2006
Posts: 513
Location: UK, Enfield
 

just curious, in the event that this feature gets changed, would it be user configurable?

 Reply with quote  
Post Fri Oct 12, 2007 12:57 pm 
 View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
knakos
ScummVM Porter


Joined: 02 Nov 2005
Posts: 424
Location: Athens, Greece
 

quote:
Originally posted by knakos
a configuration variable which sets the time limit


So yeah, something like "doubletapdelay=XXXX" in scummvm.ini with XXXX in usec (too low or 0 => no doubletap).
 Reply with quote  
Post Fri Oct 12, 2007 1:53 pm 
 View user's profile Send private message
Krono



Joined: 12 Oct 2007
Posts: 6
 

quote:
Originally posted by knakos
A double tap is registered when the second tap occurs within 5 pixels and 1 sec of the first one. If you don't mind, please submit a feature request to add a configuration variable which sets the time limit (and consequently, setting it real low, like 0, would turn double tapping off).


Could I just do it myself? I'm not new to coding, I've got quite a bit of experience. I just thought it was something on the PDA side rather than ScummVM.
 Reply with quote  
Post Fri Oct 12, 2007 3:40 pm 
 View user's profile Send private message MSN Messenger
knakos
ScummVM Porter


Joined: 02 Nov 2005
Posts: 424
Location: Athens, Greece
 

Of course, if you recompiled the wince port of scummvm. The process is documented in the wiki (hopefully this will get a lot more simpler soon). The line you need to change is in wince-sdl.cpp, in ::pollEvent, in the SDL_MOUSEBUTTONDOWN case, if that specific 'if' where there is a '< 1000' clause, make it something like '< 1'. Also, please use the source tarball from the 0.10.0 release and not the svn because it has not been updated recently, as I'm checking out some stuff off a frozen development copy.

 Reply with quote  
Post Fri Oct 12, 2007 4:51 pm 
 View user's profile Send private message
uenz



Joined: 25 Mar 2008
Posts: 3
 

Is this feature planned to be applied? With the actual version itīs a pain to play the air plane scene of zak.
(http://forums.scummvm.org/viewtopic.php?t=3101&highlight=zak and others...)
I compiled a version with double tap off lie you suggested and now its really easy to play the game.
An alternative solution could be to disable click / double click if a key is mapped to the corresponding click function.

 Reply with quote  
Post Wed Mar 26, 2008 9:26 pm 
 View user's profile Send private message
knakos
ScummVM Porter


Joined: 02 Nov 2005
Posts: 424
Location: Athens, Greece
 

spookypeanut has already sumitted a patch which will be included in next version for this.

 Reply with quote  
Post Sat Mar 29, 2008 7:19 pm 
 View user's profile Send private message
  Display posts from previous:      
Reply to topic

Forum Jump:
 



Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Powered by phpBB © 2001, 2006 phpBB Group
Forum design by ScummVM team, icons by raina
curved edge   curved edge