mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-19 21:10:11 -07:00
Changes
- [Custom controls] Add special buttons: Scroll up, Scroll down. - [Custom controls] Change shift press mode to switch hold state. - Set GL4ES 1.1.5 as default to fix following bugs: + Banner, sheep, fish, etc... color issue. + Clouds rendering issue.
This commit is contained in:
parent
ed48637903
commit
13d47bf015
4 changed files with 24 additions and 4 deletions
|
|
@ -81,6 +81,14 @@ public class MainActivity extends BaseMainActivity {
|
|||
setRightOverride(isDown);
|
||||
}
|
||||
break;
|
||||
|
||||
case ControlData.SPECIALBTN_SCROLLDOWN:
|
||||
CallbackBridge.sendScroll(0, 0.1d);
|
||||
break;
|
||||
|
||||
case ControlData.SPECIALBTN_SCROLLUP:
|
||||
CallbackBridge.sendScroll(0, -0.1d);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -97,6 +105,8 @@ public class MainActivity extends BaseMainActivity {
|
|||
specialButtons[2].specialButtonListener
|
||||
= specialButtons[3].specialButtonListener
|
||||
= specialButtons[5].specialButtonListener
|
||||
= specialButtons[6].specialButtonListener
|
||||
= specialButtons[7].specialButtonListener
|
||||
= mTouchListener;
|
||||
|
||||
mControlLayout = findViewById(R.id.main_control_layout);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue