1e41f4b71Sopenharmony_ci# Multimodal Subsystem Changelog
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ci## Permission Change in @ohos.multimodalInput.inputEventClient.d.ts
4e41f4b71Sopenharmony_ci
5e41f4b71Sopenharmony_ci**Access Level**
6e41f4b71Sopenharmony_ci
7e41f4b71Sopenharmony_ciSystem API
8e41f4b71Sopenharmony_ci
9e41f4b71Sopenharmony_ci**Reason for Change**
10e41f4b71Sopenharmony_ci
11e41f4b71Sopenharmony_ciThe **ohos.permission.INJECT_INPUT_EVENT** permission is added to all APIs in the @ohos.multimodalInput.inputEventClient.d.ts file to meet security requirements.
12e41f4b71Sopenharmony_ci
13e41f4b71Sopenharmony_ci**Change Impact**
14e41f4b71Sopenharmony_ci
15e41f4b71Sopenharmony_ciThis change is a non-compatible change. After the permission change, the compilation is successful, but the original functions of the APIs cannot be used properly. When an API is called, error code 201 is reported.
16e41f4b71Sopenharmony_ci
17e41f4b71Sopenharmony_ci**Start API Level**
18e41f4b71Sopenharmony_ci
19e41f4b71Sopenharmony_ci12
20e41f4b71Sopenharmony_ci
21e41f4b71Sopenharmony_ci**Change Since**
22e41f4b71Sopenharmony_ci
23e41f4b71Sopenharmony_ciOpenHarmony SDK 5.0.0.33
24e41f4b71Sopenharmony_ci
25e41f4b71Sopenharmony_ci**Key API/Component Changes**
26e41f4b71Sopenharmony_ci
27e41f4b71Sopenharmony_ci| API| Before Change| After Change|
28e41f4b71Sopenharmony_ci| ------------------------------------------------------------ | --------- | ------ |
29e41f4b71Sopenharmony_ci| function injectKeyEvent(keyEvent: KeyEventData): void;       | No permission is required.| The **ohos.permission.INJECT_INPUT_EVENT** permission is required.|
30e41f4b71Sopenharmony_ci| function injectEvent({ KeyEvent: KeyEvent }): void;          | No permission is required.| The **ohos.permission.INJECT_INPUT_EVENT** permission is required.|
31e41f4b71Sopenharmony_ci| function injectMouseEvent(mouseEvent: MouseEventData): void; | No permission is required.| The **ohos.permission.INJECT_INPUT_EVENT** permission is required.|
32e41f4b71Sopenharmony_ci| function injectTouchEvent(touchEvent: TouchEventData): void; | No permission is required.| The **ohos.permission.INJECT_INPUT_EVENT** permission is required.|
33e41f4b71Sopenharmony_ci| function permitInjection(result: boolean): void;             | No permission is required.| The **ohos.permission.INJECT_INPUT_EVENT** permission is required.|
34e41f4b71Sopenharmony_ci
35e41f4b71Sopenharmony_ci**Adaptation Guide**
36e41f4b71Sopenharmony_ci
37e41f4b71Sopenharmony_ciDeclare the **ohos.permission.INJECT_INPUT_EVENT** permission during application development.
38