Skip to content

HIDMKtlDevice and its HID should be decoupled for flexibility #236

@adcxyz

Description

@adcxyz

in the new soft paging concept (see issue #48), multiple MKtls are used as software pages for the same physical controller. this works with MIDI and OSC, but not immediately with HIDs:
The MKtl's element actions are put into the HID inside the mktlDevice, which makes its use less flexible.
One way around this would be using the HID object only as an information container (so it can be shared by multiple MKtls), and then having a single HIDFunc which listen to the HID's address, and routs the incoming messages to the elements by dict lookup, as in MIDIMKtlDevice.
Then MKtl device polyphony/paging is only turning the HIDFuncs on and off!

Comments welcome :-)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions