1# @ohos.multimodalInput.intentionCode (Intention Code) 2 3The **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. 4 5> **NOTE** 6> 7> 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. 8 9## Modules to Import 10 11```js 12import { IntentionCode } from '@kit.InputKit'; 13``` 14 15## IntentionCode 16 17Enumerates intention codes. 18 19**Atomic service API**: This API can be used in atomic services since API version 11. 20 21**System capability**: SystemCapability.MultimodalInput.Input.Core 22 23| Name | Value | Description | 24| -------------------------------- | ------ | --------------------------- | 25| INTENTION_UNKNOWN | -1 | Unknown intent | 26| INTENTION_UP | 1 | Up | 27| INTENTION_DOWN | 2 | Down | 28| INTENTION_LEFT | 3 | Left | 29| INTENTION_RIGHT | 4 | Right | 30| INTENTION_SELECT | 5 | Select | 31| INTENTION_ESCAPE | 6 | Escape | 32| INTENTION_BACK | 7 | Back | 33| INTENTION_FORWARD | 8 | Forward | 34| INTENTION_MENU | 9 | Menu | 35| INTENTION_PAGE_UP | 11 | Page up | 36| INTENTION_PAGE_DOWN | 12 | Page down | 37| INTENTION_ZOOM_OUT | 13 | Zoom out | 38| INTENTION_ZOOM_IN | 14 | Zoom in | 39