#include <vector>
#include <stdexcept>
#include <sigc++/signal.h>
+#include <msp/strings/lexicalcast.h>
namespace Msp {
namespace Input {
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;
void set_axis_value(unsigned, float, bool);
};
+
+void operator>>(const LexicalConverter &, DeviceType &);
+void operator<<(LexicalConverter &, DeviceType);
+
} // namespace Input
} // namespace Msp