* rotary red button green button
* 0 sink Ursarium mute select as default (or assign to client selected by touch)
* 1 sink Catarium mute dtto
- * 2 - - -
+ * 2 sink Compress - dtto
* 3 - - -
* 4 MPD mute play/pause/stop
* 5 Albireo mute -
{
noct_set_button(8, 1);
noct_set_button(9, 0);
+ noct_set_button(10, 0);
}
else if (!strcmp(sink, "catarium"))
{
noct_set_button(8, 0);
noct_set_button(9, 1);
+ noct_set_button(10, 0);
+ }
+ else if (!strcmp(sink, "compress"))
+ {
+ noct_set_button(8, 0);
+ noct_set_button(9, 0);
+ noct_set_button(10, 1);
}
else
{
noct_set_button(8, 0);
noct_set_button(9, 0);
+ noct_set_button(10, 0);
}
}
else
switch_to = "catarium";
}
+ else if (button == 10)
+ {
+ if (!strcmp(sink, "compress"))
+ switch_to = "burrow";
+ else
+ switch_to = "compress";
+ }
if (!switch_to)
return;
break;
case 8:
case 9:
+ case 10:
update_default_sink_from_button(button, on);
break;
case 12: