Commit Graph
313 Commits
Author SHA1 Message Date
Eugene Sandulenko 8458e3deb7 Merge pull request #905 from lubomyr/master
ANDROIDSDL: added tab Control in main Options menu for switching some features
2017-02-21 23:29:51 +01:00
rsn8887 86c6c7c903 SDL: increase resolution of slow analog pointer motion 2017-02-18 19:22:04 -06:00
rsn8887 c0b095d793 SDL: Cleanup, replaced _km.multiplier with #define 2017-02-18 18:20:10 -06:00
rsn8887 75004c429c SDL: improved internal joystick event handling 2017-02-18 12:00:22 -06:00
rsn8887 09a6029781 SDL: slow analog ('modifier'+stick) made slower 2017-02-18 11:59:16 -06:00
lubomyr 75a08488f9 ANDROIDSDL: code refactoring and optimization 2017-02-18 17:58:47 +02:00
rsn8887 613c6f4f7f SDL: More fixes to jerky analog joystick pointer
For some engines such as Dreamweb that a previous fix did not apply
to, this fixes bug 6996: Android: Mouse pointer control with
analog joystick is unusable
2017-02-17 17:55:09 -06:00
rsn8887 fb50d5934d SDL: Fix jerky/laggy analog joystick mouse control
This fixes bug 6996: Android: Mouse pointer control with
analog joystick is unusable
2017-02-14 23:05:34 +00:00
lubomyr 2d7803c22f ANDROIDSDL: code optimization 2017-02-01 14:34:32 +02:00
Eugene Sandulenko 641012a141 Merge pull request #777 from m-kiewitz/master
SDL: Fix keyboard on macOS, when using SDL2, fix directional keypad
2016-11-08 00:57:14 +01:00
lubomyr a0c2fca8e4 ANDROIDSDL: back button re-mapped to F13 keycode. F13 keycode assigned to call scummvm in-game menu. CONTROL key now can be uses with games 2016-10-23 14:00:25 +03:00
Ori Avtalion fc85eb461d SDL: Fix typo in function name 2016-10-18 19:24:51 +03:00
Eugene Sandulenko 355c4fa646 JANITORIAL: Remove more trailing spaces 2016-10-09 15:02:02 +02:00
lubomyr a7ec02d887 ANDROIDSDL: fixed switching to capital letter 2016-09-21 14:09:00 +03:00
lubomyr 6ffc90412c SDL: mapKey changed as virtual function 2016-09-20 19:48:14 +03:00
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 f5ed14e93d 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 20:36:27 +02:00
Martin Kiewitz 29c31f8308 Revert "SDL: Fix keyboard on macOS, fix directional keypad"
This reverts commit 9aa7174218.

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 #657 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 8530997fff.
2016-02-01 02:23:55 +01:00
Johannes Schickel 94cd15bb3e SDL: Do not quit on Alt-x.
This was originally added in cbd867329e 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