1e41f4b71Sopenharmony_ci# Multimodal Subsystem Changelog 2e41f4b71Sopenharmony_ci 3e41f4b71Sopenharmony_ci## cl.multimodalinput.1 Permission Change of the OH_Input_GetKeyState API in the oh_input_manager.h File 4e41f4b71Sopenharmony_ci 5e41f4b71Sopenharmony_ci**Access Level** 6e41f4b71Sopenharmony_ci 7e41f4b71Sopenharmony_ciPublic API 8e41f4b71Sopenharmony_ci 9e41f4b71Sopenharmony_ci**Reason for Change** 10e41f4b71Sopenharmony_ci 11e41f4b71Sopenharmony_ciAccording 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. 12e41f4b71Sopenharmony_ci 13e41f4b71Sopenharmony_ci**Change Impact** 14e41f4b71Sopenharmony_ci 15e41f4b71Sopenharmony_ciThis change is a non-compatible change. 16e41f4b71Sopenharmony_ciBefore change: The API can query keys that can or cannot be entered. 17e41f4b71Sopenharmony_ciAfter 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. 18e41f4b71Sopenharmony_ci 19e41f4b71Sopenharmony_ci**Start API Level** 20e41f4b71Sopenharmony_ci 21e41f4b71Sopenharmony_ci12 22e41f4b71Sopenharmony_ci 23e41f4b71Sopenharmony_ci**Change Since** 24e41f4b71Sopenharmony_ci 25e41f4b71Sopenharmony_ciOpenHarmony SDK 5.0.0.38 26e41f4b71Sopenharmony_ci 27e41f4b71Sopenharmony_ci**Key API/Component Changes** 28e41f4b71Sopenharmony_ci 29e41f4b71Sopenharmony_ci| API| Before Change| After Change| 30e41f4b71Sopenharmony_ci| ------------------------------------------------------------ | --------- | ------ | 31e41f4b71Sopenharmony_ci| Input_Result OH_Input_GetKeyState(struct Input_KeyState* keyState); | All keys can be queried.| Only keys that cannot be entered can be queried.| 32e41f4b71Sopenharmony_ci 33e41f4b71Sopenharmony_ci**Adaptation Guide** 34e41f4b71Sopenharmony_ci 35e41f4b71Sopenharmony_ciUse the API to query only the keys that cannot be entered. 36