1# Multimodal Subsystem Changelog
2
3## cl.multimodalinput.1 Permission Change of the OH_Input_GetKeyState API in the oh_input_manager.h File
4
5**Access Level**
6
7Public API
8
9**Reason for Change**
10
11According to the security requirements, the keys that can be queried by the **OH_Input_GetKeyState** API are restricted to the range of keys that cannot be entered.
12
13**Change Impact**
14
15This change is a non-compatible change.
16Before change: The API can query keys that can or cannot be entered.
17After change: The API can query only the keys that cannot be entered. When the keys that can be entered are queried, error code 401 is returned.
18
19**Start API Level**
20
2112
22
23**Change Since**
24
25OpenHarmony SDK 5.0.0.38
26
27**Key API/Component Changes**
28
29| API| Before Change| After Change|
30| ------------------------------------------------------------ | --------- | ------ |
31| Input_Result OH_Input_GetKeyState(struct Input_KeyState* keyState); | All keys can be queried.| Only keys that cannot be entered can be queried.|
32
33**Adaptation Guide**
34
35Use the API to query only the keys that cannot be entered.
36