魔戒硬件控制开启自动驾驶
This commit is contained in:
@@ -187,6 +187,7 @@ public class MainLauncherActivity extends MainActivity implements IMogoIntentLis
|
||||
if (keyCode == KeyEvent.KEYCODE_VOLUME_UP) { //向上长按
|
||||
// ToastUtils.showShort("长按 ↑↑↑");
|
||||
// CallerHmiManager.INSTANCE.showMaskView(); //长按出现蒙层,
|
||||
CallerAutoPilotManager.INSTANCE.setControlAutopilotCarAuto(true);
|
||||
|
||||
return true;
|
||||
} else if (keyCode == KeyEvent.KEYCODE_VOLUME_DOWN) { //下和中间键盘长按,减速为-2
|
||||
|
||||
Reference in New Issue
Block a user