Jump to content

Recommended Posts

Posted (edited)

Hmm, I hadn't considered that. Ok, so if I remove the dimmed parameter and try using rgb parameters in both the EVENT_BUTTON and EVENT_LED definitions like so:

 

EVENT_LED     id=1001  hw_id=1001  bank=1  rgb=1:0:0  fwd_to_lcd=1  lcd_pos=1:20:1    label="%3d %p"
EVENT_BUTTON  id=1001  hw_id=1001  bank=1  rgb=15:0:0 fwd_id=LED:1001  fwd_to_lcd=1  type=NoteOn key=36 chn=1 lcd_pos=1:33:2   label="%3i %N@(1:1:2)%B"

The Led is off by default and when the button is pressed, it lights up dimly (the 1:0:0) value. So it seems like the rgb value from EVENT_BUTTON will not override the EVENT_LED...

 

Or did I misunderstand your suggestion?

Edited by jab
  • Replies 53
  • Created
  • Last Reply

Top Posters In This Topic

Posted (edited)

Now you have a similar situation like before.

Leave out the rgb parameter in the led event because it is already forwarded by the button event

and by what you said, it seems that the forwarded value has a lower priority.

Edited by Marxon
Posted

Hm, so if I remove the RGB parameter from the LED event, how do I set the LED to be dimmed slightly when there's the button isn't pressed?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...