Method PressKey Deprecated
Use ClickKey() instead.
- Namespace
- MaaFramework.Binding
- Assembly
- MaaFramework.Binding.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.")]
MaaJob PressKey(int keyCode)Parameters
keyCodeint-
The code of the key.
Returns
- MaaJob
-
A press key MaaFramework.Binding.MaaJob.