NXT Premium - Tempo on logical layer?

Moderator: AdminGroup

analog
Posts: 18
Joined: Wed Mar 09, 2022 17:45
Has thanked: 5 times
Been thanked: 1 time

NXT Premium - Tempo on logical layer?

Postby analog » Fri Mar 11, 2022 8:07

Perhaps I am going about this the wrong way, however, I'd like to have :

- button with "tempo"( ie long press) function that triggers a "button alt" (ie toggle switch) function when the long press is engaged.
is this possible?

I can set a button to have tempo functionality, but the options on the logical layer offer a more limited set of functions compared to the physical.

User avatar
Victorus
Posts: 1677
Joined: Wed Sep 21, 2011 13:25
Has thanked: 374 times
Been thanked: 257 times

Re: NXT Premium - Tempo on logical layer?

Postby Victorus » Fri Mar 11, 2022 16:41

Use Boolean functions. 2OR enables to set logical button as physical one.
https://disk.yandex.ru/i/fmHDZz9ph044Ww User guide. Slightly obsolete. Booleans in Modern FWs have other interface. In this guide read about JMP function.
"JMP
By default logical layer button lines can use restricted function set: button, keystroke
mapping, HAT, macro launch etc. (Fig. 4.61).
Generators, trimmers, encoders and a lot of other useful functions are enabled for
physical layer lines only. Thus you can not assign such function to line that will act
when you press button with Shift modifier.
Jumper function allows to ignore these restrictions. It maps logical line to physical
layer.
2OR.jpg

Next JPM GEn)))
Open Boolean tab. Press any cell. Select 2OR function. Set your LOGICAL line index as one input. Another does not matter. Set desired line index with PHYSICAL type. Select BAlt for this line on Buttons - Physical. Enjoy!
Руководство пользователя по контроллерам VKB (VKB controllers User Guide) Ru&En
https://disk.yandex.ru/d/LlqiYtIrIetBOQ

analog
Posts: 18
Joined: Wed Mar 09, 2022 17:45
Has thanked: 5 times
Been thanked: 1 time

Re: NXT Premium - Tempo on logical layer?

Postby analog » Sat Mar 12, 2022 7:15

Thank you that's very useful. It is not working for me though. I assume I am doing it wrong. My apologies, I seem to be struggling with learning this application.

To test out this function I have tried to follow your instructions as follows

Open Boolean tab
Select first cell
Select Boolean '2 OR'. Top input set to logical 11. Output set to physical 50
save/flash onto device

BoolTab.PNG



After setting this I have tried
- Profile->buttons->physical : physical 11 to logical 11 as a simple button. I assume it is supposed to according to the cell that was set in the Boolean tab?
- save/flash onto device
result: physical 50 is not being executed when I press on physical 11

btn_L11toP50.PNG




I have also tried:
- Mapping physical or virtual or logical 11 to a boolean JMP operation with physical 50 as the output
- save/flash onto device
bool_L11toP50.PNG


in both cases, physical 50 is not being executed when I press physical 11. Am I missing something?

analog
Posts: 18
Joined: Wed Mar 09, 2022 17:45
Has thanked: 5 times
Been thanked: 1 time

Re: NXT Premium - Tempo on logical layer?

Postby analog » Sat Mar 12, 2022 8:39

I was confused between JMP function vs boolean tab.

Anyway. It's working now. Thank you for showing me this boolean tab feature. I would have never found it otherwise. Being able to map logical to physical is a big help.

Final solution for longpress button 11 to trigger switching to a function layer. (slightly different to my original requirement):

- Profile->Physical. Set physical 11=tempo with but2=logical 49
wiz_11_tempo.PNG


- Profile->Boolean. Create cell with 2 OR function. Set inputs both to logical 49. set output to physical 50
bool.PNG


-Profile->Physical. Set physical 50 = SHIFT. Mode to "Alternate"
wiz_50_SHIFT.PNG


-Action->Set

Long press on 11 now changes shift state/layers


Return to “Manuals and Howtos”

Who is online

Users browsing this forum: No registered users and 9 guests