Method PressKey Deprecated
Use ClickKey() instead.
- Namespace
- MaaFramework.Binding
- Assembly
- MaaFramework.Binding.Native.dll
PressKey(int) Deprecated
Use ClickKey() instead.
Presses a key.
For adb controller, keyCode
is from android key event.
For win32 controller, keyCode
is from windows virtual key.
[Obsolete("Use ClickKey() instead.")]
public MaaJob PressKey(int keyCode)
Parameters
keyCode
int-
The code of the key.
Returns
- MaaJob
-
A press key MaaFramework.Binding.MaaJob.
Remarks
Wrapper of MaaFramework.Binding.Interop.Native.MaaController.MaaControllerPostPressKey(System.IntPtr,System.Int32).