Johannes Mueller
2017-05-29 11:55:04 UTC
Hello,
I am working on a control surface to support the ShttlePRO v2 device [1] on
Linux. The device is working well using the input event struct of linux/
inputs.h.
By now the handling of the events is hard coded and doing things that make
sense to my work-flows. However I'd like to make it user configurable
although I am not sure how to do it exactly (how to configure things that are
not actions, for example).
But to begin with I have a question regarding the ControlProtocol API: What's
the deal with void AbstractUI<RequestObject>::do_request(RequestObject*)? I
had to implement it to make my class instantiatable, so I just copied the
code from OSC::do_request() without actually knowing what it means. Can
someone give me a hint, please?
You can take a glimpse on the code on
https://github.com/Ardour/ardour/compare/master...johannes-mueller:shuttlepro
Any other hints welcome.
Thanks
Johannes
_________
[1]: http://www.contourdesign.com/UK/product/shuttlepro-v2/
I am working on a control surface to support the ShttlePRO v2 device [1] on
Linux. The device is working well using the input event struct of linux/
inputs.h.
By now the handling of the events is hard coded and doing things that make
sense to my work-flows. However I'd like to make it user configurable
although I am not sure how to do it exactly (how to configure things that are
not actions, for example).
But to begin with I have a question regarding the ControlProtocol API: What's
the deal with void AbstractUI<RequestObject>::do_request(RequestObject*)? I
had to implement it to make my class instantiatable, so I just copied the
code from OSC::do_request() without actually knowing what it means. Can
someone give me a hint, please?
You can take a glimpse on the code on
https://github.com/Ardour/ardour/compare/master...johannes-mueller:shuttlepro
Any other hints welcome.
Thanks
Johannes
_________
[1]: http://www.contourdesign.com/UK/product/shuttlepro-v2/
--
https://github.com/johannes-mueller/
https://github.com/johannes-mueller/