From 782dabbcd399b0582df73ff82107ffca70abb0f7 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 15 Mar 2004 02:21:04 +0000 Subject: ...and mor. Next big thing should be to document the overlay stuff, but that'll have to wait till after I slept :-) svn-id: r13295 --- common/system.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'common/system.h') diff --git a/common/system.h b/common/system.h index aacc9df032..e35a28889f 100644 --- a/common/system.h +++ b/common/system.h @@ -368,9 +368,12 @@ public: /** * Abstract key code (will be the same for any given key regardless * of modifiers being held at the same time. - * @todo Document which values are to be used for non-ASCII keys - * like F1-F10. * For example, this is the same for both 'A' and Shift-'A'. + * @todo Document which values are to be used for non-ASCII keys + * like F1-F10. For now, let's just say that our primary backend + * is the SDL one, and it uses the values SDL uses... so until + * we fix this, your best bet is to get a copy of SDL_keysym.h + * and look at that, if you want to find out a key code. */ int keycode; /** @@ -378,6 +381,7 @@ public: * This depends on modifiers, i.e. pressing the 'A' key results in * different values here depending on the status of shift, alt and * caps lock. + * For the function keys F1-F9, values of 315-323 are used. */ uint16 ascii; /** -- cgit v1.2.3