Wiki Page Content

Differences between revisions 1 and 8 (spanning 7 versions)
Revision 1 as of 2011-02-06 06:02:34
Size: 1045
Editor: SheenaSmith
Comment: create page - 2/4 changeset 5176
Revision 8 as of 2011-12-07 20:07:22
Size: 977
Editor: SheenaSmith
Comment: update formatting - greyed out fields; camelcase
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
#pragma disable-camelcase #pragma camelcase off
Line 5: Line 5:
= SDL_KeySym = = SDL_Keysym =
Line 11: Line 11:
||SDL_!ScanCode||'''scancode'''||SDL physical key code - see [[SDL_ScanCode]] for details||
||SDLKey||'''sym'''||SDL virtual key code - see [[SDLKey]] for details||
||Uint16||'''mod'''||current key modifiers||
||Uint32||'''unicode'''||deprecated use [[SDL_TextInputEvent]] instead||

<<Color2
(green,SDL_!ScanCode does not exist but there is a page for [[SDL_scancode]]. Is that a typo? Should '''mod''' reference [[SDLMod]]?)>>
||[[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^||
||<rowstyle="color: #808080;">Uint32||'''unicode'''||use [[SDL_TextInputEvent]] instead (deprecated)||
Line 27: Line 25:
 .[[SDLKey]]
 .[[SDLMod]]
 .[[SDL_scancode]]
 .[[SDL_Keycode]]
 .[[SDL_Mod]]
 .[[SDL_Scancode]]

DRAFT

SDL_Keysym

A structure that contains key codes 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