void faderMoved(byte fader, byte value) { faderMoved((int) fader, (int) value);
private void faderMoved(int fader, int value) { ErrorMsg.reportStatus("FaderMoved: fader: " + fader + ", value: " + value); if (fader == 32) { faderBank = (faderBank + 1) % numFaderBanks; faderHighlight(); return; } if (fader == 31) { faderBank = faderBank - 1; if (faderBank < 0) faderBank = numFaderBanks - 1; faderHighlight(); return; } if (fader > 16) fader = (byte) (0 - (fader - 16) - (faderBank * 16)); else fader += (faderBank * 16);  if (recentWidget != null) { SysexWidget w = recentWidget; if (fader == faderBank * 16) fader = lastFader; if (w.getSliderNum() == fader && w.isShowing()) { if (w.getNumFaders() == 1) w.setValue((int) (w.getValueMin() + ((float) (value) / 127 * (w.getValueMax() - w.getValueMin())))); else w.setFaderValue(fader, (int) value); w.repaint(); return; } } lastFader = fader;  for (int i = 0; i < widgetList.size(); i++) { SysexWidget w = (SysexWidget) widgetList.get(i); if ((w.getSliderNum() == fader || (w.getSliderNum() < fader && w.getSliderNum() + w.getNumFaders() > fader)) && w.isShowing()) { if (w.getNumFaders() == 1) w.setValue((int) (w.getValueMin() + ((float) (value) / 127 * (w.getValueMax() - w.getValueMin())))); else w.setFaderValue(fader, (int) value); w.repaint(); recentWidget = w; return; } }
    void faderMoved(byte fader, byte value) {	faderMoved((int) fader, (int) value);    }