X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Finput%2Fdevice.h;h=3338137eb51e46e50528cf51af02c73beb31ce50;hb=77f1906effbbaaff2c1c53926a3e77bb8f4aa799;hp=ea41162bb2afa8aa7417f2096f08348a504126dd;hpb=daf317db7a79a4c92880042125814ca942c3a6fa;p=libs%2Fgui.git diff --git a/source/input/device.h b/source/input/device.h index ea41162..3338137 100644 --- a/source/input/device.h +++ b/source/input/device.h @@ -1,12 +1,5 @@ -/* $Id$ - -This file is part of libmspgbase -Copyright © 2007 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - -#ifndef MSP_GBASE_INPUTDEVICE_H_ -#define MSP_GBASE_INPUTDEVICE_H_ +#ifndef MSP_INPUT_INPUTDEVICE_H_ +#define MSP_INPUT_INPUTDEVICE_H_ #include #include @@ -29,14 +22,14 @@ public: protected: std::string name; - std::vector buttons; + std::vector buttons; std::vector axes; Device() { } public: virtual ~Device() { } const std::string &get_name() const { return name; } - bool get_button_state(unsigned) const; + bool get_button_state(unsigned) const; float get_axis_value(unsigned) const; virtual std::string get_button_name(unsigned) const;