7 private bool m_bRotate;
10 protected void OnInputDeviceIsGamepad(
bool isGamepad)
13 m_bRotate = isGamepad;
17 protected void ManualCameraRotateDown()
27 protected void ManualCameraRotateUp()
38 if (!param.isManualInputEnabled)
return;
47 override bool EOnCameraInit()
50 GetGame().OnInputDeviceIsGamepadInvoker().Insert(OnInputDeviceIsGamepad);
51 GetInputManager().AddActionListener(
"ManualCameraRotate", EActionTrigger.DOWN, ManualCameraRotateDown);
52 GetInputManager().AddActionListener(
"ManualCameraRotate", EActionTrigger.UP, ManualCameraRotateUp);
57 override void EOnCameraExit()
59 GetGame().OnInputDeviceIsGamepadInvoker().Remove(OnInputDeviceIsGamepad);
60 GetInputManager().RemoveActionListener(
"ManualCameraRotate", EActionTrigger.DOWN, ManualCameraRotateDown);
61 GetInputManager().RemoveActionListener(
"ManualCameraRotate", EActionTrigger.UP, ManualCameraRotateUp);