1e41f4b71Sopenharmony_ci# @ohos.multimodalInput.intentionCode (Intention Code) 2e41f4b71Sopenharmony_ci 3e41f4b71Sopenharmony_ciThe **intentionCode** module maps the original events of the keyboard to intention codes for normalized interaction. For example, if the mapped event of the space bar on the keyboard is **INTENTION_SELECT**, the intent is to select an item. 4e41f4b71Sopenharmony_ci 5e41f4b71Sopenharmony_ci> **NOTE** 6e41f4b71Sopenharmony_ci> 7e41f4b71Sopenharmony_ci> The initial APIs of this module are supported since API version 10. Newly added APIs will be marked with a superscript to indicate their earliest API version. 8e41f4b71Sopenharmony_ci 9e41f4b71Sopenharmony_ci## Modules to Import 10e41f4b71Sopenharmony_ci 11e41f4b71Sopenharmony_ci```js 12e41f4b71Sopenharmony_ciimport { IntentionCode } from '@kit.InputKit'; 13e41f4b71Sopenharmony_ci``` 14e41f4b71Sopenharmony_ci 15e41f4b71Sopenharmony_ci## IntentionCode 16e41f4b71Sopenharmony_ci 17e41f4b71Sopenharmony_ciEnumerates intention codes. 18e41f4b71Sopenharmony_ci 19e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 20e41f4b71Sopenharmony_ci 21e41f4b71Sopenharmony_ci**System capability**: SystemCapability.MultimodalInput.Input.Core 22e41f4b71Sopenharmony_ci 23e41f4b71Sopenharmony_ci| Name | Value | Description | 24e41f4b71Sopenharmony_ci| -------------------------------- | ------ | --------------------------- | 25e41f4b71Sopenharmony_ci| INTENTION_UNKNOWN | -1 | Unknown intent | 26e41f4b71Sopenharmony_ci| INTENTION_UP | 1 | Up | 27e41f4b71Sopenharmony_ci| INTENTION_DOWN | 2 | Down | 28e41f4b71Sopenharmony_ci| INTENTION_LEFT | 3 | Left | 29e41f4b71Sopenharmony_ci| INTENTION_RIGHT | 4 | Right | 30e41f4b71Sopenharmony_ci| INTENTION_SELECT | 5 | Select | 31e41f4b71Sopenharmony_ci| INTENTION_ESCAPE | 6 | Escape | 32e41f4b71Sopenharmony_ci| INTENTION_BACK | 7 | Back | 33e41f4b71Sopenharmony_ci| INTENTION_FORWARD | 8 | Forward | 34e41f4b71Sopenharmony_ci| INTENTION_MENU | 9 | Menu | 35e41f4b71Sopenharmony_ci| INTENTION_PAGE_UP | 11 | Page up | 36e41f4b71Sopenharmony_ci| INTENTION_PAGE_DOWN | 12 | Page down | 37e41f4b71Sopenharmony_ci| INTENTION_ZOOM_OUT | 13 | Zoom out | 38e41f4b71Sopenharmony_ci| INTENTION_ZOOM_IN | 14 | Zoom in | 39