Ticket #8777: no_doubletap.patch

File no_doubletap.patch, 3.1 KB (added by spookypeanut, 17 years ago)

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

  • backends/platform/wince/wince-sdl.cpp

     
    23122312                                        if (_closeClick && (GetTickCount() - _tapTime < 1000)) {
    23132313                                                if (event.mouse.y <= 20 && _panelInitialized) {         // top of screen (show panel)
    23142314                                                        swap_panel_visibility();
    2315                                                 } else {                // right click
     2315                                                } else if (!(ConfMan.hasKey("no_doubletap_rightclick") && ConfMan.getBool("no_doubletap_rightclick"))){         // right click
    23162316                                                        event.type = Common::EVENT_RBUTTONDOWN;
    23172317                                                        _rbutton = true;
    23182318                                                }
  • backends/platform/wince/README-WinCE.txt

     
    301301
    302302Game specific sections (f.e. [monkey2]) - performance options
    303303
    304  *  high_sample_rate       bool     Desktop quality (22 kHz) sound output if set.
     304 *  high_sample_rate         bool   Desktop quality (22 kHz) sound output if set.
    305305                                    11 kHz otherwise.  The default is 11 kHz.
    306306                                    If you have a fast device, you can set this to
    307307                                    true to enjoy better sound effects and music.
    308  *  FM_high_quality        bool     Desktop quality FM synthesis if set. Lower
     308 *  FM_high_quality          bool   Desktop quality FM synthesis if set. Lower
    309309                                    quality otherwise. The default is low quality.
    310310                                    You can change this if you have a fast device.
    311  *  sound_thread_priority  int      Set the priority of the sound thread (0, 1, 2).
     311 *  sound_thread_priority    int    Set the priority of the sound thread (0, 1, 2).
    312312                                    Depending on the release, this is set to 1
    313313                                    internally (above normal). If you get sound
    314314                                    stuttering try setting this to a higher value.
    315315                                    Set to 0 if your device is fast enough or if
    316316                                    you prefer better audio/video synchronization.
    317  *  Smush_force_redraw     int      Force a Smush frame redraw every X missed
     317 *  Smush_force_redraw       int    Force a Smush frame redraw every X missed
    318318                                    frames. Mainly used for Full Throttle action
    319319                                    sequences. Setting it lower gives more
    320320                                    priority to screen redraws. Setting it higher
    321321                                    gives more priority to stylus/keyboard input.
    322322                                    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.
    323325
     326
    324327Game specific sections (f.e. [monkey2]) - game options
    325328
    326329 *  landscape              int      0: Portrait, 1: Landscape, 2: Inverse Landscape