Method ClickKey
- Namespace
- MaaFramework.Binding
- Assembly
- MaaFramework.Binding.Native.dll
ClickKey(int)
Clicks a key.
For adb controller, keyCode
is from android key event.
For win32 controller, keyCode
is from windows virtual key.
public MaaJob ClickKey(int keyCode)
Parameters
keyCode
int-
The code of the key.
Returns
- MaaJob
-
A click key MaaFramework.Binding.MaaJob.
Remarks
Wrapper of MaaFramework.Binding.Interop.Native.MaaController.MaaControllerPostClickKey(System.IntPtr,System.Int32).