Ticket #8777: no_dbltap_2.patch
File no_dbltap_2.patch, 4.2 KB (added by , 17 years ago) |
---|
-
backends/platform/wince/wince-sdl.h
202 202 bool _zoomUp; // zooming up mode 203 203 bool _zoomDown; // zooming down mode 204 204 205 bool _dbltapRClick; // true if double tap should emulate a rmb click 205 206 bool _rbutton; // double tap -> right button simulation 206 207 bool _closeClick; // flag when taps are spatially close together 207 208 -
backends/platform/wince/wince-sdl.cpp
457 457 458 458 459 459 OSystem_WINCE3::OSystem_WINCE3() : OSystem_SDL(), 460 _orientationLandscape(0), _newOrientation(0), _panelInitialized(false), 460 _orientationLandscape(0), _newOrientation(0), _panelInitialized(false), _dbltapRClick(true), 461 461 _panelVisible(true), _panelStateForced(false), _forceHideMouse(false), _unfilteredkeys(false), 462 462 _freeLook(false), _forcePanelInvisible(false), _toolbarHighDrawn(false), _zoomUp(false), _zoomDown(false), 463 463 _scalersChanged(false), _lastKeyPressed(0), _tapTime(0), _closeClick(false), … … 1047 1047 } 1048 1048 } 1049 1049 1050 _dbltapRClick = !(ConfMan.hasKey("no_doubletap_rightclick") && ConfMan.getBool("no_doubletap_rightclick")); 1051 1050 1052 get_sample_rate(); 1051 1053 } 1052 1054 … … 2312 2314 if (_closeClick && (GetTickCount() - _tapTime < 1000)) { 2313 2315 if (event.mouse.y <= 20 && _panelInitialized) { // top of screen (show panel) 2314 2316 swap_panel_visibility(); 2315 } else { // right click2317 } else if (_dbltapRClick) { // right click 2316 2318 event.type = Common::EVENT_RBUTTONDOWN; 2317 2319 _rbutton = true; 2318 2320 } -
backends/platform/wince/README-WinCE.txt
301 301 302 302 Game specific sections (f.e. [monkey2]) - performance options 303 303 304 * high_sample_rate boolDesktop quality (22 kHz) sound output if set.304 * high_sample_rate bool Desktop quality (22 kHz) sound output if set. 305 305 11 kHz otherwise. The default is 11 kHz. 306 306 If you have a fast device, you can set this to 307 307 true to enjoy better sound effects and music. 308 * FM_high_quality boolDesktop quality FM synthesis if set. Lower308 * FM_high_quality bool Desktop quality FM synthesis if set. Lower 309 309 quality otherwise. The default is low quality. 310 310 You can change this if you have a fast device. 311 * sound_thread_priority intSet the priority of the sound thread (0, 1, 2).311 * sound_thread_priority int Set the priority of the sound thread (0, 1, 2). 312 312 Depending on the release, this is set to 1 313 313 internally (above normal). If you get sound 314 314 stuttering try setting this to a higher value. 315 315 Set to 0 if your device is fast enough or if 316 316 you prefer better audio/video synchronization. 317 * Smush_force_redraw intForce a Smush frame redraw every X missed317 * Smush_force_redraw int Force a Smush frame redraw every X missed 318 318 frames. Mainly used for Full Throttle action 319 319 sequences. Setting it lower gives more 320 320 priority to screen redraws. Setting it higher 321 321 gives more priority to stylus/keyboard input. 322 322 The default is 30. 323 * no_doubletap_rightclick int Turn off the default behaviour of simulating a 324 right-click when the screen is double-tapped. 323 325 326 324 327 Game specific sections (f.e. [monkey2]) - game options 325 328 326 329 * landscape int 0: Portrait, 1: Landscape, 2: Inverse Landscape