notaz.gp2x.de
/
sdl_omap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add "scaled" and "pixelperfect" layer sizes.
[sdl_omap.git]
/
README.OMAP
diff --git
a/README.OMAP
b/README.OMAP
index
29cbac2
..
1c04162
100644
(file)
--- a/
README.OMAP
+++ b/
README.OMAP
@@
-52,6
+52,8
@@
SDL_OMAP_LAYER_SIZE:
Valid values:
"WxH", for example "640x480"
"fullscreen" to cover whole screen.
Valid values:
"WxH", for example "640x480"
"fullscreen" to cover whole screen.
+ "scaled" to upscale the screen proportionally, letterboxing or pillarboxing.
+ "pixelperfect" to upscale by a whole-number factor (e.g. 2x or 3x size).
SDL_OMAP_BORDER_CUT:
This can be used to move parts of SDL surface out of screen, in other
SDL_OMAP_BORDER_CUT:
This can be used to move parts of SDL surface out of screen, in other
@@
-77,6
+79,10
@@
SDL_OMAP_NO_TS_TRANSLATE:
Disable automatic touchscreen screen -> layer coordinate translation,
return real screen coordinates.
Disable automatic touchscreen screen -> layer coordinate translation,
return real screen coordinates.
+SDL_OMAP_TS_FORCE_TSLIB:
+ Always use tslib to read touchscreen. Without this, use X events when they
+ are available (this gives external input device support).
+
Config file
-----------
Config file
-----------
@@
-94,6
+100,9
@@
force_doublebuf = 1/0
# same as SDL_OMAP_NO_TS_TRANSLATE
no_ts_translate = 1/0
# same as SDL_OMAP_NO_TS_TRANSLATE
no_ts_translate = 1/0
+# same as SDL_OMAP_TS_FORCE_TSLIB
+ts_force_tslib = 1/0
+
# can be used to bind a key to SDL keysym, good for quick ports.
# Example:
# bind ev_home = sdlk_space
# can be used to bind a key to SDL keysym, good for quick ports.
# Example:
# bind ev_home = sdlk_space