Enables listening for combination key events. When a combination key event that meets the specified conditions occurs, **keyOption** will be passed as an input parameter to **callback**.
Enables listening for combination key events. When a combination key event that meets the specified conditions occurs, **keyOptions** will be passed as an input parameter to **callback**.
@@ -27,24 +27,24 @@ Enables listening for combination key events. When a combination key event that
| Name | Type | Mandatory | Description |
| -------- | -------- | -------- | -------- |
| type | string | Yes | Type of the key input event to listen for. Only **key** is supported. |
| keyOption | [KeyOption](#keyoption) | Yes | Key option, which specifies the condition for combination key input. |
| callback | Callback<KeyOption> | Yes | Callback function. When a key input event that meets the specified options occurs, **keyOption** will be passed as an input parameter to **callback**. |
| keyOptions | [keyOptions](#keyOptions) | Yes | Key option, which specifies the condition for combination key input. |
| callback | KeyOptions | Yes | Callback function. When a key input event that meets the specified options occurs, **keyOptions** will be passed as an input parameter to **callback**. |
> The initial APIs of this module are supported since API version 9. Newly added APIs will be marked with a superscript to indicate their earliest API version.
> The initial APIs of this module are supported since API version 9. Newly added APIs will be marked with a superscript to indicate their earliest API version.
Represents key events reported by an input device.
> **NOTE**<br>
> The initial APIs of this module are supported since API version 9. Newly added APIs will be marked with a superscript to indicate their earliest API version.
Represents mouse events reported by an input device.
> **NOTE**<br>
> The initial APIs of this module are supported since API version 9. Newly added APIs will be marked with a superscript to indicate their earliest API version.
| screenX | number | Yes| No| X coordinate of the mouse pointer on the screen.|
| screenY | number | Yes| No| Y coordinate of the mouse pointer on the screen.|
| windowX | number | Yes| No| X coordinate of the mouse pointer in the window.|
| windowY | number | Yes| No| Y coordinate of the mouse pointer in the window.|
| rawDeltaX | number | Yes| No| X axis offset relative to the previous reported mouse pointer position. When the mouse pointer is at the edge of the screen, the value may be less than the difference of the X coordinate reported twice.|
| rawDeltaY | number | Yes| No| Y axis offset relative to the previous reported mouse pointer position.|
| button | Button | Yes| No| Button that is currently pressed or released.|
| pressedButtons | Button[] | Yes| No| Button that is being pressed.|
| axes | AxisValue[] | Yes| No| All axis data contained in the event.|
| pressedKeys | KeyCode[] | Yes| No| List of pressed keys.|
| ctrlKey | boolean | Yes| No| Whether ctrlKey is being pressed.|
| altKey | boolean | Yes| No| Whether altKey is being pressed.|
| shiftKey | boolean | Yes| No| Whether shiftKey is being pressed.|
| logoKey | boolean | Yes| No| Whether logoKey is being pressed.|
| fnKey | boolean | Yes| No| Whether fnKey is being pressed.|
Represents touch events reported by an input device.
> **NOTE**<br>
> The initial APIs of this module are supported since API version 9. Newly added APIs will be marked with a superscript to indicate their earliest API version.
<tbody><trid="row17736152318398"><tdclass="cellrowborder"valign="top"width="25%"headers="mcps1.2.5.1.1 "><pid="p1110983610395"><aname="p1110983610395"></a><aname="p1110983610395"></a>Full code base (for mini, small, and standard systems)</p>
<trid="row14814218214"><tdclass="cellrowborder"valign="top"width="25%"headers="mcps1.2.5.1.1 "><pid="p2481132228"><aname="p2481132228"></a><aname="p2481132228"></a>Standard system solution (binary)</p>
<trid="row18518114121312"><tdclass="cellrowborder"valign="top"width="25%"headers="mcps1.2.5.1.1 "><pid="p4437184283419"><aname="p4437184283419"></a><aname="p4437184283419"></a>Full code base (for mini, small, and standard systems)</p>
<trid="row461814235717"><tdclass="cellrowborder"valign="top"width="25%"headers="mcps1.2.5.1.1 "><pid="p0618124216579"><aname="p0618124216579"></a><aname="p0618124216579"></a>Hi3516 standard system solution (binary)</p>
<trid="row162201392319"><tdclass="cellrowborder"valign="top"width="25%"headers="mcps1.2.5.1.1 "><pid="p2220191315"><aname="p2220191315"></a><aname="p2220191315"></a>RK3568 standard system solution (binary)</p>
| LTS Code| Version Information| Site| SHA-256 Verification Code|
| -------- | -------- | -------- | -------- |
| Full code base (for mini, small, and standard systems)| 3.0 | [Download](https://repo.huaweicloud.com/openharmony/os/3.0/code-v3.0-LTS.tar.gz) | [Download](https://repo.huaweicloud.com/openharmony/os/3.0/code-v3.0-LTS.tar.gz.sha256)|
| Standard system solution (binary)| 3.0 | [Download](https://repo.huaweicloud.com/openharmony/os/3.0/standard.tar.gz)| [Download](https://repo.huaweicloud.com/openharmony/os/3.0/standard.tar.gz.sha256)|
| **Source code of the Latest Release**| **Version Information**| **Site**| **SHA-256 Verification Code**|
| Full code base (for mini, small, and standard systems)| 3.2 Beta1 | [Download](https://repo.huaweicloud.com/openharmony/os/3.2-Beta1/code-v3.2-Beta1.tar.gz)| [Download](https://repo.huaweicloud.com/openharmony/os/3.2-Beta1/code-v3.2-Beta1.tar.gz.sha256)|
| Hi3516 standard system solution (binary)| 3.2 Beta1 | [Download](https://repo.huaweicloud.com/openharmony/os/3.2-Beta1/standard_hi3516.tar.gz)| [Download](https://repo.huaweicloud.com/openharmony/os/3.2-Beta1/standard_hi3516.tar.gz.sha256)|
| RK3568 standard system solution (binary)| 3.2 Beta1 | [Download](https://repo.huaweicloud.com/openharmony/os/3.2-Beta1/standard_rk3568.tar.gz)| [Download](https://repo.huaweicloud.com/openharmony/os/3.1.1/standard_rk3568.tar.gz.sha256)|