Trevliga Spel forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Strange behavior on Press + Rotate

2 posters

Go down

Strange behavior on Press + Rotate Empty Strange behavior on Press + Rotate

Post by thx538 Tue Nov 28, 2023 1:24 pm

Hello,
I have the following control definition on a dial for the press+rotate action.
Strange behavior on Press + Rotate Captur10

and the following in the translation file :
Code:
  <Default send="yes" receive="no" display="" image="" displayonsend="yes" useclosestvalueonreceive="no"/>
  <StepValues>
    <Step value="63" display="Dev.: Previous"/>
    <Step value="65" display="Dev.: Next"/>
  </StepValues>
</MidiSteps>
At this stage it works, values in the translation files are displayed correctly.

Now, if I change the CC# (from 28 to 29 ... or any other value), the translation file is not displayed. It stays on the "Dev.: Previous" (value 63) regardless of the turn (CW/CCW).

Atteched : log file.
Thanks for your support
Attachments
Strange behavior on Press + Rotate Attachment
pluginlog.txt You don't have permission to download attachments.(12 Kb) Downloaded 0 times

thx538

Posts : 128
Join date : 2023-10-23

Back to top Go down

Strange behavior on Press + Rotate Empty Re: Strange behavior on Press + Rotate

Post by Admin Tue Nov 28, 2023 7:49 pm

To be honest, I'm surprised that anything works when using a translation file with CW/CCW. Shocked

The code isn't prepared for it and is actually checking the state of the CC used in the ordinary Control Change configuration, not the CCs used for the CW/CCW configuration.

The easiest solution would be to remove the Translation file option when you select CW/CCW, but I guess some people would prefer another solution. Very Happy
Admin
Admin
Admin

Posts : 1235
Join date : 2020-03-26

https://trevligaspel.forumotion.eu

Back to top Go down

Strange behavior on Press + Rotate Empty Re: Strange behavior on Press + Rotate

Post by thx538 Wed Nov 29, 2023 3:25 pm

Thank you for the clarification.
Admin wrote:The easiest solution would be to remove the Translation file option when you select CW/CCW, but I guess some people would prefer another solution. Strange behavior on Press + Rotate Icon_biggrin
Given that we know the ordinary CC is used, I think we can live with it as it is. Strange behavior on Press + Rotate 1f61c

thx538

Posts : 128
Join date : 2023-10-23

Back to top Go down

Strange behavior on Press + Rotate Empty Re: Strange behavior on Press + Rotate

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum