Table of Contents

Method PressKey Deprecated

Namespace
MaaFramework.Binding
Assembly
MaaFramework.Binding.dll

PressKey(int) Deprecated

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

keyCode int

The code of the key.

Returns

MaaJob

A press key MaaFramework.Binding.MaaJob.