[Scummvm-cvs-logs] CVS: scummvm/common system.h,1.60,1.61

Max Horn fingolfin at users.sourceforge.net
Sun Mar 14 18:34:23 CET 2004


Update of /cvsroot/scummvm/scummvm/common
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19082/common

Modified Files:
	system.h 
Log Message:
...and mor. Next big thing should be to document the overlay stuff, but that'll have to wait till after I slept :-)

Index: system.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/system.h,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -d -r1.60 -r1.61
--- system.h	15 Mar 2004 02:09:28 -0000	1.60
+++ system.h	15 Mar 2004 02:21:03 -0000	1.61
@@ -368,9 +368,12 @@
 			/**
 			 * 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 @@
 			 * 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;
 			/**





More information about the Scummvm-git-logs mailing list