aboutsummaryrefslogtreecommitdiff
path: root/backends/events
AgeCommit message (Collapse)Author
2011-10-19Merge pull request #89 from TomFrost/masterWillem Jan Palenstijn
HP TouchPad compatibility and full WebOS port update, Round 2 This is a manual merge of the pull request, with some commit message changes.
2011-10-11MAEMO: Add initial N800 support with Fullscreen key mapped to Virtual KeyboardTarek Soliman
N800 doesn't have a CTRL key to activate the virtual keyboard with. Fullscreen can still be enabled/disabled through the GUI and was the most likely sacrifice as a hardware key.
2011-10-11MAEMO: Migrate MaemoSdlEventSource to Maemo namespaceTarek Soliman
Also add some comments to the #endifs
2011-10-10OPENPANDORA: Cleanup the format of code a little to match our Code ↵David-John Willis
Formatting Conventions. * No functional changes. * Automated astyle pass.
2011-10-03GPH: Cleanup the format of code to match our Code Formatting Conventions.David-John Willis
* No functional changes.
2011-10-01WebOS: Add improvements suggested in pull req. 89.TomFrost
The improvements in this commit are mostly code formatting, variable abstraction, and in one case, a performance enhancement as calculations were made a one-time fire rather than being run with every mouse move event.
2011-10-01SDL: Fix indentation.Johannes Schickel
2011-09-30BACKENDS: Set alt+f4 to be used for quitting on WindowsMatthew Hoops
2011-09-25WebOS: Make right-clicks last longer.TomFrost
While the right-click was working in most games, the weapon-switching in Full Throttle wasn't registering the click. Holding the button down for 50ms instead of immediately firing the mouseup fixes the issue.
2011-09-25WebOS: Change to multitouch control scheme.TomFrost
This is a near-rewrite of the WebOS event system to take advantage of multitouch, with which all WebOS devices are outfitted. This commit also marks full compatibility with the HP TouchPad, or any future tablet device without a hardware keyboard. Controls: - Left click: Single-tap once - Right click: Put one finger on screen, single-tap another - Middle click: Put two fingers on screen, single-tap another - Menu: Swipe two fingers down - Show keyboard: Swipe two fingers up - Touchpad Mode: - Swipe two fingers to the right to toggle - When off (default) mouse will move to the location tapped - When on, mouse will move relative to its current position - Autodrag Mode: - Swipe three fingers to the right to toggle - When on (default), touching the screen and holding still for a half-second will initiate a left-mouse button hold. Useful for games like COMI and FT. - When off (or on) a double-tap will initiate a left-mouse button hold. - Escape key: Swipe two fingers left - Space bar (pause): Swipe three fingers down
2011-09-24WebOS: Correct code convention and graphic errors.TomFrost
This is a mass commit for the following items: - Conversion of mixed and unaligned spaces/tabs to tabs - Moved static globals in webos_events to class members - Corrected variable naming convention to use underscores - Added a constructor to WebOSSdlEventSource to initialize variables. - Changed SDL getWidth and getHeight calls to getOverlayWidth and getOverlayHeight to support larger form factors (such as the HP TouchPad). - Removed unnecessary static getMillis() declaration and changed existing code to use the built-in getMillis().
2011-09-22MAEMO: enable virtual keyboard and add keymappingTarek Soliman
2011-09-22MAEMO: Enable/Disable clicking now displays OSD messageTarek Soliman
2011-09-22MAEMO: Zoom- is now mode selector for clickingTarek Soliman
2011-09-22MAEMO: keymap zoom+ and zoom- keys to right and middle clickTarek Soliman
2011-09-22MAEMO: keymap fullscreen buttonTarek Soliman
2011-09-22MAEMO: initial keymapper that keymaps menu buttonTarek Soliman
2011-09-22MAEMO: Add basic platform backend with stubbed keymapperTarek Soliman
2011-09-03Merge branch 'master' of git://github.com/nexapps/scummvm into nexappsTomFrost
2011-08-10WebOS: not handling keyboard dismiss in keydown breaks thingsDoron Rosenberg
2011-08-09SDL: Take advantage of SdlGraphicsManager.Johannes Schickel
This gets rid of the hacks, where SdlEventSource added events with custom type numbers to pass SDL_VIDEOEXPOSE and SDL_VIDEORESIZE to the graphics manager. Furthermore it get rids of the uninituitive and hard to trace way of assigning the proper mouse coordinates to mouse related events. Formerly it passed the real screen coordinates through the even dispatching api to the graphics manager (at least hopefully ;-) and let that handle creating a new event with the proper coordinates. Now instead SdlEventSource handles the proper coordinate setup itself. Since this is a behavior change and I can not test all the SDL based small devices ports this commit might break compilation for them and more serve it might also break mouse position behavior. If any of that occurs I am sorry about it.
2011-08-07JANITORIAL: Remove trailing empty lines.Christoph Mallon
2011-08-06SDL: Don't rely on SDL keycodes and OSystem keycodes being the same.Bastien Bouclet
SDL 1.3 shuffles keycodes around ...
2011-08-04WebOS: fix indentation, make sure to return true when opening the keyboardDoron Rosenberg
2011-08-04WebOS: touchpad virtual keyboardDoron Rosenberg
2011-08-01WebOS: touchpad work to show menuDoron Rosenberg
2011-06-27WINCE: Added option to disable panel toggling with double tap on top of screenCeRiAl
2011-06-22PS3: Keep updating the screen while the XMB is open to prevent it from freezingBastien Bouclet
2011-06-22PS3: Map joypad buttons to features. Enable the virtual keyboard.Bastien Bouclet
2011-06-22SDL: Allow building with current SDL 1.3hgBastien Bouclet
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-19SDL: Remove left over traces from the time the SdlEventSource subclassed ↵Johannes Schickel
DefaultEventManager.
2011-06-13I18N: Make many more GUI MessageDialog strings translatableThierry Crozat
2011-06-11WINCE: Some cleanup (public vs. private scopes), fix freelookCeRiAl
2011-06-11OPENPANDORA: Start to cleanup the backend and move controls into remapkey.David-John Willis
* Work in progress.
2011-06-11GP2X: Remove remnants of the old GP2X backend.David-John Willis
The GP2X is now folded into the GPH backend (as the GP2X device).
2011-06-11GPH: Cleanup and some WIP refactoring.David-John Willis
2011-06-06I18N: Make some OSD messages translatableThierry Crozat
2011-05-25BUILD: Rename UNIX #define to POSIXMax Horn
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-08WEBOS: Removed unused gestureDownTimeKlaus Reimer
2011-05-08WEBOS: Fixed ESCAPE and MENU key on WebOS 1Klaus Reimer
2011-05-03BACKENDS: Allow various files to use stuff from time.hMax Horn
2011-05-02ALL: Mark printf and various other symbols as forbiddenMax Horn
Right now, a few places in the frontend code still use printf and consorts. We mark the affected files with a FIXME for now, and add a dedicated exception for each. To be fixed! Also tweak FORBIDDEN_SYMBOL_REPLACEMENT to hopefully really always enforce a compiler error
2011-04-29WEBOS: Fix compilationMax Horn
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-28JANITORIAL: Format forward declarations to follow conventionOri Avtalion
2011-04-13WEBOS: Moved #include lines inside #ifdef WEBOS to fix MSVC compilationPaul Gilbert
2011-04-12GPH: Add separate button defined buttons for each supported device.David-John Willis
* No default buttons set any more as I would want the build to fails if you don't provide the backend with a device. * Also commit some small cleanup to the bundle files.
2011-04-12WEBOS: Complete rewrite of key/mouse events handlingKlaus Reimer
Touchscreen is now always used like a touch pad.