Bastien Bouclet
14663c4790
KEYMAPPER: Make the keymapper mandatory
2020-01-29 08:51:29 +01:00
Bastien Bouclet
cc336635a1
KEYMAPPER: Change custom backend action events not to be instant
...
Allows action consumers to choose if they want to react on the start or
on the end of an user interaction.
2020-01-29 08:51:29 +01:00
Bastien Bouclet
511d138bbc
KEYMAPPER: Move the remap dialog to an option dialog tab
...
The aim is to make it easy to discover, and possible to use without a
keyboard.
2020-01-26 23:09:08 +02:00
Bastien Bouclet
8dd2b7ca39
EVENTS: Expose the primary global keymap builder
2020-01-26 23:09:08 +02:00
Cameron Cawley
9fc24522d7
BACKENDS: Add more keycodes
2020-01-21 03:28:22 +02:00
Bastien Bouclet
feaf9dc365
ALL: Sync with ScummVM rev. 55dba55056
2019-12-08 17:06:42 +01:00
Cameron Cawley
d84ce7e4d5
OPENPANDORA: Fix compilation failures
2019-11-30 23:04:35 +00:00
Cameron Cawley
00fecbb6e6
GPH/OPENPANDORA: Move ToggleTapMode() into the event manager
2019-11-30 20:50:27 +00:00
Cameron Cawley
54e6cf4cda
GPH/OPENPANDORA: Remove global variable BUTTON_STATE_L
2019-11-30 20:50:27 +00:00
Cameron Cawley
f2b9f7bb76
BACKENDS: Remove the Windows CE port
2019-11-17 22:33:56 +01:00
D G Turner
690370554f
SDL: Fix Missing Default Switch Cases in Events Class
...
These are flagged by GCC if -Wswitch-default is enabled.
2019-10-16 23:24:05 +01:00
D G Turner
7b247bad4c
SWITCH: Remove Set But Unused Variables from Events Code
...
These were causing compiler warnings for the porter.
2019-10-05 01:49:21 +01:00
Cameron Cawley
7bf22fa996
BACKENDS: Add EVENT_CLIPBOARD_UPDATE event
2019-09-21 22:16:01 +03:00
rsn8887
afd360703e
VITA: Use activeArea rectangle also on Vita
2019-08-13 20:54:59 -05:00
Bastien Bouclet
accb1df2c7
SDL: Fix mouse cursor wrapping on hi-res screens
...
Fixes #1562 .
2019-07-13 10:05:15 +02:00
Cameron Cawley
6e690c5a8b
MAEMO: Minor cleanup
2019-07-08 11:11:45 -05:00
Cameron Cawley
52e7ba5e54
SDL: Support joystick hat input
2019-07-08 01:24:55 +03:00
Cameron Cawley
30109816fe
SDL: Initial implementation of joystick events
2019-07-08 01:24:55 +03:00
Bastien Bouclet
d474e3f94f
ALL: Sync with ScummVM - rev. ea3f8f2e33
2019-06-29 19:08:44 +02:00
Bastien Bouclet
0a8049e30c
SDL: Fix gamepad mouse cursor wrapping on hi-res screens
...
The cursor position was overflowing a signed 16-bits integer once
multiplied with MULTIPLIER when using a resolution such as 2560x1440.
It would be nice changing this code to make more sense, sadly it is
thightly coupled with platform specific subclasses.
Fixes #10996 .
2019-06-27 20:12:52 +02:00
rsn8887
536521d356
SWITCH: Enable touchpad mouse mode option in controls
2019-06-13 15:38:10 -05:00
Bastien Bouclet
4c9a5cd1d6
SDL: Fix compiler warning
2019-06-02 20:10:46 +02:00
Le Philousophe
dc0bfbc724
COMMON: Fix button state desynchronization when warping mouse
2019-05-22 00:14:56 +02:00
Cpasjuste
488bbb267a
SWITCH: add nintendo switch support
2019-05-12 11:59:44 +03:00
Cameron Cawley
fb0b63ba66
RISCOS: Add Drag and Drop support
2019-04-30 22:17:04 +01:00
Cameron Cawley
d7b2b1b8f9
GUI: Support adding games via Drag and Drop
2019-04-30 22:17:04 +01:00
Cameron Cawley
bcef809e61
WINCE: Fix compilation
2019-04-15 08:06:39 +03:00
Hubert Maier
ce8227323b
AmigaOS4: Exclude platform from a SDL1/2 keyboard fix that breaks numpad usage ( #1551 )
...
SDL1/2: Exclude AmigaOS4 from returning 0 for .ascii
*reset .ascii to 0, when Num-Lock is NOT enabled and keypad directional keys are pressed* (original description) is causing the numpad to play dead completely on AmigaOS4 (no matter if numlock is active or not). This is a workaround for the SCUMM engine, where keycodes are mixed with ASCII codes.
Check commit f5ed14e93d
for reference.
Fixes bug #10558 . Tested with both SDL1 and 2 on AmigaOS4 and with both Indiana Jones games.
2019-04-11 01:28:18 +03:00
Laurent Merckx
fc16b30bbf
SDL/GRIM: Improve game controller support
...
- Use back button to open virtual keyboard (managed by resvm-sdl-events)
- Map controller buttons to corresponding actions (in grim engine)
- Solve bug on RPI with Myst3 (view stuck on top when using joystick)
2019-02-24 07:46:09 +01:00
Bastien Bouclet
66654cb376
ALL: Sync with ScummVM - rev. cd37d510f9
2019-01-26 20:47:55 +01:00
Cameron Cawley
79a4e3f813
BACKENDS: Remove references to the GP32 backend
2018-11-04 21:38:45 +00:00
Cameron Cawley
885b8e9efe
BACKENDS: Mark resetQuit and getKeymapper as override
2018-08-15 20:25:06 +02:00
Bastien Bouclet
53759fe53a
ALL: Sync with ScummVM - rev. 2586ca2345
2018-07-31 21:09:37 +02:00
rsn8887
eb49ef0626
PSP2: Improve pointer response to slow finger motion
2018-07-15 03:30:42 -05:00
LMerckx
f0dfc19f29
SDL: Allow to load a custom game controller mapping file
...
And add a specific joystick button to open virtual keyboard
2018-04-04 20:40:16 +02:00
Eugene Sandulenko
d6b5e3f611
BAKCENDS: Mark methods as override
2018-03-28 11:58:35 +02:00
rsn8887
880081aa2c
PSP2: make touch mouse clicks longer so all games receive them
...
Some games such as Gobliins or Dreamweb did not react to the
simulated touch mouse clicks because the clicks were too short.
This change ensures all games see the simulated clicks by
giving each click a minimum duration of 50 ms instead of being
as fast as possible.
2018-03-28 00:13:32 -05:00
rsn8887
ece8dedcf4
PSP2: prevent accidental clicks when moving pointer using touch
2018-03-23 18:11:13 -05:00
rsn8887
9af2b5ca3a
PSP2: fix touch sometimes not directly under finger
2018-03-20 03:14:11 -05:00
Bastien Bouclet
2e875a768d
SDL: Split joystick mouse event generation into two functions
...
That way it is easier to implement relative mouse movement in
ResidualVM.
2018-03-18 13:09:00 +01:00
Laurent Merckx
7731737623
SDL: Improve joystick usage
...
- configuration of engines natively supporting joystick or not
- for engines not supporting joystick input (Myst3, TLJ), reuse the ScummVM code to emulate mouse from joystick.
A modification was also needed to support relative movements (needed in Myst3 to support camera movements)
2018-03-18 13:06:48 +01:00
Bastien Bouclet
1b3592b60e
SDL: Split joystick mouse event generation into two functions
...
That way it is easier to implement relative mouse movement in
ResidualVM.
2018-03-18 13:06:23 +01:00
Bastien Bouclet
4914eb0002
SDL: Add game controller API support
2018-03-18 08:25:34 +01:00
Bastien Bouclet
455a409cab
ALL: Sync with ScummVM - rev. b272701834
2018-03-17 16:25:28 +01:00
rsn8887
bfef3da347
PSP2: Implement three-finger drag as right-mouse button drag
2018-02-13 13:32:04 -06: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