Mercurial > sdl-ios-xcode
annotate .hgignore @ 5079:8c88cae7911e SDL-1.2
Michael Bicha to Sam
I came across further issues with SDL 1.2.14 on win32 in combination
with touch screens.
When you touched the screen older SDLs reported
SDL_MOUSEMOTION to the touch position
SDL_MOUSEBUTTONDOWN at the touch position
1.2.14 reports
SDL_MOUSEBUTTONDOWN at the last mouse position before the touch
and then a
SDL_MOUSEMOTION to the touch position
I found that to fix it in the file SDL_sysevents.c i had to put back the
following lines from 1.2.12 to get it working correctly again:
if ( mouse_relative ) {
/* RJR: March 28, 2000
report internal mouse position if in relative mode */
x = 0; y = 0;
} else {
x = (Sint16)LOWORD(lParam);
y = (Sint16)HIWORD(lParam);
#ifdef _WIN32_WCE
if (SDL_VideoSurface)
GapiTransform(this->hidden->userOrientation,
this->hidden->hiresFix, &x, &y);
#endif
}
posted = SDL_PrivateMouseButton(
state, button, x, y);
where there was only
posted = SDL_PrivateMouseButton(
state, button, 0, 0);
in 1.2.14 (appx. line 484)
please feel free to put that change into any SDL lib you like in any way
you like and thanks for your great work !
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 23 Jan 2011 21:02:02 -0800 |
parents | eaa84e527969 |
children |
rev | line source |
---|---|
4420
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
1 syntax:glob |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
2 aclocal.m4 |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
3 autom4te* |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
4 config.cache |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
5 config.log |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
6 config.status |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
7 configure |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
8 libtool |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
9 Makefile |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
10 sdl-config |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
11 SDL.spec |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
12 SDL.qpg |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
13 build |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
14 build-deps |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
15 VisualC |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
16 VisualCE |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
17 Xcode |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
18 .DS_Store |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
19 sdl.pc |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
20 include/SDL_config.h |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
21 test/aclocal.m4 |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
22 test/autom4te* |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
23 test/config.cache |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
24 test/config.log |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
25 test/config.status |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
26 test/configure |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
27 test/Makefile |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
28 test/SDL.dll |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
29 test/stdout.txt |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
30 test/stderr.txt |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
31 test/checkkeys |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
32 test/graywin |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
33 test/loopwave |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
34 test/testpower |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
35 test/testalpha |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
36 test/testbitmap |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
37 test/testblitspeed |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
38 test/testcdrom |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
39 test/testdyngl |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
40 test/testerror |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
41 test/testfile |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
42 test/testgamma |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
43 test/testgl |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
44 test/testhread |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
45 test/testiconv |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
46 test/testjoystick |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
47 test/testkeys |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
48 test/testlock |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
49 test/testoverlay |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
50 test/testoverlay2 |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
51 test/testpalette |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
52 test/testplatform |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
53 test/testsem |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
54 test/testsprite |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
55 test/testtimer |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
56 test/testver |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
57 test/testvidinfo |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
58 test/testwin |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
59 test/testwm |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
60 test/threadwin |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
61 test/torturethread |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
62 test/testcursor |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
63 test/testloadso |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
64 test/*.exe |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
65 test/*.dSYM |