Custom controls changes

- Add key combination: Alt, Control, Shift.
- Add new special button: middle mouse.
- Allow rename a special button.
This commit is contained in:
khanhduytran0 2020-11-21 11:53:53 +07:00
parent c25b7bd768
commit dd6d080b4e
7 changed files with 69 additions and 35 deletions

View file

@ -52,9 +52,6 @@ public class MainActivity extends BaseMainActivity implements OnClickListener, O
this.toggleControlButton.setOnClickListener(this);
this.zoomButton.setVisibility(mVersionInfo.optifineLib == null ? View.GONE : View.VISIBLE);
ControlData[] specialButtons = ControlData.getSpecialButtons();
specialButtons[1].specialButtonListener = this;
// toggleGui(null);
onClick(toggleControlButton);
}