added K_PRINTSCREEN, not actually used by any platforms though
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 21 Dec 2009 08:57:25 +0000 (08:57 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 21 Dec 2009 08:57:25 +0000 (08:57 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9623 d7cf8633-e32d-0410-b094-e92efae38249

keys.c
keys.h

diff --git a/keys.c b/keys.c
index b4a40ed..f01ee9f 100644 (file)
--- a/keys.c
+++ b/keys.c
@@ -232,6 +232,8 @@ static const keyname_t   keynames[] = {
        {"KP_ENTER", K_KP_ENTER},
        {"KP_EQUALS", K_KP_EQUALS},
 
+       {"PRINTSCREEN", K_PRINTSCREEN},
+
 
 
        {"MOUSE1", K_MOUSE1},
diff --git a/keys.h b/keys.h
index 6c04e09..02f43c7 100644 (file)
--- a/keys.h
+++ b/keys.h
@@ -106,6 +106,8 @@ typedef enum keynum_e
        K_KP_ENTER,
        K_KP_EQUALS,
 
+       K_PRINTSCREEN,
+
        // mouse buttons generate virtual keys
 
        K_MOUSE1 = 512,