6508 Commits

Author SHA1 Message Date
rsn8887
bfef3da347 PSP2: Implement three-finger drag as right-mouse button drag 2018-02-13 13:32:04 -06:00
Colin Snover
f3f5088824 SDL: Do not try to replace FILE with an incompatible type
It’s questionable that the SDL backend code is trying so hard to
maintain forbidden symbols at all since backend code is exactly
where such things are allowed, and it is a game of whack-a-mole
to keep system API changes from breaking this fragile system of
symbol redefinitions. Probably this should all just get replaced
with a FORBIDDEN_SYMBOL_ALLOW_ALL, but for the time being this at
least gets builds working again on up-to-date msys2/mingw-w64
compilers.

Fixes Trac#10405.
2018-02-09 14:26:42 +01:00
rsn8887
86b1e74b28 PSP2: allow 'frontpanel_touchpad_mode=true' option in ScummVM.ini
Can change option to 'true' manually in scummvm.ini to force front
panel into indirect touchpad mode where the pointer doesn't jump
to finger.
2018-02-08 00:19:41 -06:00
rsn8887
d80ddcc246 PSP2: Prevent jumping touch cursor on right click 2018-01-28 19:49:16 -06:00
rsn8887
195d1f5dee PSP2: Add 2-finger drag-and-drop touch motion 2018-01-28 18:29:17 -06:00
rsn8887
68274d1cc6 PSP2: Improve direct touch accuracy 2018-01-27 19:02:59 -06:00
Bastien Bouclet
1b0ffaf311
Merge pull request #1111 from bgK/gamepad-scale-mouse-speed-with-resolution
SDL: Scale the joystick mouse speed with the vertical window size
2018-01-27 18:20:47 +01:00
Bastien Bouclet
5878c618c9 GUI: Remove Dialog::markAsDirty to expose full GUI redraws 2018-01-27 18:12:34 +01:00
Bastien Bouclet
0496ede62f GUI: Implement dirty-checking for widget redraws 2018-01-27 18:12:34 +01:00
Cameron Cawley
f7b467275a RISCOS: Fix compilation of null backend 2018-01-26 13:18:18 +00:00
Cameron Cawley
8f8eb81b1b RISCOS: Don't list RISC OS as a POSIX platform 2018-01-26 13:18:18 +00:00
lubomyr
210ad851b7 ANDROIDSDL: set version name to 2.1.0git, renamed asset appdata file 2018-01-26 13:51:38 +01:00
rsn8887
3cc12c3da2 PSP2: Always use direct touch on front touch panel 2018-01-25 11:57:31 -06:00
rsn8887
e214493f87 PSP2: Set Touchpad Mouse Mode option default to off 2018-01-24 20:09:45 -06:00
rsn8887
5de0a8b3a0 PSP2: Enable rear touch only when Touchpad Mouse Mode is on 2018-01-24 20:06:46 -06:00
rsn8887
690d39cc29 PSP2: Increase direct touch accuracy 2018-01-24 19:06:22 -06:00
rsn8887
5551241c51 PSP2: More settings for touch (direct touch on/off, pointer speed) 2018-01-24 04:16:49 -06:00
rsn8887
5189dbb7ba PSP2: Implement touch controls (front and back panel) 2018-01-23 07:27:11 -06:00
rsn8887
3978a82650 SURFACESDL: Remove erroneous override declarations 2018-01-17 19:06:12 -06:00
rsn8887
6f2a8bdbca PSP2: remove code duplication in psp2 graphicsmanager 2018-01-17 18:52:48 -06:00
Fiodar Stryzhniou
5f64d817b8 SYMBIAN: Set install version to 2.0.0 2018-01-14 06:49:54 +00:00
Fiodar Stryzhniou
c0c186d001 SYMBIAN: Add missed brace 2018-01-14 06:49:54 +00:00
Fiodar Stryzhniou
dc1d9e2d65 SYMBIAN: Hide warnings from system headers 2018-01-14 06:49:54 +00:00
Bastien Bouclet
45f1fd0e8e
Merge pull request #1097 from bgK/vkeybd-data-path
VKEYBD: Fallback to SearchMan when loading keyboard packs
2018-01-13 17:22:17 +01:00
Bastien Bouclet
49a48cedea SDL: Scale the joystick mouse speed with the vertical window size
The mouse cursor now moves across the screen in a similar amount of time
irrespective of the display resolution.
2018-01-13 10:29:10 +01:00
Tarek Soliman
f285e384da GRAPHICS: Fix rounding error when using non-integral scaling
When a non-integral scaling was being used, x and/or y cursor position would be
one less than what it should be.

Fixes Trac#10401

Thanks snover!
2018-01-12 22:43:00 -06:00
rsn8887
e78984147d PSP: fix bit shifts of cursor x/y, fix too-slow cursor 2018-01-05 15:51:39 -06:00
rsn8887
b2cf5a30bf PSP: adjust cursor refresh to better match speed it had before it became smooth 2018-01-04 23:29:51 -06:00
rsn8887
4e4a5892c8 PSP: support mouse speed/joy deadzone options and smooth cursor motion 2018-01-04 06:07:34 -06:00
rsn8887
231407206d PSP: Use aspect correction checkbox instead of extra graphics modes 2018-01-03 14:14:36 -06:00
Bastien Bouclet
bb5e8d3a11
Merge pull request #1090 from bgK/remove-zaurus-yopy
PORTS: Remove the Zaurus and Yopy ports
2018-01-03 06:40:49 +01:00
Eugene Sandulenko
d6078ea406 ALL: Bump copyright year. 2018! 2018-01-01 00:09:56 +01:00
D G Turner
a3d2c52687 PSP: Fix bug #10239: PSP port incorrect 4:3 aspect ratio
This is based on a patch supplied by dam-soft. A new graphics mode is
added to the PSP port. The graphics mode is called '4:3 Aspect Ratio'
and fixes the incorrect AR. The older modes are also still present and
behave as before.
2017-12-29 01:21:40 -06:00
Bastien Bouclet
3b8ffa0812 BACKENDS: Remove vkeybdpath override from some ports
DATA_PATH is now search when loading virtual keyboard files, the
overrides are no longer required.
2017-12-28 21:27:37 +01:00
Bastien Bouclet
8fe7d520be VKEYBD: Fallback to SearchMan when loading keyboard packs 2017-12-28 21:24:57 +01:00
Bastien Bouclet
1fa80ea3a3 SDL: Add debug traces for joystick hotplug 2017-12-27 07:30:53 +01:00
Bastien Bouclet
6437ca1ede PS3: Stop using SDL mouse focus events to detect the XMB
Mouse focus events are also sent by SDL when the mouse is warped outside
of the window area. App suspended / resumed are now used. These are only
sent by SDL when opening / closing the XMB on the PS3.

Fixes #10340.
2017-12-26 21:29:30 +01:00
rsn8887
dafadbc8c7 PSP2: Add controller config, remove joystick event handling 2017-12-26 21:11:05 +01:00
Bastien Bouclet
1522fc8e2f SDL: Add support for joystick hotplug
Fixes #10366.
2017-12-26 21:11:05 +01:00
Bastien Bouclet
a86eae6323 SDL: Only enable joystick related features when joysticks are enabled
Fixes #9714.
2017-12-26 21:11:05 +01:00
Bastien Bouclet
5838894f24 PSP2: Remove identical to base class joystick axis event handling 2017-12-26 21:11:04 +01:00
Bastien Bouclet
ee4ff8ca08 SDL: Cleanup joystick deadzone handling 2017-12-26 21:11:04 +01:00
Bastien Bouclet
1fb748e974 SDL: Move the non analog joystick code to the Symbian port
Symbian was the only user of that code.
2017-12-26 21:11:04 +01:00
Bastien Bouclet
6fb50d562f PS3: Remove gamepad button mapping
SDL_PSL1GHT now supports the GameController API. ScummVM's default
mapping is now used.
2017-12-26 21:11:04 +01:00
Bastien Bouclet
ac78058fcd SDL: Initial support for game controllers
The button mapping is that of the Vita port

Co-Authored-By: rsn8887 <rsn8887@users.noreply.github.com>
2017-12-26 21:11:04 +01:00
Bastien Bouclet
60a1100beb PORTS: Remove the Zaurus port
There was never an official release. The last unofficial release of ScummVM was 0.6.0.
Production ceased in 2007.
2017-12-19 07:42:22 +01:00
Bastien Bouclet
ca469f728b PORTS: Remove the Yopy PDA port
No official release was ever done for that platform. Production ceased
in 2005.
2017-12-19 07:37:08 +01:00
Thierry Crozat
4f1025378f BUILD: Check if posix_spawn is available in configure 2017-12-15 01:08:14 +00:00
Thierry Crozat
2926cd4a50 POSIX: Fix compilation with some old macOS SDKs 2017-12-14 23:37:20 +00:00
Colin Snover
008149e357 POSIX: Do not hang ScummVM when opening a browser
If the call used to open the browser does not return until the
browser is closed, this would previously cause ScummVM to hang.
Since we are using waitpid now, we can avoid hanging by telling
waitpid to not block on a child which has not exited.
2017-12-14 14:30:16 -06:00