1e41f4b71Sopenharmony_ci# Multimodal Input Subsystem Changelog 2e41f4b71Sopenharmony_ci 3e41f4b71Sopenharmony_ci## cl.multimodalinput.1 Implementation Error of inputMonitor Corrected 4e41f4b71Sopenharmony_ci 5e41f4b71Sopenharmony_ciWhen **inputMonitor** is used to listen for **TouchEvent**, **TouchEvent** in the callback originally references the common **TouchEvent** of arkui-js, which is not exposed externally (that is, not exported). However, **TouchEvent** of arkui-ts is used by default in IDE. Therefore, the original API becomes invalid after the ArtTS syntax update. To solve this problem, you need to change the **TouchEvent** reference in **inputMonitor** to **TouchEvent** of the multimodal input. 6e41f4b71Sopenharmony_ci 7e41f4b71Sopenharmony_ci**Change Impact** 8e41f4b71Sopenharmony_ci 9e41f4b71Sopenharmony_ciThe field name is changed. The value of the original field is **undefined**. 10e41f4b71Sopenharmony_ci 11e41f4b71Sopenharmony_ci**Key API/Component Changes** 12e41f4b71Sopenharmony_ci 13e41f4b71Sopenharmony_ciIf you want to use **inputMonitor** to listen for **TouchEvent** of the multimodal input, you need to import the **touchEvent** class of the multimodal input separately. 14e41f4b71Sopenharmony_ci 15e41f4b71Sopenharmony_ci```ts 16e41f4b71Sopenharmony_ciimport touchEvent from '@ohos.multimodalInput.touchEvent'; 17e41f4b71Sopenharmony_citry { 18e41f4b71Sopenharmony_ci inputMonitor.on('touch', (touchEvent: touchEvent.TouchEvent) => { 19e41f4b71Sopenharmony_ci console.log(`Monitor on success ${JSON.stringify(touchEvent)}`); 20e41f4b71Sopenharmony_ci return false; 21e41f4b71Sopenharmony_ci }); 22e41f4b71Sopenharmony_ci} catch (error) { 23e41f4b71Sopenharmony_ci console.log(`Monitor on failed, error: ${JSON.stringify(error, [`code`, `message`])}`); 24e41f4b71Sopenharmony_ci} 25e41f4b71Sopenharmony_ci``` 26e41f4b71Sopenharmony_ci 27e41f4b71Sopenharmony_ci**Adaptation Guide** 28e41f4b71Sopenharmony_ci 29e41f4b71Sopenharmony_ciSince OpenHarmony 4.0.11.5, change the field names of **TouchEvent** to those of the multimodal input. 30e41f4b71Sopenharmony_ci 31e41f4b71Sopenharmony_ci| Before Change | After Change | 32e41f4b71Sopenharmony_ci| -------------- | ---------- | 33e41f4b71Sopenharmony_ci| type | action | 34e41f4b71Sopenharmony_ci| timestamp | actionTime | 35e41f4b71Sopenharmony_ci| deviceId | deviceId | 36e41f4b71Sopenharmony_ci| globalX | screenX | 37e41f4b71Sopenharmony_ci| globalY | screenY | 38e41f4b71Sopenharmony_ci| localX | windowX | 39e41f4b71Sopenharmony_ci| localY | windowY | 40e41f4b71Sopenharmony_ci| force | pressure | 41e41f4b71Sopenharmony_ci| touches | touches | 42e41f4b71Sopenharmony_ci| changedTouches | touches | 43