Hi all, I have made a little progress in mimicking hardware encoders with OSC.
I’ve hit a bit of a wall though, so any help would be greatly appreciated.
In GPIO.c where the encoder and key events are generated, in enc check, the event enc.n is looking for a value to select the right encoder (1,2,3) and enc.delta is looking for the direction (1, -1)
In key check, I’ve tried some values, enc.n (0,1,2) and enc.delta (0,1) or (1,-1), however this crashes matron.
Here’s the copy of osc.c where I’m trying to generate the events.
osc.c (4.1 KB)
And a copy of the TouchOSC file
norns-control.touchosc (494 Bytes)