Mercurial > sdl-ios-xcode
view docs/man3/SDL_JoystickNumAxes.3 @ 4249:429c8dd3175d SDL-1.2
Fixed bug #713
Don't clamp the mouse coordinates to the video surface size, instead clamp them to the last known window size.
This allows users to get the correct mouse coordinates even if they don't call SDL_SetVideoMode() in response to an SDL_VIDEORESIZE event (used as a hack to retain the OpenGL context on Windows and Linux after a window resize)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 27 Sep 2009 05:18:43 +0000 |
parents | 4e3b250c950e |
children | 1238da4a7112 |
line wrap: on
line source
.TH "SDL_JoystickNumAxes" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" .SH "NAME" SDL_JoystickNumAxes \- Get the number of joystick axes .SH "SYNOPSIS" .PP \fB#include "SDL\&.h" .sp \fBint \fBSDL_JoystickNumAxes\fP\fR(\fBSDL_Joystick *joystick\fR); .SH "DESCRIPTION" .PP Return the number of axes available from a previously opened \fBSDL_Joystick\fR\&. .SH "RETURN VALUE" .PP Number of axes\&. .SH "SEE ALSO" .PP \fI\fBSDL_JoystickGetAxis\fP\fR, \fI\fBSDL_JoystickOpen\fP\fR ...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00