247 Commits

Author SHA1 Message Date
Eugene Sandulenko
f9f55d1af3 ANDROIDSDL: Fix menu button 2016-08-29 19:37:25 +02:00
Bastien Bouclet
a6efdf6422 SDL: Disable keycode remapping when building for WinCE
WinCE does not have MapVirtualKey.
2016-07-25 23:09:32 +02:00
Bastien Bouclet
914996b5a6 SDL: Fix Windows SDL1 keycodes to use the active keyboard layout 2016-07-25 13:10:51 +02:00
Martin Kiewitz
29c31f8308 Revert "SDL: Fix keyboard on macOS, fix directional keypad"
This reverts commit 9aa7174218983bb1cf6fd98325082ca7d37f50fb.

For now.
2016-07-03 19:43:56 +02:00
Martin Kiewitz
9aa7174218 SDL: Fix keyboard on macOS, when using SDL2, fix directional keypad
This will hopefully fully fix keyboard issues for macOS / SDL2,
for example when pressing "alt-x".

Also reset .ascii to 0, when Num-Lock is NOT enabled and keypad
directional keys are pressed. This was fixed inside AGI+SCI
previously.

The latter shouldn't cause issues, but in case it does, the
affected engine should get fixed and use keycodes instead.
2016-07-03 19:08:24 +02:00
Johannes Schickel
c925e5b35c SDL: Make TEXTINPUT handling more reliable for SDL2.
This reduces the likelihood of entering two characters per keypress in our guy
on Windows. In fact, during my brief testing with the filter widget in the
launcher I was not able to trigger the former behavior at all anymore.
2016-05-22 13:09:24 +02:00
lubomyr
961976f17e ANDROIDSDL: add androidsdl backend 2016-05-19 20:33:27 +02:00
Eugene Sandulenko
4411155869 GCW0: Trigger keyboard only on button down, not on up, otherwise it required holding 2016-02-24 23:31:37 +01:00
Eugene Sandulenko
39991ad4a5 GCW0: Fix virtual keyboard 2016-02-14 23:06:11 +01:00
Eugene Sandulenko
68ff933206 Merge pull request from lordhoto/scumm-alt-x
ALL: Handle Alt-x internally in SCUMM.
2016-02-01 10:35:13 +01:00
Johannes Schickel
24c6d50301 SDL: Don't mix our key code with SDL's.
This case for F# keys was forgotten to update in 8530997fff7b5b9d558f7dd6a0d07c236e4de16f.
2016-02-01 02:23:55 +01:00
Johannes Schickel
94cd15bb3e SDL: Do not quit on Alt-x.
This was originally added in cbd867329e018d7eca12b3a8842e52b8db9f494d to
support this LucasArts game hotkey. However, Alt-x is used by other
engines as hotkey. Most notably AGI's Leisure Suit Larry in the Land of the
Lounge Lizards uses it to skip the age protection. Since we handle Alt-x
internally in SCUMM now there is no need to keep this around in our backend
code.
2016-01-29 23:19:08 +01:00
Bastien Bouclet
b9a1074999 PS3: Make use of an updated SDL2 version
This version, available at https://bitbucket.org/bgK/sdl_psl1ght, is based on SDL 2.0.3.
2015-12-15 20:10:19 +01:00
Johannes Schickel
86db21467e SDL: Slight formatting fixes. 2015-12-13 23:53:27 +01:00
Johannes Schickel
c4317a8da1 SDL: Fake key events for unassociated TEXTINPUT events. 2015-03-05 20:08:35 +01:00
Johannes Schickel
26fb7b2c8f SDL: Remove TEXTINPUT events we associate with KEYDOWN. 2015-03-05 20:08:34 +01:00
Johannes Schickel
627d766325 SDL: Add basic abstraction class for the SDL window. 2015-02-16 01:03:29 +01:00
Johannes Schickel
8530997fff SDL: Add experimental support for SDL2.
This is based upon skristiansson's change set to make ScummVM work with SDL2.
2015-01-25 20:23:25 +01:00
Johannes Schickel
3a2db0135d SDL: Refactor WM specific functionality into SdlGraphicsManager. 2015-01-25 18:57:38 +01:00
Joel Teichroeb
ee9b60676a SDL: Warn if the selected joystick does not exist 2015-01-04 09:39:55 -08:00
Eugene Sandulenko
238b3e1ac2 GCW0: Hardcoded (for now) GCW0 controls 2014-10-27 00:03:32 +01:00
D G Turner
aafc17ed1e SAMSUNGTV: Use virtual keyboard event directly, rather than using keycode.
As the virtual keyboard trigger has been moved to CTRL-F7, the previous
code which generates a unmodified F7 event to do this will not work.

Rather than just adding the CTRL modifier, this code changes the
backend to directly generate the virtual keyboard trigger event
directly. This avoids any future breakage if the key combination is
changed again.
2014-04-29 00:27:56 +01:00
D G Turner
dd92fa45b4 PS3: Use virtual keyboard event directly, rather than using keycode.
As the virtual keyboard trigger has been moved to CTRL-F7, the previous
code which generates a unmodified F7 event to do this will not work.

Rather than just adding the CTRL modifier, this code changes the
backend to directly generate the virtual keyboard trigger event
directly. This avoids any future breakage if the key combination is
changed again.
2014-04-29 00:26:35 +01:00
D G Turner
1544feb02c MAEMO: Use virtual keyboard event directly, rather than using keycode.
As the virtual keyboard trigger has been moved to CTRL-F7, the previous
code which generates a unmodified F7 event to do this will not work.

Rather than just adding the CTRL modifier, this code changes the
backend to directly generate the virtual keyboard trigger event
directly. This avoids any future breakage if the key combination is
changed again.
2014-04-29 00:24:47 +01:00
D G Turner
4ebbdaa59b LINUXMOTO: Use virtual keyboard event directly, rather than using keycode.
As the virtual keyboard trigger has been moved to CTRL-F7, the previous
code which generates a unmodified F7 event to do this will not work.

Rather than just adding the CTRL modifier, this code changes the
backend to directly generate the virtual keyboard trigger event
directly. This avoids any future breakage if the key combination is
changed again.
2014-04-29 00:22:54 +01:00
D G Turner
3ae0908967 GPH: Use virtual keyboard event directly, rather than using keycode.
As the virtual keyboard trigger has been moved to CTRL-F7, the previous
code which generates a unmodified F7 event to do this will not work.

Rather than just adding the CTRL modifier, this code changes the
backend to directly generate the virtual keyboard trigger event
directly. This avoids any future breakage if the key combination is
changed again.
2014-04-29 00:21:46 +01:00
D G Turner
dc0c7bce4c DINGUX: Use virtual keyboard event directly, rather than using keycode.
As the virtual keyboard trigger has been moved to CTRL-F7, the previous
code which generates a unmodified F7 event to do this will not work.

Rather than just adding the CTRL modifier, this code changes the
backend to directly generate the virtual keyboard trigger event
directly. This avoids any future breakage if the key combination is
changed again.
2014-04-29 00:13:49 +01:00
Johannes Schickel
224cec46a7 WINCE: Make GPL headers consistent in themselves. 2014-02-18 02:39:40 +01:00
Johannes Schickel
5c27f7b04f WEBOS: Make GPL headers consistent in themselves. 2014-02-18 02:39:40 +01:00
Johannes Schickel
1b5c324811 SYMBIAN: Make GPL headers consistent in themselves. 2014-02-18 02:39:38 +01:00
Johannes Schickel
63304ee9ec SDL: Make GPL headers consistent in themselves. 2014-02-18 02:39:38 +01:00
Johannes Schickel
a3d012357e SAMSUNGTV: Make GPL headers consistent in themselves. 2014-02-18 02:39:37 +01:00
Johannes Schickel
6909a8e29a PS3: Make GPL headers consistent in themselves. 2014-02-18 02:39:37 +01:00
Johannes Schickel
cc2f3e23a4 OPENPANDORA: Make GPL headers consistent in themselves. 2014-02-18 02:39:36 +01:00
Johannes Schickel
4f34f44fbf MAEMO: Make GPL headers consistent in themselves. 2014-02-18 02:39:36 +01:00
Johannes Schickel
872b5fdf41 LINUXMOTO: Make GPL headers consistent in themselves. 2014-02-18 02:39:36 +01:00
Johannes Schickel
96564e95b4 GPH: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
Johannes Schickel
7803ce2fa4 DINGUX: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
Johannes Schickel
121687d2ed BACKENDS: Make GPL headers consistent in themselves. 2014-02-18 02:39:32 +01:00
Johannes Schickel
ce383aca1e MAEMO: Get rid of superfluous cast. 2014-01-24 03:28:45 +01:00
Johannes Schickel
53f9c0d69b SDL: Send EVENT_SCREEN_CHANGED after receiving SDL_VIDEORESIZE when necessary.
This fixes some ugly crashes when resizing the window in OpenGL mode.
2013-10-19 22:17:42 +02:00
Eugene Sandulenko
8098ed9b46 EVENTS: Initialize class variable. CID 1002944 2013-09-22 11:47:37 +03:00
Eugene Sandulenko
f59512c47e RECORDER: Implement Events Recorder 2013-05-17 00:18:09 +03:00
Eugene Sandulenko
ce0a334d30 BACKENDS: Fix unitialized variables in event manager. CID 1002944 2013-04-21 14:51:33 +03:00
Johannes Schickel
89abab97e3 JANITORIAL: Remove trailing whitespaces.
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
Matthew Hoops
f35e820e9f Merge remote branch 'upstream/master' into pegasus 2012-09-05 11:45:25 -04:00
Bertrand Augereau
fdc29ee276 OPENPANDORA: The buildbot toolchain doesn't like the ending comma 2012-09-01 18:50:18 +02:00
Matthew Hoops
790a74ab9d Merge remote branch 'upstream/master' into pegasus 2012-08-31 21:58:58 -04:00
Bertrand Augereau
94921846eb OPENPANDORA: New touchscreen mode where the stylus hovers and the DPad left/right/up trigger left/right/middle clicks 2012-08-31 17:38:46 +02:00
Matthew Hoops
bb1e60e8b2 Merge remote branch 'upstream/master' into pegasus
Conflicts:
	AUTHORS
	devtools/credits.pl
	gui/credits.h
2012-08-26 16:12:25 -04:00