diff options
Diffstat (limited to 'backends/PalmOS/Src/base_mouse.cpp')
-rw-r--r-- | backends/PalmOS/Src/base_mouse.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/backends/PalmOS/Src/base_mouse.cpp b/backends/PalmOS/Src/base_mouse.cpp index 8fa0802585..1fb00e1551 100644 --- a/backends/PalmOS/Src/base_mouse.cpp +++ b/backends/PalmOS/Src/base_mouse.cpp @@ -52,14 +52,10 @@ void OSystem_PalmBase::simulate_mouse(Event &event, Int8 iHoriz, Int8 iVert, Coo Int16 y = _mouseCurState.y; Int16 slow; - if (_lastKey != kKeyNone) { - _lastKeyRepeat++; + _lastKeyRepeat++; - if (_lastKeyRepeat > 16) - _lastKeyRepeat = 16; - } - else - _lastKeyRepeat = 0; + if (_lastKeyRepeat > 32) + _lastKeyRepeat = 32; slow = (iHoriz && iVert) ? 2 : 1; |