Link 2 Keyboard Widgets

Hi Guys,

I'm trying to link 2 Keyboard widgets together, for example if I turned on 1 key in the first Keyboard widget, I want the same key to be turned on in the second Keyboard widget (the 2 Keyboard widgets are in Toggle mode)

any ideas how make this ?

Normally you'd just need to give both keyboards the same linkId property, but there's a bug that breaks it, it'll be fixed in next release. If you're in a hurry you can hack something with the onValue script:

var kb_id = getProp(this, 'id'),
    target_kb_id = 'keyboard_2',
    key_value = get(id),
    target_key_id = id.replace(kb_id, target_kb_id)

set(target_key_id, key_value)

Thank you jean , but for some reason it works oppositely, when I select the 2nd keyboard it deselect the first one.
I would like when I select the the first keyboard it select the same key in the 2nd keyboard

Can you upload a session with just these two widgets ?

2 keyboards .json (3.4 KB)

It seems to behave as expected, unless I'm missing the point :
Peek 27-12-2022 22-11

No you are correct , for some reason its working fine now lol, I think I just needed to restart the OSC.

thank you jean