Mercurial > sdl-ios-xcode
view docs/html/sdlkey.html @ 1192:54aa9aa32327
To: sdl@libsdl.org
From: Christian Walther <cwalther@gmx.ch>
Date: Fri, 18 Nov 2005 23:39:02 +0100
Subject: [SDL] Mouse position bugs on Mac OS X
The attached patch fixes a few bugs in SDL related to the mouse position
in windowed mode on Mac OS X, reproduced using the attached minimal test
program - at least here on 10.3.9, with SDL CVS from today. Could anyone
test whether the bugs exist and are fixed by the patch on 10.2 and 10.4?
1. When using OpenGL, the vertical mouse positions obtained through
events or SDL_GetMouseState() are off by one.
2. When using OpenGL, SDL_WarpMouse() inverts the y coordinate.
3. Clicks on the topmost pixel row of the window are not recognized.
1 and 2 do not occur in non-OpenGL mode, while 3 does. All three only
occur in windowed mode, not in fullscreen.
The cause for 1 and 3 is that in Cocoa, "the location of the mouse"
seems to be defined as "the location of the top left corner of the mouse
pointer's hot pixel" (this is not documented, it's just what I found out
here), which together with the fact that Cocoa's usual y coordinates
start at the bottom and increase upwards means that the y coordinate of
the mouse runs from 1 to h, not from 0 to h-1, in a window of height h.
If it does work on 10.2 and 10.4 (I'll try to test it as soon as I can,
but at the moment all I have at hand is 10.3.9), can this be applied to
the CVS?
-Christian
To: sdl@libsdl.org
From: Christian Walther <cwalther@gmx.ch>
Date: Mon, 28 Nov 2005 10:41:51 +0100
Subject: [SDL] Re: Mouse position bugs on Mac OS X
I wrote:
> I'll try to test it as soon as I can, but at the moment all I have at hand is 10.3.9
So, here are the results of my tests (with patched and unpatched
frameworks compiled with Xcode 1.5 (gcc 3.3) on 10.3.9):
On 10.1.5, my test program doesn't run because of "Undefined symbols:
SDL undefined reference to _CGMainDisplayID expected to be defined in
Carbon". I guess not supporting 10.1 was a deliberate decision then and
that's OK with me.
On 10.2.8, 10.3.9, and 10.4.0, the bugs exist as described in my
original post and are fixed by my patch. That is, there is no difference
between pre/post 10.3 and the patched version works correctly in all
combinations of GL/non-GL and windowed/fullscreen.
I therefore recommend the patch for inclusion.
-Christian
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Mon, 28 Nov 2005 13:58:26 +0000 |
parents | 355632dca928 |
children |
line wrap: on
line source
<HTML ><HEAD ><TITLE >SDLKey</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+ "><LINK REL="HOME" TITLE="SDL Library Documentation" HREF="index.html"><LINK REL="UP" TITLE="SDL Event Structures." HREF="eventstructures.html"><LINK REL="PREVIOUS" TITLE="SDL_keysym" HREF="sdlkeysym.html"><LINK REL="NEXT" TITLE="Event Functions." HREF="eventfunctions.html"></HEAD ><BODY CLASS="REFENTRY" BGCOLOR="#FFF8DC" TEXT="#000000" LINK="#0000ee" VLINK="#551a8b" ALINK="#ff0000" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >SDL Library Documentation</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="sdlkeysym.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="eventfunctions.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><H1 ><A NAME="SDLKEY" ></A >SDLKey</H1 ><DIV CLASS="REFNAMEDIV" ><A NAME="AEN4714" ></A ><H2 >Name</H2 >SDLKey -- Keysym definitions.</DIV ><DIV CLASS="REFSECT1" ><A NAME="AEN4717" ></A ><H2 >Description</H2 ><P > <DIV CLASS="TABLE" ><A NAME="AEN4720" ></A ><P ><B >Table 8-1. SDL Keysym definitions</B ></P ><TABLE BORDER="1" CLASS="CALSTABLE" ><THEAD ><TR ><TH WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLKey</TH ><TH WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >ASCII value</TH ><TH WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >Common name</TH ></TR ></THEAD ><TBODY ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_BACKSPACE</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'\b'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >backspace</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_TAB</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'\t'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >tab</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_CLEAR</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >clear</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_RETURN</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'\r'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >return</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_PAUSE</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >pause</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_ESCAPE</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'^['</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >escape</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_SPACE</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >' '</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >space</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_EXCLAIM</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'!'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >exclaim</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_QUOTEDBL</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'"'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >quotedbl</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_HASH</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'#'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >hash</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_DOLLAR</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'$'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >dollar</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_AMPERSAND</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'&'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >ampersand</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_QUOTE</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'''</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >quote</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_LEFTPAREN</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'('</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >left parenthesis</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_RIGHTPAREN</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >')'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >right parenthesis</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_ASTERISK</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'*'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >asterisk</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_PLUS</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'+'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >plus sign</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_COMMA</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >','</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >comma</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_MINUS</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'-'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >minus sign</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_PERIOD</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'.'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >period</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_SLASH</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'/'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >forward slash</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_0</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'0'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >0</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_1</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'1'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >1</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_2</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'2'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >2</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_3</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'3'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >3</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_4</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'4'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >4</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_5</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'5'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >5</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_6</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'6'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >6</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_7</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'7'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >7</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_8</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'8'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >8</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_9</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'9'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >9</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_COLON</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >':'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >colon</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_SEMICOLON</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >';'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >semicolon</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_LESS</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'<'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >less-than sign</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_EQUALS</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'='</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >equals sign</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_GREATER</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'>'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >greater-than sign</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_QUESTION</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'?'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >question mark</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_AT</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'@'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >at</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_LEFTBRACKET</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'['</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >left bracket</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_BACKSLASH</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'\'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >backslash</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_RIGHTBRACKET</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >']'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >right bracket</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_CARET</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'^'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >caret</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_UNDERSCORE</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'_'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >underscore</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_BACKQUOTE</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'`'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >grave</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_a</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'a'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >a</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_b</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'b'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >b</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_c</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'c'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >c</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_d</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'d'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >d</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_e</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'e'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >e</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_f</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'f'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >f</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_g</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'g'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >g</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_h</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'h'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >h</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_i</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'i'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >i</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_j</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'j'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >j</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_k</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'k'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >k</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_l</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'l'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >l</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_m</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'m'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >m</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_n</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'n'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >n</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_o</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'o'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >o</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_p</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'p'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >p</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_q</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'q'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >q</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_r</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'r'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >r</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_s</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'s'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >s</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_t</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'t'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >t</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_u</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'u'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >u</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_v</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'v'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >v</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_w</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'w'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >w</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_x</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'x'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >x</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_y</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'y'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >y</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_z</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'z'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >z</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_DELETE</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'^?'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >delete</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_KP0</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >keypad 0</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_KP1</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >keypad 1</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_KP2</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >keypad 2</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_KP3</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >keypad 3</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_KP4</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >keypad 4</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_KP5</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >keypad 5</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_KP6</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >keypad 6</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_KP7</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >keypad 7</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_KP8</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >keypad 8</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_KP9</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >keypad 9</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_KP_PERIOD</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'.'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >keypad period</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_KP_DIVIDE</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'/'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >keypad divide</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_KP_MULTIPLY</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'*'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >keypad multiply</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_KP_MINUS</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'-'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >keypad minus</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_KP_PLUS</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'+'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >keypad plus</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_KP_ENTER</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'\r'</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >keypad enter</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_KP_EQUALS</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >'='</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >keypad equals</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_UP</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >up arrow</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_DOWN</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >down arrow</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_RIGHT</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >right arrow</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_LEFT</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >left arrow</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_INSERT</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >insert</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_HOME</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >home</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_END</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >end</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_PAGEUP</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >page up</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_PAGEDOWN</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >page down</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_F1</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >F1</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_F2</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >F2</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_F3</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >F3</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_F4</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >F4</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_F5</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >F5</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_F6</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >F6</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_F7</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >F7</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_F8</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >F8</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_F9</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >F9</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_F10</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >F10</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_F11</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >F11</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_F12</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >F12</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_F13</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >F13</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_F14</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >F14</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_F15</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >F15</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_NUMLOCK</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >numlock</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_CAPSLOCK</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >capslock</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_SCROLLOCK</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >scrollock</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_RSHIFT</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >right shift</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_LSHIFT</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >left shift</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_RCTRL</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >right ctrl</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_LCTRL</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >left ctrl</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_RALT</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >right alt</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_LALT</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >left alt</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_RMETA</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >right meta</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_LMETA</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >left meta</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_LSUPER</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >left windows key</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_RSUPER</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >right windows key</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_MODE</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >mode shift</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_HELP</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >help</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_PRINT</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >print-screen</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_SYSREQ</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SysRq</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_BREAK</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >break</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_MENU</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >menu</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_POWER</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >power</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >SDLK_EURO</TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" > </TD ><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP" >euro</TD ></TR ></TBODY ></TABLE ></DIV > <DIV CLASS="TABLE" ><A NAME="SDLMOD" ></A ><P ><B >Table 8-2. SDL modifier definitions</B ></P ><TABLE BORDER="1" CLASS="CALSTABLE" ><THEAD ><TR ><TH WIDTH="50%" ALIGN="LEFT" VALIGN="TOP" >SDL Modifier</TH ><TH WIDTH="50%" ALIGN="LEFT" VALIGN="TOP" >Meaning</TH ></TR ></THEAD ><TBODY ><TR ><TD WIDTH="50%" ALIGN="LEFT" VALIGN="TOP" >KMOD_NONE</TD ><TD WIDTH="50%" ALIGN="LEFT" VALIGN="TOP" >No modifiers applicable</TD ></TR ><TR ><TD WIDTH="50%" ALIGN="LEFT" VALIGN="TOP" >KMOD_NUM</TD ><TD WIDTH="50%" ALIGN="LEFT" VALIGN="TOP" >Numlock is down</TD ></TR ><TR ><TD WIDTH="50%" ALIGN="LEFT" VALIGN="TOP" >KMOD_CAPS</TD ><TD WIDTH="50%" ALIGN="LEFT" VALIGN="TOP" >Capslock is down</TD ></TR ><TR ><TD WIDTH="50%" ALIGN="LEFT" VALIGN="TOP" >KMOD_LCTRL</TD ><TD WIDTH="50%" ALIGN="LEFT" VALIGN="TOP" >Left Control is down</TD ></TR ><TR ><TD WIDTH="50%" ALIGN="LEFT" VALIGN="TOP" >KMOD_RCTRL</TD ><TD WIDTH="50%" ALIGN="LEFT" VALIGN="TOP" >Right Control is down</TD ></TR ><TR ><TD WIDTH="50%" ALIGN="LEFT" VALIGN="TOP" >KMOD_RSHIFT</TD ><TD WIDTH="50%" ALIGN="LEFT" VALIGN="TOP" >Right Shift is down</TD ></TR ><TR ><TD WIDTH="50%" ALIGN="LEFT" VALIGN="TOP" >KMOD_LSHIFT</TD ><TD WIDTH="50%" ALIGN="LEFT" VALIGN="TOP" >Left Shift is down</TD ></TR ><TR ><TD WIDTH="50%" ALIGN="LEFT" VALIGN="TOP" >KMOD_RALT</TD ><TD WIDTH="50%" ALIGN="LEFT" VALIGN="TOP" >Right Alt is down</TD ></TR ><TR ><TD WIDTH="50%" ALIGN="LEFT" VALIGN="TOP" >KMOD_LALT</TD ><TD WIDTH="50%" ALIGN="LEFT" VALIGN="TOP" >Left Alt is down</TD ></TR ><TR ><TD WIDTH="50%" ALIGN="LEFT" VALIGN="TOP" >KMOD_CTRL</TD ><TD WIDTH="50%" ALIGN="LEFT" VALIGN="TOP" >A Control key is down</TD ></TR ><TR ><TD WIDTH="50%" ALIGN="LEFT" VALIGN="TOP" >KMOD_SHIFT</TD ><TD WIDTH="50%" ALIGN="LEFT" VALIGN="TOP" >A Shift key is down</TD ></TR ><TR ><TD WIDTH="50%" ALIGN="LEFT" VALIGN="TOP" >KMOD_ALT</TD ><TD WIDTH="50%" ALIGN="LEFT" VALIGN="TOP" >An Alt key is down</TD ></TR ></TBODY ></TABLE ></DIV > </P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="sdlkeysym.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="eventfunctions.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >SDL_keysym</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="eventstructures.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >Event Functions.</TD ></TR ></TABLE ></DIV ></BODY ></HTML >