summaryrefslogtreecommitdiff
path: root/libs/surfaces/wiimote/wiimote.h
diff options
context:
space:
mode:
authorSampo Savolainen <v2@iki.fi>2008-11-20 17:29:05 +0000
committerSampo Savolainen <v2@iki.fi>2008-11-20 17:29:05 +0000
commit9d444265ddd030d373b2a9d5b332fe2f2c91e194 (patch)
treed937b40e26aa9aabaabf3582048c769f2e56550e /libs/surfaces/wiimote/wiimote.h
parent5270db4086b73ee56af3d79abb22c4bec89588d8 (diff)
Fast enough, Paul?
Make the wiimote rediscover if disconnected. git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4225 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/surfaces/wiimote/wiimote.h')
-rw-r--r--libs/surfaces/wiimote/wiimote.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/surfaces/wiimote/wiimote.h b/libs/surfaces/wiimote/wiimote.h
index a5b1ea4976..a6680edd2e 100644
--- a/libs/surfaces/wiimote/wiimote.h
+++ b/libs/surfaces/wiimote/wiimote.h
@@ -43,12 +43,13 @@ class WiimoteControlProtocol : public ARDOUR::ControlProtocol {
void wiimote_main();
volatile bool main_thread_quit;
+ volatile bool restart_discovery;
Glib::Thread *main_thread;
void update_led_state();
- bool thread_registered_for_ardour;
+ bool callback_thread_registered_for_ardour;
static uint16_t button_state;