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?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...