Commit Graph

16 Commits

Author SHA1 Message Date
rsn8887
c0b095d793 SDL: Cleanup, replaced _km.multiplier with #define 2017-02-18 18:20:10 -06: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
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
238b3e1ac2 GCW0: Hardcoded (for now) GCW0 controls 2014-10-27 00:03:32 +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
7803ce2fa4 DINGUX: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
Johannes Schickel
04ab0e58b4 SDL: Take advantage of SdlGraphicsManager.
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-09 00:03:11 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Max Horn
4bed2b3ff5 SDL: Trying to cleanup the FORBIDDEN_SYMBOL situation
svn-id: r54575
2010-11-29 16:35:29 +00: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
Max Horn
8399232a43 DINGUX: More compilation fixes
svn-id: r54541
2010-11-28 18:10:12 +00:00
Max Horn
beed05b0af DINGUX: Correct compilation fix (I hope), remove dead code
svn-id: r54539
2010-11-28 17:43:10 +00:00
Max Horn
bed8c34a87 DINGUX: Compilation fixes
svn-id: r54533
2010-11-28 17:18:08 +00:00
Max Horn
d5840b72f9 DINGUX: Attempt to fix the new code for this backend
It seems in the gsoc2010-opengl branch, the dingux port was not anymore
updated at some point, so some changes that were made in general did not
make it till here. This is my attempt to fix at least the most obvious
problems, but without being able to compile it, all these changes should
be very carefully reviewed.

svn-id: r54522
2010-11-28 14:57:59 +00:00
Fabio Battaglia
74a53df11b DINGUX: fix compilation for the opengl branch
Moved events related code to backends/events/dinguxsdl/*
and move graphics related code to backends/graphics/dinguxsdl/*
Subclass OSystem_POSIX instead of OSystem_SDL

svn-id: r53730
2010-10-23 09:30:26 +00:00