sdljava.event
public class SDLKeyboardEvent extends SDLEvent
Note: Repeating SDL_KEYDOWN events will occur if key repeat is enabled (see SDL_EnableKeyRepeat).
Version: $Id: SDLKeyboardEvent.java,v 1.13 2005/01/25 02:50:45 ivan_ganza Exp $
Field Summary | |
---|---|
SDLMod | cachedMod |
short | cachedScancode |
int | cachedSym |
int | cachedUnicode |
SDL_KeyboardEvent | swigKeyboardEvent
Reference to the SWIG generated Keyboard Event
|
Method Summary | |
---|---|
SDLMod | getMod()
Current key modifiers
|
short | getScancode()
Return the Hardware specific scancode
|
SDLPressedState | getState()
Get the state of the button
|
SDL_KeyboardEvent | getSwigKeyboardEvent()
Gets the value of swigKeyboardEvent
|
int | getSym()
SDL virtual keysym
|
int | getType()
The type of the this event
|
int | getUnicode()
Translated Unicode character
|
void | setSwigKeyboardEvent(SDL_KeyboardEvent argSwigKeyboardEvent)
Sets the value of swigKeyboardEvent
|
String | toString() |
Returns: The Current key modifiers
Returns: Hardware specific scancode
Returns: the state of the button
Returns: the value of swigKeyboardEvent
Returns: The SDL virtual keysym
Returns: The type of event
Returns: The Translated Unicode character
Parameters: argSwigKeyboardEvent Value to assign to this.swigKeyboardEvent
Returns: a String
representation of myself