X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pages%2FSDL-Event.html-inc;h=2d6140d12d3740afb1de4b4a667dfb5c49b8cdff;hb=31b111c7e105fcfe4dd42992b9a3c6246a098205;hp=24c7ecd253a6310a9c9f80427ab040ff93535969;hpb=c7e8d3c612049580c9a96b3006c4c89a00410643;p=sdlgit%2FSDL-Site.git
diff --git a/pages/SDL-Event.html-inc b/pages/SDL-Event.html-inc
index 24c7ecd..2d6140d 100644
--- a/pages/SDL-Event.html-inc
+++ b/pages/SDL-Event.html-inc
@@ -165,22 +165,22 @@ which union member relates to which event type
.
Available type constants:
Event types are grouped by masks. SDL_EVENTMASK($type)
will return the proper mask for the given type
.
type=SDL_KEYDOWN
or key_state=SDL_
then an SDL_RELEASED
when released and pressed again. For these keys KEYUP
and KEYDOWN
events are therefore
analogous to the state of the caps lock and num lock LEDs rather than the keys themselves.
These special cases are required for compatibility with Sun workstations.
-Note: Repeating SDL_KEYDOWN
events will occur if key repeat is enabled (see SDL_EnableKeyRepeat
).
+Note: Repeating SDL_KEYDOWN
events will occur if key repeat is enabled (see enable_key_repeat ("enable_key_repeat" in SDL::EVENTS)).
key_state
@@ -303,7 +303,7 @@ This field is very useful when you are checking for certain key presses, like so
key_unicode
-The unicode
field is only used when UNICODE translation is enabled with SDL_EnableUNICODE.
+
The unicode
field is only used when UNICODE translation is enabled with enable_unicode ("enable_unicode" in SDL::EVENTS).
If unicode
is non-zero then this is the UNICODE character corresponding to the keypress.
If the high 9 bits of the character are 0, then this maps to the equivalent ASCII character:
my $char;
@@ -332,7 +332,7 @@ button states (motion_state
).
motion_state
-The button state can be interpreted using the SDL_BUTTON
macro (see SDL_GetMouseState).
+The button state can be interpreted using the SDL_BUTTON
macro (see get_mouse_state ("get_mouse_state" in SDL::EVENTS)).
motion_x, motion_y
@@ -350,9 +350,9 @@ This is currently only implemented on Windows and Linux/Unix-alikes.
Mouse button events