Mercurial > sdl-ios-xcode
view docs/man3/SDL_WarpMouse.3 @ 4256:ba587a51f899 SDL-1.2
Vitaly Minko to slouken
Hi all,
I wrote a patch, which allows user to rotate the screen in case of fbcon driver.
The rotation angle is controlled by SDL_VIDEO_FBCON_ROTATION environment variable and possible values are:
not set - Not rotating, no shadow.
"NONE" - Not rotating, but still using shadow.
"CW" - Rotating screen clockwise.
"UD" - Rotating screen upside down.
"CCW" - Rotating screen counter clockwise.
The patch is based on wscons driver, written by Staffan Ulfberg.
I tested it on
Device: Sharp Zaurus SL-C1000
SDL version: 1.2.13
Kernel version: 2.6.24.4
Best regards,
Vitaly.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 28 Sep 2009 06:23:22 +0000 |
parents | 4e3b250c950e |
children | 1238da4a7112 |
line wrap: on
line source
.TH "SDL_WarpMouse" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" .SH "NAME" SDL_WarpMouse \- Set the position of the mouse cursor\&. .SH "SYNOPSIS" .PP \fB#include "SDL\&.h" .sp \fBvoid \fBSDL_WarpMouse\fP\fR(\fBUint16 x, Uint16 y\fR); .SH "DESCRIPTION" .PP Set the position of the mouse cursor (generates a mouse motion event)\&. .SH "SEE ALSO" .PP \fI\fBSDL_MouseMotionEvent\fR\fR ...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01