X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Finput%2Fkeys.h;h=7d4822cae3647ffa51047fe5ebc6c41ddb08b012;hb=9c7ae47da64904c2aa9a9969870ca8befebe7d02;hp=9718f83dc94074c9b05cdbd2eafed253f3094c36;hpb=5add89fdd5e5e542ae0e93de2fe9d9b2532c1e07;p=libs%2Fgui.git diff --git a/source/input/keys.h b/source/input/keys.h index 9718f83..7d4822c 100644 --- a/source/input/keys.h +++ b/source/input/keys.h @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of libmspgbase -Copyright © 2008, 2010 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, @@ -146,20 +141,6 @@ enum N_KEYS_ = 0x100 }; -enum -{ - MOD_SHIFT = 1, - MOD_CONTROL = 2, - MOD_ALT = 4, - MOD_SUPER = 8, - N_MODS_ = 4 -}; - -extern unsigned key_from_sys(unsigned); -extern unsigned key_to_sys(unsigned); - -extern unsigned mod_from_sys(unsigned); - } // namespace Input } // namespace Msp