std::vector<Device *> devices;
public:
+ Hub();
+
/**
Attaches an input device to the hub.
@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);