]> git.tdb.fi Git - libs/gui.git/blobdiff - source/input/hub.h
Comment changes
[libs/gui.git] / source / input / hub.h
index 4385f27742e83588e59cf686b88a5dd653d33bdc..9fe57dd95a3bef2a501c23156b9812716fe0074d 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_GBASE_INPUTHUB_H_
 #define MSP_GBASE_INPUTHUB_H_
 
@@ -25,16 +18,12 @@ protected:
 public:
        Hub();
 
-       /**
-       Attaches an input device to the hub.
-
-       @param   dev  Device to attach
-
-       @return  Index of the device within the hub
-       */
+       /** Attaches an input device to the hub.  Returns the index of the device
+       within the hub. */
        unsigned attach(Device &dev);
 
        virtual std::string get_button_name(unsigned) const;
+       virtual std::string get_axis_name(unsigned) const;
 protected:
        void button_press(unsigned, unsigned);
        void button_release(unsigned, unsigned);