]> git.tdb.fi Git - libs/gui.git/blobdiff - source/inputhub.h
Add names for input devices
[libs/gui.git] / source / inputhub.h
index b20fd43468fffc093d03e043bbc4d105d6fe60e3..c66ae98d71ce6a132f0600ec420e56f54100c681 100644 (file)
@@ -23,6 +23,8 @@ protected:
        std::vector<Device *> devices;
 
 public:
+       Hub();
+
        /**
        Attaches an input device to the hub.
 
@@ -31,6 +33,8 @@ public:
        @return  Index of the device within the hub
        */
        unsigned attach(Device &dev);
+
+       virtual std::string get_button_name(unsigned) const;
 protected:
        void button_press(unsigned, unsigned);
        void button_release(unsigned, unsigned);