]> git.tdb.fi Git - libs/gui.git/blobdiff - source/input/keys.h
Support some additional keys
[libs/gui.git] / source / input / keys.h
index e17459ae5f98d99e423ee1a789ac9d4ee34ef4e9..2cc42ce8251a4481a874976439ec6b35d435a1bf 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of libmspgbase
-Copyright © 2007 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #ifndef MSP_INPUT_KEYS_H_
 #define MSP_INPUT_KEYS_H_
 
@@ -13,6 +6,8 @@ namespace Input {
 
 enum
 {
+       KEY_NONE = 0x00,
+
        // Codes 0x01-0x7E reserved for ASCII
        KEY_BACKSPACE = 0x08,
        KEY_TAB = 0x09,
@@ -142,13 +137,13 @@ enum
        KEY_PAUSE = 0xE0,
        KEY_PRINT_SCREEN,
        KEY_MENU,
+       KEY_BACK,
+       KEY_VOLUME_UP,
+       KEY_VOLUME_DOWN,
 
        N_KEYS_ = 0x100
 };
 
-extern unsigned key_from_sys(unsigned);
-extern unsigned key_to_sys(unsigned);
-
 } // namespace Input
 } // namespace Msp