X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Finput%2Fhub.h;h=55d58765f1d705dabeeec7ff5eb028a4f65a46b8;hb=3b0d63f09b6bfc5de215e27eef8a5934eb4d3851;hp=b89196ecae793a5b9704e506dc6063263e1259b1;hpb=51d4984883ae44002fd33665b6ce3c3249210a90;p=libs%2Fgui.git diff --git a/source/input/hub.h b/source/input/hub.h index b89196e..55d5876 100644 --- a/source/input/hub.h +++ b/source/input/hub.h @@ -23,6 +23,9 @@ public: /// Attaches an input device to the hub. void attach(Device &dev); + virtual Device *find_subdevice(DeviceType, unsigned = 0); + virtual Device *find_subdevice(const std::string &); + virtual std::string get_button_name(unsigned) const; virtual std::string get_axis_name(unsigned) const; protected: