bug fixes for Canvas::Box
[ardour.git] / libs / surfaces / wiimote / interface.cc
index 9a704e445e87f46773c59c88ba7e58a18eeb8ff3..69983743e6ebd2d60bc2e54f6b35d1efb6ad8981 100644 (file)
@@ -48,6 +48,12 @@ probe_wiimote_protocol (ControlProtocolDescriptor*)
 {
        return WiimoteControlProtocol::probe ();
 }
+static void*
+wiimote_request_buffer_factory (uint32_t num_requests)
+{
+       return WiimoteControlProtocol::request_factory (num_requests);
+}
+
 
 static ControlProtocolDescriptor wiimote_descriptor = {
        name : "Wiimote",
@@ -58,7 +64,8 @@ static ControlProtocolDescriptor wiimote_descriptor = {
        supports_feedback : false,
        probe : probe_wiimote_protocol,
        initialize : new_wiimote_protocol,
-       destroy : delete_wiimote_protocol
+       destroy : delete_wiimote_protocol,
+       request_buffer_factory : wiimote_request_buffer_factory
 };
 
 extern "C" ARDOURSURFACE_API ControlProtocolDescriptor* protocol_descriptor () { return &wiimote_descriptor; }