Commit Graph
101 Commits
Author SHA1 Message Date
Cameron Cawley 885b8e9efe BACKENDS: Mark resetQuit and getKeymapper as override 2018-08-15 20:25:06 +02:00
Eugene Sandulenko d6b5e3f611 BAKCENDS: Mark methods as override 2018-03-28 11:58:35 +02:00
Bastien Bouclet 6eb9a48bbd EVENTS: Delay initializing the virtual keyboard
The virtual keyboard requires the backend to be fully initialized
because it needs the display size.

Fixes #10338.
2017-11-28 05:49:45 +01:00
Bastien Bouclet bc5ac6440c EVENTS: Fix one ms error in repeat event generation time check 2017-11-19 20:07:51 +01:00
Bastien Bouclet 7d811d356e EVENTS: Allow disabling repeat event generation 2017-11-19 16:12:50 +01:00
Bastien Bouclet 7539a77eeb EVENTS: Move key repeat handling to its own method 2017-11-19 16:12:50 +01:00
Bastien Bouclet 8beb519c5e EVENTS: Rename synthetic to kbdRepeat 2017-11-19 16:12:50 +01:00
Colin Snover d1b77d4b68 BACKENDS: Fix missing mouse events when system cursor cannot be moved
Normally with SDL, a mouse motion event will be sent after the
system mouse cursor has been moved by a call to
SDL_WarpMouseInWindow, but if the system cursor cannot be moved
(e.g. because the window does not have mouse focus), games still
need to receive these mouse events so they can successfully update
the mouse position internally. Otherwise, games continue to think
the mouse is still in the original position and will continue to
try to perform whatever action is associated with that mouse
position.

Refs Trac#9689.
2017-10-15 13:24:21 -05:00
Johannes Schickel 121687d2ed BACKENDS: Make GPL headers consistent in themselves. 2014-02-18 02:39:32 +01: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
Tarek Soliman 3f6d549b0e KEYMAPPER: Move F7 and F8 handling to DefaultEventMapper 2012-02-20 06:49:22 -06:00
Tarek Soliman cfe91c8d44 KEYMAPPER: Move CTRL-F5 handling to DefaultEventMapper 2012-02-20 06:49:22 -06:00
Tarek Soliman 5c3e48fddf KEYMAPPER: Create a DefaultEventMapper when Keymapper isn't enabled
This allows migration to unconditional mapping
2012-02-20 06:49:22 -06:00
Tarek Soliman 85c8c84804 KEYMAPPER: Add more warning signs 2012-02-15 17:22:41 -06:00
Thierry Crozat 06bbb57ad7 I18N: Make many more GUI MessageDialog strings translatable 2011-06-13 22:19:18 +01:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Ori Avtalion cd6ee0589d JANITORIAL: Format forward declarations to follow convention 2011-04-28 12:20:34 +03:00
Max Horn df05ed1a46 BACKENDS: Include scummsys.h at top of all .cpp files, *before* any #ifdefs
svn-id: r54573
2010-11-29 16:18:43 +00:00
Willem Jan Palenstijn 7f2dfd0f82 EVENTS: Apply backspace hack to keyrepeat too
svn-id: r52993
2010-10-03 14:59:36 +00:00
Max Horn 0b48a71c99 Remove PalmOS port
svn-id: r50964
2010-07-17 18:41:38 +00:00
Yotam Barnoy ef330ed9b4 Patch for bug 2943361 by littleboy, adding full kb modifier support to all engines + GUI and proper keypad handling
svn-id: r48101
2010-02-21 04:04:13 +00:00
Fabio Battaglia ecff81544c remove unneeded workaround for #47233
svn-id: r47234
2010-01-10 18:11:36 +00:00
Fabio Battaglia 8703b6929f Mark the 'fix' in r47231 as a workaround for a probably deeper problem.
svn-id: r47232
2010-01-10 17:58:44 +00:00
Fabio Battaglia 09a2694f6f Check if game engine is already paused before pausing it again to show virtual keyboard. Fixes #2912148
svn-id: r47231
2010-01-10 17:49:05 +00:00
Max Horn 2ed53f98b4 Clarified the backspace key workaround: This is not a Mac OS X issue (as the comment used to imply) but rather an issue in some game engines.
svn-id: r43880
2009-09-01 13:02:24 +00:00
Matthew Hoops ce30a513ac Introduce a better fix for the Mac OS X backspace problem by adding the workaround to default-events.cpp.
svn-id: r43441
2009-08-16 14:04:54 +00:00
Johannes Schickel 7e71865e91 Move the event recorder to its own class (EventRecoder inside common/EventRecorder.[h/cpp]).
svn-id: r42751
2009-07-25 12:59:46 +00:00
Johannes Schickel bbc8021182 Add enum which marks global priorites of the EventManager event dispatcher.
svn-id: r42729
2009-07-25 01:01:41 +00:00
Johannes Schickel 901f2d5836 - EventDispatcher is no longer a singleton.
- Add "getEventDispatcher" method to EventManager.

svn-id: r42728
2009-07-25 01:01:22 +00:00
Johannes Schickel ef71667403 - Adapt DefaultEventManager to use Common::ArtificialEventSource
- Adapt Keymapper to implement EventMapper interface

svn-id: r42727
2009-07-25 01:01:05 +00:00
Johannes Schickel 141ded3063 Change DefaultEventManager to use EventDispatcher.
svn-id: r42725
2009-07-25 01:00:37 +00:00
Johannes Schickel dafd5d509b Made DefaultEventManager a subclass of EventObserver.
svn-id: r42723
2009-07-25 01:00:12 +00:00
Johannes Schickel 60e7faf9b6 Replaced "_artificialEventQueue" by an EventSource.
svn-id: r42722
2009-07-25 00:59:53 +00:00
Johannes Schickel 7905bbbc5b Got rid of EventManger::artificialEventQueue.
svn-id: r42719
2009-07-25 00:59:18 +00:00
Johannes Schickel ba7e01ad7c Replace "EventProvider" class of the DefaultEventManager implementation with "Common::EventSource".
svn-id: r42718
2009-07-25 00:59:03 +00:00
Max Lingua 17b1c6d0ae I am re-commiting the FORCE_RTL as a temporary solution
in trunk, so that trunk/1.0rc is au pair feature-wise
with 0.13.x.

svn-id: r42403
2009-07-12 05:35:56 +00:00
John Willis e78edd8ef6 Virtual Keyboard: Move vkeybd.zip into packs folder and rename default keyboard pack to vkeybd_default(.zip) with updates to default-events.cpp. Also update vkeybdpack.py to use zlib compression if Python zlib is found. Update GP2X and GP2XWiz bundle files to get new vkeybd_default.zip.
svn-id: r41373
2009-06-08 14:47:38 +00:00
Eugene Sandulenko c295f524b2 Implement feature request #1180217: "GUI: Mute option"
svn-id: r41233
2009-06-06 17:36:06 +00:00
Max Horn fb79b18571 Changed SaveFileManager methods to take Common::String params (instead of char pointers)
svn-id: r41000
2009-05-29 14:38:22 +00:00
Johannes Schickel b3c6751b9b Strip trailing whitespaces in the whole code base.
svn-id: r40867
2009-05-24 15:17:42 +00:00
Eugene Sandulenko b874992309 Attempt to bring event recoredr to life. Still crashes on exit, though.
svn-id: r40775
2009-05-21 22:23:04 +00:00
Travis Howell 990eee73f1 Use Ctrl F5 for global main menu, since any single key would conflict with some games.
svn-id: r36240
2009-02-07 07:05:08 +00:00
Max Horn 9861da62f0 cleanup
svn-id: r36138
2009-01-30 04:41:57 +00:00
Max Horn c69ebfd798 Moved default implementations for various OSystem methods into a new class BaseBackend
svn-id: r36135
2009-01-30 03:35:47 +00:00
Eugene Sandulenko 83972e2001 Merge in Virtual Keybpard & KeyMapper branch,
- Merge is perfromed in order to not let rotting the code
- Makefile modifications were avoided

Stuff to resolve:
- Circular dependency of common/vkeybd from graphics/
- Make it compilable (?)
- Add some keyboards
- Decide on the key bindings

svn-id: r35813
2009-01-11 00:20:27 +00:00
Max Horn 063cff91d5 Prevent the 'Confirm exit' dialog from being invoked recursively
svn-id: r35660
2009-01-02 01:21:38 +00:00
Eugene Sandulenko 696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +00:00
Max Horn df20d264fd Pushing down some header deps (on common/system.h, mostly)
svn-id: r35542
2008-12-25 20:40:00 +00:00