Wiki Page Content

Differences between revisions 7 and 9 (spanning 2 versions)
Revision 7 as of 2011-09-27 23:52:08
Size: 952
Editor: SheenaSmith
Comment: correct typo
Revision 9 as of 2012-09-13 19:01:59
Size: 925
Editor: ChrisBush
Comment: Corrected link in Related Enumerations
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
#pragma disable-camelcase
||<tablewidth="100%" style="color: #FF0000;" :> DRAFT||
#pragma camelcase off
Line 6: Line 5:
A structure that contains ^key codes^ used in key events. A structure that contains key information used in key events.
Line 13: Line 12:
||Uint16||'''mod'''||current key modifiers^; see [[SDL_Keymod]] for details^||
||Uint32||'''unicode'''||deprecated, use [[SDL_TextInputEvent]] instead||
||Uint16||'''mod'''||current key modifiers; see [[SDL_Keymod]] for details||
||<rowstyle="color: #808080;">Uint32||'''unicode'''||use [[SDL_TextInputEvent]] instead (deprecated)||
Line 26: Line 25:
 .[[SDL_Mod]]  .[[SDL_Keymod]]

SDL_Keysym

A structure that contains key information used in key events.

Data Fields

SDL_Scancode

scancode

SDL physical key code; see SDL_Scancode for details

SDL_Keycode

sym

SDL virtual key code; see SDL_Keycode for details

Uint16

mod

current key modifiers; see SDL_Keymod for details

Uint32

unicode

use SDL_TextInputEvent instead (deprecated)

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryStruct, CategoryKeyboard

None: SDL_Keysym (last edited 2013-09-05 20:01:04 by PhilippWiesemann)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit