Opened 12 years ago

Closed 11 years ago

Last modified 9 months ago

#8777 closed patch

WINCE: INI file toggle for double-tap right-click

Reported by: spookypeanut Owned by: SF/knakos
Priority: normal Component: Port: WinCE
Keywords: Cc:
Game:

Description

While playing through The Dig recently, I found it really annoying that I kept accidentally right-clicking and bringing up the inventory by double tapping the screen. I realize this feature is one that some people / devices find useful, so I've just put a little toggle on/off entry in the ini file.

Put this line in the ini file to activate:

no_doubletap_rightclick=true

Do I get a prize for the smallest patch ever? Or one for editing the README too? :-)

Ticket imported from: #1868881. Ticket imported from: patches/882.

Attachments (2)

no_doubletap.patch (3.1 KB) - added by spookypeanut 12 years ago.
allow toggling on and off the "double tap = right click" feature
no_dbltap_2.patch (4.2 KB) - added by spookypeanut 12 years ago.
Updated patch

Download all attachments as: .zip

Change History (8)

Changed 12 years ago by spookypeanut

Attachment: no_doubletap.patch added

allow toggling on and off the "double tap = right click" feature

comment:1 Changed 12 years ago by SF/knakos

size doesn't matter :-) This seems somewhat useful.

Anyway, for performance reasons, try caching the ini var once instead of constantly querying the confman object in real time (insside pollevent). This should be done in update_game_settings and a new member var added to the osystem_wince3 object.

comment:2 Changed 12 years ago by SF/knakos

Owner: set to SF/knakos

Changed 12 years ago by spookypeanut

Attachment: no_dbltap_2.patch added

Updated patch

comment:3 Changed 12 years ago by spookypeanut

Good point, and thanks for pointing me in the right direction :-) Have updated patch as suggested.
File Added: no_dbltap_2.patch

comment:4 Changed 11 years ago by SF/knakos

Status: newclosed

comment:5 Changed 11 years ago by SF/knakos

Committed slightly modified in revisions 34141,-2.

Thanks very much.

comment:6 Changed 9 months ago by digitall

Component: Port: WinCE
Note: See TracTickets for help on using tickets.