13
0
livetrax/libs/surfaces/mackie/jog_wheel.h
Paul Davis ac1b2a6647 MCP: another bevy of changes, including working jog wheel
git-svn-id: svn://localhost/ardour2/branches/3.0@12056 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-22 17:37:52 +00:00

35 lines
455 B
C++

#ifndef mackie_jog_wheel
#define mackie_jog_wheel
#include "timer.h"
#include <stack>
#include <deque>
#include <queue>
class MackieControlProtocol;
namespace Mackie
{
class JogWheel
{
public:
enum Mode { scroll };
JogWheel (MackieControlProtocol & mcp);
/// As the wheel turns...
void jog_event (float delta);
void set_mode (Mode m);
Mode mode() const { return _mode; }
private:
MackieControlProtocol & _mcp;
Mode _mode;
};
}
#endif