blob: 5c1dbee750c8222b92c22f68a772871861e7d858 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#ifndef mackie_jog_wheel
#define mackie_jog_wheel
#include "timer.h"
#include <stack>
#include <deque>
#include <queue>
namespace ArdourSurface {
class US2400Protocol;
namespace US2400
{
class JogWheel
{
public:
enum Mode { scroll };
JogWheel (US2400Protocol & mcp);
/// As the wheel turns...
void jog_event (float delta);
void set_mode (Mode m);
Mode mode() const { return _mode; }
private:
US2400Protocol & _mcp;
Mode _mode;
};
}
}
#endif
|