📄 index.html
字号:
HREF="sdlnumjoysticks.html">SDL_NumJoysticks</A> -- Count available joysticks.</DT><DT><AHREF="sdljoystickname.html">SDL_JoystickName</A> -- Get joystick name.</DT><DT><AHREF="sdljoystickopen.html">SDL_JoystickOpen</A> -- Opens a joystick for use.</DT><DT><AHREF="sdljoystickopened.html">SDL_JoystickOpened</A> -- Determine if a joystick has been opened</DT><DT><AHREF="sdljoystickindex.html">SDL_JoystickIndex</A> -- Get the index of an SDL_Joystick.</DT><DT><AHREF="sdljoysticknumaxes.html">SDL_JoystickNumAxes</A> -- Get the number of joystick axes</DT><DT><AHREF="sdljoysticknumballs.html">SDL_JoystickNumBalls</A> -- Get the number of joystick trackballs</DT><DT><AHREF="sdljoysticknumhats.html">SDL_JoystickNumHats</A> -- Get the number of joystick hats</DT><DT><AHREF="sdljoysticknumbuttons.html">SDL_JoystickNumButtons</A> -- Get the number of joysitck buttons</DT><DT><AHREF="sdljoystickupdate.html">SDL_JoystickUpdate</A> -- Updates the state of all joysticks</DT><DT><AHREF="sdljoystickgetaxis.html">SDL_JoystickGetAxis</A> -- Get the current state of an axis</DT><DT><AHREF="sdljoystickgethat.html">SDL_JoystickGetHat</A> -- Get the current state of a joystick hat</DT><DT><AHREF="sdljoystickgetbutton.html">SDL_JoystickGetButton</A> -- Get the current state of a given button on a given joystick</DT><DT><AHREF="sdljoystickgetball.html">SDL_JoystickGetBall</A> -- Get relative trackball motion</DT><DT><AHREF="sdljoystickclose.html">SDL_JoystickClose</A> -- Closes a previously opened joystick</DT></DL></DD><DT>10. <AHREF="audio.html">Audio</A></DT><DD><DL><DT><AHREF="sdlaudiospec.html">SDL_AudioSpec</A> -- Audio Specification Structure</DT><DT><AHREF="sdlopenaudio.html">SDL_OpenAudio</A> -- Opens the audio device with the desired parameters.</DT><DT><AHREF="sdlpauseaudio.html">SDL_PauseAudio</A> -- Pauses and unpauses the audio callback processing</DT><DT><AHREF="sdlgetaudiostatus.html">SDL_GetAudioStatus</A> -- Get the current audio state</DT><DT><AHREF="sdlloadwav.html">SDL_LoadWAV</A> -- Load a WAVE file</DT><DT><AHREF="sdlfreewav.html">SDL_FreeWAV</A> -- Frees previously opened WAV data</DT><DT><AHREF="sdlaudiocvt.html">SDL_AudioCVT</A> -- Audio Conversion Structure</DT><DT><AHREF="sdlbuildaudiocvt.html">SDL_BuildAudioCVT</A> -- Initializes a SDL_AudioCVT structure for conversion</DT><DT><AHREF="sdlconvertaudio.html">SDL_ConvertAudio</A> -- Convert audio data to a desired audio format.</DT><DT><AHREF="sdlmixaudio.html">SDL_MixAudio</A> -- Mix audio data</DT><DT><AHREF="sdllockaudio.html">SDL_LockAudio</A> -- Lock out the callback function</DT><DT><AHREF="sdlunlockaudio.html">SDL_UnlockAudio</A> -- Unlock the callback function</DT><DT><AHREF="sdlcloseaudio.html">SDL_CloseAudio</A> -- Shuts down audio processing and closes the audio device.</DT></DL></DD><DT>11. <AHREF="cdrom.html">CD-ROM</A></DT><DD><DL><DT><AHREF="sdlcdnumdrives.html">SDL_CDNumDrives</A> -- Returns the number of CD-ROM drives on the system.</DT><DT><AHREF="sdlcdname.html">SDL_CDName</A> -- Returns a human-readable, system-dependent identifier for the CD-ROM.</DT><DT><AHREF="sdlcdopen.html">SDL_CDOpen</A> -- Opens a CD-ROM drive for access.</DT><DT><AHREF="sdlcdstatus.html">SDL_CDStatus</A> -- Returns the current status of the given drive.</DT><DT><AHREF="sdlcdplay.html">SDL_CDPlay</A> -- Play a CD</DT><DT><AHREF="sdlcdplaytracks.html">SDL_CDPlayTracks</A> -- Play the given CD track(s)</DT><DT><AHREF="sdlcdpause.html">SDL_CDPause</A> -- Pauses a CDROM</DT><DT><AHREF="sdlcdresume.html">SDL_CDResume</A> -- Resumes a CDROM</DT><DT><AHREF="sdlcdstop.html">SDL_CDStop</A> -- Stops a CDROM</DT><DT><AHREF="sdlcdeject.html">SDL_CDEject</A> -- Ejects a CDROM</DT><DT><AHREF="sdlcdclose.html">SDL_CDClose</A> -- Closes a SDL_CD handle</DT><DT><AHREF="sdlcd.html">SDL_CD</A> -- CDROM Drive Information</DT><DT><AHREF="sdlcdtrack.html">SDL_CDtrack</A> -- CD Track Information Structure</DT></DL></DD><DT>12. <AHREF="thread.html">Multi-threaded Programming</A></DT><DD><DL><DT><AHREF="sdlcreatethread.html">SDL_CreateThread</A> -- Creates a new thread of execution that shares its parent's properties.</DT><DT><AHREF="sdlthreadid.html">SDL_ThreadID</A> -- Get the 32-bit thread identifier for the current thread.</DT><DT><AHREF="sdlgetthreadid.html">SDL_GetThreadID</A> -- Get the SDL thread ID of a SDL_Thread</DT><DT><AHREF="sdlwaitthread.html">SDL_WaitThread</A> -- Wait for a thread to finish.</DT><DT><AHREF="sdlkillthread.html">SDL_KillThread</A> -- Gracelessly terminates the thread.</DT><DT><AHREF="sdlcreatemutex.html">SDL_CreateMutex</A> -- Create a mutex</DT><DT><AHREF="sdldestroymutex.html">SDL_DestroyMutex</A> -- Destroy a mutex</DT><DT><AHREF="sdlmutexp.html">SDL_mutexP</A> -- Lock a mutex</DT><DT><AHREF="sdlmutexv.html">SDL_mutexV</A> -- Unlock a mutex</DT><DT><AHREF="sdlcreatesemaphore.html">SDL_CreateSemaphore</A> -- Creates a new semaphore and assigns an initial value to it.</DT><DT><AHREF="sdldestroysemaphore.html">SDL_DestroySemaphore</A> -- Destroys a semaphore that was created by <AHREF="sdlcreatesemaphore.html">SDL_CreateSemaphore</A>.</DT><DT><AHREF="sdlsemwait.html">SDL_SemWait</A> -- Lock a semaphore and suspend the thread if the semaphore value is zero.</DT><DT><AHREF="sdlsemtrywait.html">SDL_SemTryWait</A> -- Attempt to lock a semaphore but don't suspend the thread.</DT><DT><AHREF="sdlsemwaittimeout.html">SDL_SemWaitTimeout</A> -- Lock a semaphore, but only wait up to a specified maximum time.</DT><DT><AHREF="sdlsempost.html">SDL_SemPost</A> -- Unlock a semaphore.</DT><DT><AHREF="sdlsemvalue.html">SDL_SemValue</A> -- Return the current value of a semaphore.</DT><DT><AHREF="sdlcreatecond.html">SDL_CreateCond</A> -- Create a condition variable</DT><DT><AHREF="sdldestroycond.html">SDL_DestroyCond</A> -- Destroy a condition variable</DT><DT><AHREF="sdlcondsignal.html">SDL_CondSignal</A> -- Restart a thread wait on a condition variable</DT><DT><AHREF="sdlcondbroadcast.html">SDL_CondBroadcast</A> -- Restart all threads waiting on a condition variable</DT><DT><AHREF="sdlcondwait.html">SDL_CondWait</A> -- Wait on a condition variable</DT><DT><AHREF="sdlcondwaittimeout.html">SDL_CondWaitTimeout</A> -- Wait on a condition variable, with timeout</DT></DL></DD><DT>13. <AHREF="time.html">Time</A></DT><DD><DL><DT><AHREF="sdlgetticks.html">SDL_GetTicks</A> -- Get the number of milliseconds since the SDL library initialization.</DT><DT><AHREF="sdldelay.html">SDL_Delay</A> -- Wait a specified number of milliseconds before returning.</DT><DT><AHREF="sdladdtimer.html">SDL_AddTimer</A> -- Add a timer which will call a callback after the specified number of milliseconds haselapsed.</DT><DT><AHREF="sdlremovetimer.html">SDL_RemoveTimer</A> -- Remove a timer which was added with<AHREF="sdladdtimer.html">SDL_AddTimer</A>.</DT><DT><AHREF="sdlsettimer.html">SDL_SetTimer</A> -- Set a callback to run after the specified number of milliseconds haselapsed.</DT></DL></DD></DL></DD></DL></DIV><DIVCLASS="LOT"><DLCLASS="LOT"><DT><B>List of Tables</B></DT><DT>8-1. <AHREF="sdlkey.html#AEN4720">SDL Keysym definitions</A></DT><DT>8-2. <AHREF="sdlkey.html#SDLMOD">SDL modifier definitions</A></DT></DL></DIV><DIVCLASS="LOT"><DLCLASS="LOT"><DT><B>List of Examples</B></DT><DT>1-1. <AHREF="guidebasicsinit.html#AEN60">Initializing SDL</A></DT><DT>2-1. <AHREF="guidevideo.html#AEN71">Initializing the Video Display</A></DT><DT>2-2. <AHREF="guidevideo.html#AEN77">Initializing the Best Video Mode</A></DT><DT>2-3. <AHREF="guidevideo.html#AEN83">Loading and Displaying a BMP File</A></DT><DT>2-4. <AHREF="guidevideo.html#AEN90">getpixel()</A></DT><DT>2-5. <AHREF="guidevideo.html#AEN93">putpixel()</A></DT><DT>2-6. <AHREF="guidevideo.html#AEN97">Using putpixel()</A></DT><DT>2-7. <AHREF="guidevideoopengl.html#AEN114">Initializing SDL with OpenGL</A></DT><DT>2-8. <AHREF="guidevideoopengl.html#AEN128">SDL and OpenGL</A></DT><DT>3-1. <AHREF="guideinput.html#AEN141">Initializing SDL with Joystick Support</A></DT><DT>3-2. <AHREF="guideinput.html#AEN154">Querying the Number of Available Joysticks</A></DT><DT>3-3. <AHREF="guideinput.html#AEN183">Opening a Joystick</A></DT><DT>3-4. <AHREF="guideinput.html#AEN191">Joystick Axis Events</A></DT><DT>3-5. <AHREF="guideinput.html#AEN195">More Joystick Axis Events</A></DT><DT>3-6. <AHREF="guideinput.html#AEN203">Joystick Button Events</A></DT><DT>3-7. <AHREF="guideinput.html#AEN217">Joystick Ball Events</A></DT><DT>3-8. <AHREF="guideinput.html#AEN244">Joystick Hat Events</A></DT><DT>3-9. <AHREF="guideinput.html#AEN265">Querying Joystick Characteristics</A></DT><DT>3-10. <AHREF="guideinputkeyboard.html#AEN334">Reading Keyboard Events</A></DT><DT>3-11. <AHREF="guideinputkeyboard.html#AEN351">Interpreting Key Event Information</A></DT><DT>3-12. <AHREF="guideinputkeyboard.html#AEN363">Proper Game Movement</A></DT></DL></DIV></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLESUMMARY="Footer navigation table"WIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"> </TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"> </TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="guide.html"ACCESSKEY="N">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"> </TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"> </TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">SDL Guide</TD></TR></TABLE></DIV></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -