#ifndef MSP_INPUT_KEYS_H_
#define MSP_INPUT_KEYS_H_
+#include <msp/graphics/mspgui_api.h>
#include <msp/strings/lexicalcast.h>
namespace Msp {
N_KEYS_ = 0x100
};
-void operator>>(const LexicalConverter &, Key &);
-void operator<<(LexicalConverter &, Key);
+enum MouseAxis
+{
+ MOUSE_X_AXIS = 0,
+ MOUSE_Y_AXIS,
+};
+
+enum MouseButton
+{
+ MOUSE_LEFT = 1,
+ MOUSE_MIDDLE,
+ MOUSE_RIGHT,
+ MOUSE_WHEEL_UP,
+ MOUSE_WHEEL_DOWN
+};
+
+MSPGUI_API void operator>>(const LexicalConverter &, Key &);
+MSPGUI_API void operator<<(LexicalConverter &, Key);
+MSPGUI_API void operator>>(const LexicalConverter &, MouseAxis &);
+MSPGUI_API void operator<<(LexicalConverter &, MouseAxis);
+MSPGUI_API void operator>>(const LexicalConverter &, MouseButton &);
+MSPGUI_API void operator<<(LexicalConverter &, MouseButton);
} // namespace Input
} // namespace Msp