X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Finput%2Fkeys.h;h=2cc42ce8251a4481a874976439ec6b35d435a1bf;hb=589bf37829cadb0e4595fd97a2d6094a6471e985;hp=e17459ae5f98d99e423ee1a789ac9d4ee34ef4e9;hpb=7a4a508629d370c4a79791c7e62fd6f59e8564e9;p=libs%2Fgui.git diff --git a/source/input/keys.h b/source/input/keys.h index e17459a..2cc42ce 100644 --- a/source/input/keys.h +++ b/source/input/keys.h @@ -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