include/SDL_keyboard.h
branchSDL-1.3
changeset 1674 7688a73b25b1
parent 1673 624e1412fbba
child 1686 8d7fecceb9ef
equal deleted inserted replaced
1673:624e1412fbba 1674:7688a73b25b1
    47  * \brief The SDL keysym structure, used in key events.
    47  * \brief The SDL keysym structure, used in key events.
    48  */
    48  */
    49 typedef struct SDL_keysym
    49 typedef struct SDL_keysym
    50 {
    50 {
    51     Uint8 scancode;             /**< keyboard specific scancode */
    51     Uint8 scancode;             /**< keyboard specific scancode */
    52     SDLKey sym;                 /**< SDL virtual keysym */
    52     Uint8 padding[3];           /**< alignment padding */
    53     SDLMod mod;                 /**< current key modifiers */
    53     Uint16 sym;                 /**< SDL virtual keysym */
       
    54     Uint16 mod;                 /**< current key modifiers */
    54 } SDL_keysym;
    55 } SDL_keysym;
    55 
    56 
    56 /* Function prototypes */
    57 /* Function prototypes */
    57 
    58 
    58 /**
    59 /**