mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-17 06:00:03 +02:00
Disable GUI related events
This commit is contained in:
@@ -162,8 +162,21 @@ class DispatchDataConverter : DefaultDataConverter {
|
|||||||
const void* data) {
|
const void* data) {
|
||||||
// There are some events that need specific structs that we can't simply
|
// There are some events that need specific structs that we can't simply
|
||||||
// serialize as a string because they might contain null bytes
|
// serialize as a string because they might contain null bytes
|
||||||
// TODO: More of these structs
|
|
||||||
switch (opcode) {
|
switch (opcode) {
|
||||||
|
// TODO: Add GUI support. These events are just disabled for now to
|
||||||
|
// ensure everything else works first.
|
||||||
|
case effEditOpen:
|
||||||
|
case effEditTop:
|
||||||
|
case effEditIdle:
|
||||||
|
case effEditClose:
|
||||||
|
case effEditGetRect:
|
||||||
|
std::cerr << "Got opcode "
|
||||||
|
<< opcode_to_string(true, opcode)
|
||||||
|
.value_or(std::to_string(opcode))
|
||||||
|
<< "), ignoring..." << std::endl;
|
||||||
|
|
||||||
|
return std::nullopt;
|
||||||
|
break;
|
||||||
case effGetChunk:
|
case effGetChunk:
|
||||||
return WantsChunkBuffer();
|
return WantsChunkBuffer();
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user