We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a036e60 commit da002e4Copy full SHA for da002e4
WebSource/web.cpp
@@ -64,7 +64,11 @@ void WEB_setParameter(int pid, float value){
64
}
65
66
void WEB_setButtons(int values){
67
- buttons = values;
+ if(values != buttons){
68
+ if((buttons&(1<<PUSHBUTTON)) != (values&(1<<PUSHBUTTON)))
69
+ getInitialisingPatchProcessor()->patch->buttonChanged(PUSHBUTTON, values&(1<<PUSHBUTTON)?4095:0, 0);
70
+ buttons = values;
71
+ }
72
73
74
int WEB_getButtons(){
0 commit comments