• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Multimodal Subsystem Changelog
2
3## cl.multimodalinput.1 Change in OH_Input_AddInputEventInterceptor and OH_Input_AddKeyEventInterceptor Specifications
4
5**Access Level**
6
7Public API
8
9**Reason for the Change**
10
11Restrictions on intercepted events are added for **OH_Input_AddInputEventInterceptor** and **OH_Input_AddKeyEventInterceptor** in the **oh_input_manager.h** file.
12
13**Change Impact**
14
15This change does not require application adaptation.
16
17Before change: Interception of key events and input events takes effect immediately after being enabled.
18
19After change: Interception of key events takes effect only when the application gains the focus. Interception of input events takes effect only when the input event hits the application window.
20
21**Start API Level**
22
23API 12
24
25**Change Since**
26
27OpenHarmony SDK 5.1.0.58
28
29**Key API/Component Changes**
30
31The following APIs in the **oh_input_manager.h** file are modified:
32
33- [OH_Input_AddInputEventInterceptor](../../../application-dev/reference/apis-input-kit/capi-oh-input-manager-h.md#oh_input_addinputeventinterceptor)
34- [OH_Input_AddKeyEventInterceptor](../../../application-dev/reference/apis-input-kit/capi-oh-input-manager-h.md#oh_input_addkeyeventinterceptor)
35
36**Adaptation Guide**
37
38No adaptation is required.
39