private:
bool m_isWorking;
+ void handle_event(const struct media_ctrl_event& ev);
+ void jog(const struct media_ctrl_event& ev);
+ void shuttle(const struct media_ctrl_event& ev);
+ void key(const struct media_ctrl_event& ev);
+
+#ifdef USE_DEPRECATED
void handle_event(EV ev);
- void handle_event(struct media_ctrl_event ev);
- void jog(struct media_ctrl_event ev);
void jog(unsigned int value);
void shuttle(int value);
- void shuttle(struct media_ctrl_event ev);
void key(unsigned short code, unsigned int value);
- void key(struct media_ctrl_event ev);
+#endif
};
typedef QMap<QString, QString> DeviceMap;
~JogShuttle();
void stopDevice();
void initDevice(const QString &device);
- static QString enumerateDevice(const QString& device);
+ static QString canonicalDevice(const QString& device);
static DeviceMap enumerateDevices(const QString& devPath);
static int keysCount(const QString& devPath);