]> git.tdb.fi Git - libs/gui.git/blobdiff - source/input/device.h
Add functions to look up subdevices of composite input devices
[libs/gui.git] / source / input / device.h
index 853ec96c902ebe4cdf82942822fa10563ab69849..4544776ac3a36f1f6b36d7dfe0d7a79cdaacb232 100644 (file)
@@ -69,6 +69,8 @@ public:
 
        DeviceType get_type() const { return type; }
        const std::string &get_name() const { return name; }
+       virtual Device *find_subdevice(DeviceType, unsigned = 0);
+       virtual Device *find_subdevice(const std::string &);
        bool get_button_state(unsigned) const;
        float get_axis_value(unsigned) const;