提交 5f4715f0 编写于 作者: S shawn_he

update doc

Signed-off-by: Nshawn_he <shawn.he@huawei.com>
上级 1d092815
......@@ -20,7 +20,7 @@ enable(enable: boolean, callback: AsyncCallback&lt;void&gt;): void
Specifies whether to enable screen hopping. This API uses an asynchronous callback to return the result.
**System capability**: SystemCapability.MultimodalInput.Input.Cooperate
**System capability**: SystemCapability.MultimodalInput.Input.Cooperator
**Parameters**
......@@ -54,7 +54,7 @@ enable(enable: boolean): Promise&lt;void&gt;
Specifies whether to enable screen hopping. This API uses a promise to return the result.
**System capability**: SystemCapability.MultimodalInput.Input.Cooperate
**System capability**: SystemCapability.MultimodalInput.Input.Cooperator
**Parameters**
......@@ -92,7 +92,7 @@ start(sinkDeviceDescriptor: string, srcInputDeviceId: number, callback: AsyncCal
Starts screen hopping. This API uses an asynchronous callback to return the result.
**System capability**: SystemCapability.MultimodalInput.Input.Cooperate
**System capability**: SystemCapability.MultimodalInput.Input.Cooperator
**Parameters**
......@@ -135,7 +135,7 @@ start(sinkDeviceDescriptor: string, srcInputDeviceId: number): Promise\<void>
Starts screen hopping. This API uses a promise to return the result.
**System capability**: SystemCapability.MultimodalInput.Input.Cooperate
**System capability**: SystemCapability.MultimodalInput.Input.Cooperator
**Parameters**
......@@ -183,7 +183,7 @@ stop(callback: AsyncCallback\<void>): void
Stops screen hopping. This API uses an asynchronous callback to return the result.
**System capability**: SystemCapability.MultimodalInput.Input.Cooperate
**System capability**: SystemCapability.MultimodalInput.Input.Cooperator
**Parameters**
......@@ -215,7 +215,7 @@ stop(): Promise\<void>
Stops screen hopping. This API uses a promise to return the result.
**System capability**: SystemCapability.MultimodalInput.Input.Cooperate
**System capability**: SystemCapability.MultimodalInput.Input.Cooperator
**Return value**
......@@ -243,7 +243,7 @@ getState(deviceDescriptor: string, callback: AsyncCallback<{ state: boolean }>):
Checks whether screen hopping is enabled. This API uses an asynchronous callback to return the result.
**System capability**: SystemCapability.MultimodalInput.Input.Cooperate
**System capability**: SystemCapability.MultimodalInput.Input.Cooperator
**Parameters**
......@@ -275,7 +275,7 @@ getState(deviceDescriptor: string): Promise<{ state: boolean }>
Checks whether screen hopping is enabled. This API uses a promise to return the result.
**System capability**: SystemCapability.MultimodalInput.Input.Cooperate
**System capability**: SystemCapability.MultimodalInput.Input.Cooperator
**Parameters**
......@@ -313,7 +313,7 @@ on(type: 'cooperation', callback: AsyncCallback<{ deviceDescriptor: string, even
Enables listening for screen hopping events.
**System capability**: SystemCapability.MultimodalInput.Input.Cooperate
**System capability**: SystemCapability.MultimodalInput.Input.Cooperator
**Parameters**
......@@ -342,7 +342,7 @@ off(type: 'cooperation', callback?: AsyncCallback\<void>): void
Disables listening for screen hopping events.
**System capability**: SystemCapability.MultimodalInput.Input.Cooperate
**System capability**: SystemCapability.MultimodalInput.Input.Cooperator
**Parameters**
......@@ -386,7 +386,7 @@ try {
Enumerates screen hopping event.
**System capability**: SystemCapability.MultimodalInput.Input.Cooperate
**System capability**: SystemCapability.MultimodalInput.Input.Cooperator
| Name | Value | Description |
| -------- | --------- | ----------------- |
......
......@@ -108,7 +108,7 @@ Represents combination key options.
| Name | Type | Readable | Writable | Description |
| --------- | ------ | ---- | ---- | ------- |
| preKeys | Array\<number> | Yes | No| Front key set. The number of front keys ranges from 0 to 4. There is no requirement on the sequence of the keys.|
| preKeys | Array<number> | Yes | No| Front key set. The number of front keys ranges from 0 to 4. There is no requirement on the sequence of the keys.|
| finalKey | number | Yes | No| Final key. This parameter is mandatory. A callback function is triggered by the final key.|
| isFinalKeyDown | boolean | Yes | No| Whether the final key is pressed.|
| finalKeyDownDuration | number | Yes | No| Duration within which the final key is pressed. If the value is **0**, the callback function is triggered immediately. If the value is greater than **0** and the value of **isFinalKeyDown** is **true**, the callback function is triggered when the key press duration is longer than the value of this parameter. If the value of **isFinalKeyDown** is **false**, the callback function is triggered when the duration from key press to key release is less than the value of this parameter. |
......@@ -476,7 +476,7 @@ Defines the information about an input device.
| id | number | Yes| No| Unique ID of the input device. If the same physical device is repeatedly inserted and removed, its ID changes.|
| name | string | Yes| No| Name of the input device. |
| sources | Array&lt;[SourceType](#sourcetype)&gt; | Yes| No| Source type of the input device. For example, if a keyboard is attached with a touchpad, the device has two input sources: keyboard and touchpad.|
| axisRanges | Array&lt;[axisRanges](#axisrange)&gt; | Yes| No| Axis information of the input device. |
| axisRanges | Array&lt;[AxisRange](#axisrange)&gt; | Yes| No| Axis information of the input device. |
| bus<sup>9+</sup> | number | Yes| No| Bus type of the input device. |
| product<sup>9+</sup> | number | Yes| No| Product information of the input device. |
| vendor<sup>9+</sup> | number | Yes| No| Vendor information of the input device. |
......
......@@ -2,7 +2,7 @@
The Keycode module provides keycodes for a key device.
> **NOTE**<br>
> **NOTE**
> The initial APIs of this module are supported since API version 9. Newly added APIs will be marked with a superscript to indicate their earliest API version.
## Modules to Import
......@@ -15,335 +15,335 @@ import {KeyCode} from '@ohos.multimodalInput.keyCode';
**System capability**: SystemCapability.MultimodalInput.Input.Core
| Name| Type| Readable| Writable| Description|
| -------- | -------- | -------- | -------- | -------- |
| KEYCODE_FN | number | Yes| No| Function (Fn) key|
| KEYCODE_UNKNOWN | number | Yes| No| Unknown key|
| KEYCODE_HOME | number | Yes| No| Home key |
| KEYCODE_BACK | number | Yes| No| Back key|
| KEYCODE_MEDIA_PLAY_PAUSE | number | Yes| No| Play/Pause key|
| KEYCODE_MEDIA_STOP | number | Yes| No| Stop key|
| KEYCODE_MEDIA_NEXT | number | Yes| No| Next key|
| KEYCODE_MEDIA_PREVIOUS | number | Yes| No| Previous key|
| KEYCODE_MEDIA_REWIND | number | Yes| No| Rewind key|
| KEYCODE_MEDIA_FAST_FORWARD | number | Yes| No| Fast Forward key|
| KEYCODE_VOLUME_UP | number | Yes| No| Volume Up key|
| KEYCODE_VOLUME_DOWN | number | Yes| No| Volume Down key|
| KEYCODE_POWER | number | Yes| No| Power key|
| KEYCODE_CAMERA | number | Yes| No| Camera key|
| KEYCODE_VOLUME_MUTE | number | Yes| No| Speaker Mute key|
| KEYCODE_MUTE | number | Yes| No| Mute key|
| KEYCODE_BRIGHTNESS_UP | number | Yes| No| Brightness Up key|
| KEYCODE_BRIGHTNESS_DOWN | number | Yes| No| Brightness Down key|
| KEYCODE_0 | number | Yes| No| Key 0|
| KEYCODE_1 | number | Yes| No| Key 1|
| KEYCODE_2 | number | Yes| No| Key 2|
| KEYCODE_3 | number | Yes| No| Key 3|
| KEYCODE_4 | number | Yes| No| Key 4|
| KEYCODE_5 | number | Yes| No| Key 5|
| KEYCODE_6 | number | Yes| No| Key 6|
| KEYCODE_7 | number | Yes| No| Key 7|
| KEYCODE_8 | number | Yes| No| Key 8|
| KEYCODE_9 | number | Yes| No| Key 9|
| KEYCODE_STAR | number | Yes| No| Key *|
| KEYCODE_POUND | number | Yes| No| Key #|
| KEYCODE_DPAD_UP | number | Yes| No| Up key on D-pad|
| KEYCODE_DPAD_DOWN | number | Yes| No| Down key on D-pad|
| KEYCODE_DPAD_LEFT | number | Yes| No| Left key on D-pad|
| KEYCODE_DPAD_RIGHT | number | Yes| No| Right key on D-pad|
| KEYCODE_DPAD_CENTER | number | Yes| No| Center key on D-pad|
| KEYCODE_A | number | Yes| No| Key A|
| KEYCODE_B | number | Yes| No| Key B|
| KEYCODE_C | number | Yes| No| Key C|
| KEYCODE_D | number | Yes| No| Key D|
| KEYCODE_E | number | Yes| No| Key E|
| KEYCODE_F | number | Yes| No| Key F|
| KEYCODE_G | number | Yes| No| Key G|
| KEYCODE_H | number | Yes| No| Key H|
| KEYCODE_I | number | Yes| No| Key I|
| KEYCODE_J | number | Yes| No| Key J|
| KEYCODE_K | number | Yes| No| Key K|
| KEYCODE_L | number | Yes| No| Key L|
| KEYCODE_M | number | Yes| No| Key M|
| KEYCODE_N | number | Yes| No| Key N|
| KEYCODE_O | number | Yes| No| Key O|
| KEYCODE_P | number | Yes| No| Key P|
| KEYCODE_Q | number | Yes| No| Key Q|
| KEYCODE_R | number | Yes| No| Key R|
| KEYCODE_S | number | Yes| No| Key S|
| KEYCODE_T | number | Yes| No| Key T|
| KEYCODE_U | number | Yes| No| Key U|
| KEYCODE_V | number | Yes| No| Key V|
| KEYCODE_W | number | Yes| No| Key W|
| KEYCODE_X | number | Yes| No| Key X|
| KEYCODE_Y | number | Yes| No| Key Y|
| KEYCODE_Z | number | Yes| No| Key Z|
| KEYCODE_COMMA | number | Yes| No| Key ,|
| KEYCODE_PERIOD | number | Yes| No| Key .|
| KEYCODE_ALT_LEFT | number | Yes| No| Alt+Left key|
| KEYCODE_ALT_RIGHT | number | Yes| No| Alt+Right key|
| KEYCODE_SHIFT_LEFT | number | Yes| No| Shift+Left key|
| KEYCODE_SHIFT_RIGHT | number | Yes| No| Shift+Right key|
| KEYCODE_TAB | number | Yes| No| Tab key|
| KEYCODE_SPACE | number | Yes| No| Space key|
| KEYCODE_SYM | number | Yes| No| Symbol key|
| KEYCODE_EXPLORER | number | Yes| No| Explorer key, which is used to start the explorer application|
| KEYCODE_ENVELOPE | number | Yes| No| Email key, which is used to start the email application|
| KEYCODE_ENTER | number | Yes| No| Enter key|
| KEYCODE_DEL | number | Yes| No| Delete key|
| KEYCODE_GRAVE | number | Yes| No| Key `|
| KEYCODE_MINUS | number | Yes| No| Key -|
| KEYCODE_EQUALS | number | Yes| No| Key =|
| KEYCODE_LEFT_BRACKET | number | Yes| No| Key [|
| KEYCODE_RIGHT_BRACKET | number | Yes| No| Key ]|
| KEYCODE_BACKSLASH | number | Yes| No| Key \\|
| KEYCODE_SEMICOLON | number | Yes| No| Key ;|
| KEYCODE_APOSTROPHE | number | Yes| No| Key ' |
| KEYCODE_SLASH | number | Yes| No| Key /|
| KEYCODE_AT | number | Yes| No| Key @|
| KEYCODE_PLUS | number | Yes| No| Key +|
| KEYCODE_MENU | number | Yes| No| Menu key|
| KEYCODE_PAGE_UP | number | Yes| No| Page Up key|
| KEYCODE_PAGE_DOWN | number | Yes| No| Page Down key|
| KEYCODE_ESCAPE | number | Yes| No| ESC key|
| KEYCODE_FORWARD_DEL | number | Yes| No| Delete key|
| KEYCODE_CTRL_LEFT | number | Yes| No| Control+Left |
| KEYCODE_CTRL_RIGHT | number | Yes| No| Control+Right |
| KEYCODE_CAPS_LOCK | number | Yes| No| Caps Lock key|
| KEYCODE_SCROLL_LOCK | number | Yes| No| Scroll Lock key|
| KEYCODE_META_LEFT | number | Yes| No| Left Meta key|
| KEYCODE_META_RIGHT | number | Yes| No| Right Meta key|
| KEYCODE_FUNCTION | number | Yes| No| Function key|
| KEYCODE_SYSRQ | number | Yes| No| System Request/Print Screen key|
| KEYCODE_BREAK | number | Yes| No| Break/Pause key|
| KEYCODE_MOVE_HOME | number | Yes| No| Move to Home key|
| KEYCODE_MOVE_END | number | Yes| No| Move to End key|
| KEYCODE_INSERT | number | Yes| No| Insert key|
| KEYCODE_FORWARD | number | Yes| No| Delete key |
| KEYCODE_MEDIA_PLAY | number | Yes| No| Play key|
| KEYCODE_MEDIA_PAUSE | number | Yes| No| Pause key|
| KEYCODE_MEDIA_CLOSE | number | Yes| No| Close key|
| KEYCODE_MEDIA_EJECT | number | Yes| No| Eject key|
| KEYCODE_MEDIA_RECORD | number | Yes| No| Record key|
| KEYCODE_F1 | number | Yes| No| F1 key|
| KEYCODE_F2 | number | Yes| No| F2 key|
| KEYCODE_F3 | number | Yes| No| F3 key|
| KEYCODE_F4 | number | Yes| No| F4 key|
| KEYCODE_F5 | number | Yes| No| F5 key|
| KEYCODE_F6 | number | Yes| No| F6 key|
| KEYCODE_F7 | number | Yes| No| F7 key|
| KEYCODE_F8 | number | Yes| No| F8 key|
| KEYCODE_F9 | number | Yes| No| F9 key|
| KEYCODE_F10 | number | Yes| No| F10 key|
| KEYCODE_F11 | number | Yes| No| F11 key|
| KEYCODE_F12 | number | Yes| No| F12 key|
| KEYCODE_NUM_LOCK | number | Yes| No| Number Lock key|
| KEYCODE_NUMPAD_0 | number | Yes| No| Key 0 on numeric keypad|
| KEYCODE_NUMPAD_1 | number | Yes| No| Key 1 on numeric keypad|
| KEYCODE_NUMPAD_2 | number | Yes| No| Key 2 on numeric keypad|
| KEYCODE_NUMPAD_3 | number | Yes| No| Key 3 on numeric keypad|
| KEYCODE_NUMPAD_4 | number | Yes| No| Key 4 on numeric keypad|
| KEYCODE_NUMPAD_5 | number | Yes| No| Key 5 on numeric keypad|
| KEYCODE_NUMPAD_6 | number | Yes| No| Key 6 on numeric keypad|
| KEYCODE_NUMPAD_7 | number | Yes| No| Key 7 on numeric keypad|
| KEYCODE_NUMPAD_8 | number | Yes| No| Key 8 on numeric keypad|
| KEYCODE_NUMPAD_9 | number | Yes| No| Key 9 on numeric keypad|
| KEYCODE_NUMPAD_DIVIDE | number | Yes| No| Key / on numeric keypad|
| KEYCODE_NUMPAD_MULTIPLY | number | Yes| No| Key * on numeric keypad|
| KEYCODE_NUMPAD_SUBTRACT | number | Yes| No| Key - on numeric keypad|
| KEYCODE_NUMPAD_ADD | number | Yes| No| Key + on numeric keypad|
| KEYCODE_NUMPAD_DOT | number | Yes| No| Key . on numeric keypad|
| KEYCODE_NUMPAD_COMMA | number | Yes| No| Key , on numeric keypad|
| KEYCODE_NUMPAD_ENTER | number | Yes| No| Enter key on numeric keypad|
| KEYCODE_NUMPAD_EQUALS | number | Yes| No| Key = on numeric keypad|
| KEYCODE_NUMPAD_LEFT_PAREN | number | Yes| No| Key ( on numeric keypad|
| KEYCODE_NUMPAD_RIGHT_PAREN | number | Yes| No| Key ) on numeric keypad|
| KEYCODE_VIRTUAL_MULTITASK | number | Yes| No| Multi-task key|
| KEYCODE_SLEEP | number | Yes| No| Sleep key|
| KEYCODE_ZENKAKU_HANKAKU | number | Yes| No| Zenkaku/Hankaku key|
| KEYCODE_102ND | number | Yes| No| 102nd key|
| KEYCODE_RO | number | Yes| No| Ro key|
| KEYCODE_KATAKANA | number | Yes| No| Katakana key|
| KEYCODE_HIRAGANA | number | Yes| No| Hiragana key|
| KEYCODE_HENKAN | number | Yes| No| Henkan key|
| KEYCODE_KATAKANA_HIRAGANA | number | Yes| No| Katakana/Hiragana key|
| KEYCODE_MUHENKAN | number | Yes| No| Muhenkan key|
| KEYCODE_LINEFEED | number | Yes| No| Linefeed key|
| KEYCODE_MACRO | number | Yes| No| Macro key|
| KEYCODE_NUMPAD_PLUSMINUS | number | Yes| No| Plus/Minus key on the numeric keypad|
| KEYCODE_SCALE | number | Yes| No| Scale key|
| KEYCODE_HANGUEL | number | Yes| No| Hanguel key|
| KEYCODE_HANJA | number | Yes| No| Hanja key|
| KEYCODE_YEN | number | Yes| No| Yen key|
| KEYCODE_STOP | number | Yes| No| Stop key|
| KEYCODE_AGAIN | number | Yes| No| Again key|
| KEYCODE_PROPS | number | Yes| No| Props key|
| KEYCODE_UNDO | number | Yes| No| Undo key|
| KEYCODE_COPY | number | Yes| No| Copy key|
| KEYCODE_OPEN | number | Yes| No| Open key|
| KEYCODE_PASTE | number | Yes| No| Paste key|
| KEYCODE_FIND | number | Yes| No| Find key|
| KEYCODE_CUT | number | Yes| No| Cut key|
| KEYCODE_HELP | number | Yes| No| Help key|
| KEYCODE_CALC | number | Yes| No| Calc key, which is used to start the calculator application|
| KEYCODE_FILE | number | Yes| No| File key|
| KEYCODE_BOOKMARKS | number | Yes| No| Bookmarks key|
| KEYCODE_NEXT | number | Yes| No| Next key|
| KEYCODE_PLAYPAUSE | number | Yes| No| Play/Pause key|
| KEYCODE_PREVIOUS | number | Yes| No| Previous key|
| KEYCODE_STOPCD | number | Yes| No| Stop CD key|
| KEYCODE_CONFIG | number | Yes| No| Config key|
| KEYCODE_REFRESH | number | Yes| No| Refresh key|
| KEYCODE_EXIT | number | Yes| No| Exit key|
| KEYCODE_EDIT | number | Yes| No| Edit key|
| KEYCODE_SCROLLUP | number | Yes| No| Scroll Up key|
| KEYCODE_SCROLLDOWN | number | Yes| No| Scroll Down key|
| KEYCODE_NEW | number | Yes| No| New key|
| KEYCODE_REDO | number | Yes| No| Redo key|
| KEYCODE_CLOSE | number | Yes| No| Close key|
| KEYCODE_PLAY | number | Yes| No| Play key|
| KEYCODE_BASSBOOST | number | Yes| No| Bass Boost key|
| KEYCODE_PRINT | number | Yes| No| Print key|
| KEYCODE_CHAT | number | Yes| No| Chat key|
| KEYCODE_FINANCE | number | Yes| No| Finance key|
| KEYCODE_CANCEL | number | Yes| No| Cancel key|
| KEYCODE_KBDILLUM_TOGGLE | number | Yes| No| Keyboard Illumination Toggle key|
| KEYCODE_KBDILLUM_DOWN | number | Yes| No| Keyboard Illumination Up key|
| KEYCODE_KBDILLUM_UP | number | Yes| No| Keyboard Illumination Down key|
| KEYCODE_SEND | number | Yes| No| Send key|
| KEYCODE_REPLY | number | Yes| No| Reply key|
| KEYCODE_FORWARDMAIL | number | Yes| No| Forward Mail key|
| KEYCODE_SAVE | number | Yes| No| Save key|
| KEYCODE_DOCUMENTS | number | Yes| No| Documents key|
| KEYCODE_VIDEO_NEXT | number | Yes| No| Next Video key|
| KEYCODE_VIDEO_PREV | number | Yes| No| Previous Video key|
| KEYCODE_BRIGHTNESS_CYCLE | number | Yes| No| Brightness Cycle key|
| KEYCODE_BRIGHTNESS_ZERO | number | Yes| No| Brightness Zero key|
| KEYCODE_DISPLAY_OFF | number | Yes| No| Display Off Key|
| KEYCODE_BTN_MISC | number | Yes| No| Misc Button key|
| KEYCODE_GOTO | number | Yes| No| Goto key|
| KEYCODE_INFO | number | Yes| No| Info key|
| KEYCODE_PROGRAM | number | Yes| No| Program key|
| KEYCODE_PVR | number | Yes| No| PVR key|
| KEYCODE_SUBTITLE | number | Yes| No| Subtitle key|
| KEYCODE_FULL_SCREEN | number | Yes| No| Full Screen key|
| KEYCODE_KEYBOARD | number | Yes| No| Keyboard|
| KEYCODE_ASPECT_RATIO | number | Yes| No| Aspect Ratio key|
| KEYCODE_PC | number | Yes| No| Port Control key|
| KEYCODE_TV | number | Yes| No| TV key|
| KEYCODE_TV2 | number | Yes| No| TV key 2|
| KEYCODE_VCR | number | Yes| No| VCR key|
| KEYCODE_VCR2 | number | Yes| No| VCR key 2|
| KEYCODE_SAT | number | Yes| No| SAT key|
| KEYCODE_CD | number | Yes| No| CD key|
| KEYCODE_TAPE | number | Yes| No| Tape key|
| KEYCODE_TUNER | number | Yes| No| Tuner key|
| KEYCODE_PLAYER | number | Yes| No| Player key|
| KEYCODE_DVD | number | Yes| No| DVD key|
| KEYCODE_AUDIO | number | Yes| No| Audio key|
| KEYCODE_VIDEO | number | Yes| No| Video key|
| KEYCODE_MEMO | number | Yes| No| Memo key|
| KEYCODE_CALENDAR | number | Yes| No| Calendar key|
| KEYCODE_RED | number | Yes| No| Red indicator|
| KEYCODE_GREEN | number | Yes| No| Green indicator|
| KEYCODE_YELLOW | number | Yes| No| Yellow indicator|
| KEYCODE_BLUE | number | Yes| No| Blue indicator|
| KEYCODE_CHANNELUP | number | Yes| No| Channel Up key|
| KEYCODE_CHANNELDOWN | number | Yes| No| Channel Down key|
| KEYCODE_LAST | number | Yes| No| Last key|
| KEYCODE_RESTART | number | Yes| No| Restart key|
| KEYCODE_SLOW | number | Yes| No| Slow key|
| KEYCODE_SHUFFLE | number | Yes| No| Shuffle key|
| KEYCODE_VIDEOPHONE | number | Yes| No| Videophone key|
| KEYCODE_GAMES | number | Yes| No| Games key|
| KEYCODE_ZOOMIN | number | Yes| No| Zoom-in key|
| KEYCODE_ZOOMOUT | number | Yes| No| Zoom-out key|
| KEYCODE_ZOOMRESET | number | Yes| No| Zoom Reset key|
| KEYCODE_WORDPROCESSOR | number | Yes| No| Word Processor key|
| KEYCODE_EDITOR | number | Yes| No| Editor key|
| KEYCODE_SPREADSHEET | number | Yes| No| Spreadsheet key|
| KEYCODE_GRAPHICSEDITOR | number | Yes| No| Graphics Editor key|
| KEYCODE_PRESENTATION | number | Yes| No| Presentation key|
| KEYCODE_DATABASE | number | Yes| No| Database key|
| KEYCODE_NEWS | number | Yes| No| News key|
| KEYCODE_VOICEMAIL | number | Yes| No| Voicemail key|
| KEYCODE_ADDRESSBOOK | number | Yes| No| Addressbook key|
| KEYCODE_MESSENGER | number | Yes| No| Messenger key|
| KEYCODE_BRIGHTNESS_TOGGLE | number | Yes| No| Brightness Toggle key|
| KEYCODE_SPELLCHECK | number | Yes| No| Spell Check key|
| KEYCODE_COFFEE | number | Yes| No| Coffee key, which is used to launch screen lock or screen saver|
| KEYCODE_MEDIA_REPEAT | number | Yes| No| Media Repeat key|
| KEYCODE_IMAGES | number | Yes| No| Images key|
| KEYCODE_BUTTONCONFIG | number | Yes| No| Button Configuration key|
| KEYCODE_TASKMANAGER | number | Yes| No| Task Manager key|
| KEYCODE_JOURNAL | number | Yes| No| Log key|
| KEYCODE_CONTROLPANEL | number | Yes| No| Control Panel key|
| KEYCODE_APPSELECT | number | Yes| No| App Select key|
| KEYCODE_SCREENSAVER | number | Yes| No| Screen Saver key|
| KEYCODE_ASSISTANT | number | Yes| No| Assistant key|
| KEYCODE_KBD_LAYOUT_NEXT | number | Yes| No| Next Keyboard Layout key|
| KEYCODE_BRIGHTNESS_MIN | number | Yes| No| Min Brightness key|
| KEYCODE_BRIGHTNESS_MAX | number | Yes| No| Max Brightness key|
| KEYCODE_KBDINPUTASSIST_PREV | number | Yes| No| Keyboard Input-assisted Previous key|
| KEYCODE_KBDINPUTASSIST_NEXT | number | Yes| No| Keyboard Input-assisted Next key|
| KEYCODE_KBDINPUTASSIST_PREVGROUP | number | Yes| No| Keyboard Input-assisted Previous Group key|
| KEYCODE_KBDINPUTASSIST_NEXTGROUP | number | Yes| No| Keyboard Input-assisted Next Group key|
| KEYCODE_KBDINPUTASSIST_ACCEPT | number | Yes| No| Keyboard Input-assisted Accept key|
| KEYCODE_KBDINPUTASSIST_CANCEL | number | Yes| No| Keyboard Input-assisted Cancel key|
| KEYCODE_FRONT | number | Yes| No| Front key, which is used to launch the windshield defogger|
| KEYCODE_SETUP | number | Yes| No| Setup key|
| KEYCODE_WAKEUP | number | Yes| No| Wakeup key|
| KEYCODE_SENDFILE | number | Yes| No| Send File key|
| KEYCODE_DELETEFILE | number | Yes| No| Delete File key|
| KEYCODE_XFER | number | Yes| No| XFER key, which is used to start file transfer|
| KEYCODE_PROG1 | number | Yes| No| Program key 1|
| KEYCODE_PROG2 | number | Yes| No| Program key 2|
| KEYCODE_MSDOS | number | Yes| No| MS-DOS key|
| KEYCODE_SCREENLOCK | number | Yes| No| Screen Lock key|
| KEYCODE_DIRECTION_ROTATE_DISPLAY | number | Yes| No| Directional Rotation Display key|
| KEYCODE_CYCLEWINDOWS | number | Yes| No| Windows Cycle key|
| KEYCODE_COMPUTER | number | Yes| No| Key |
| KEYCODE_EJECTCLOSECD | number | Yes| No| Eject CD key|
| KEYCODE_ISO | number | Yes| No| ISO key|
| KEYCODE_MOVE | number | Yes| No| Move key|
| KEYCODE_F13 | number | Yes| No| F13 key|
| KEYCODE_F14 | number | Yes| No| F14 key|
| KEYCODE_F15 | number | Yes| No| F15 key|
| KEYCODE_F16 | number | Yes| No| F16 key|
| KEYCODE_F17 | number | Yes| No| F17 key|
| KEYCODE_F18 | number | Yes| No| F18 key|
| KEYCODE_F19 | number | Yes| No| F19 key|
| KEYCODE_F20 | number | Yes| No| F20 key|
| KEYCODE_F21 | number | Yes| No| F21 key|
| KEYCODE_F22 | number | Yes| No| F22 key|
| KEYCODE_F23 | number | Yes| No| F23 key|
| KEYCODE_F24 | number | Yes| No| F24 key|
| KEYCODE_PROG3 | number | Yes| No| Program key 3|
| KEYCODE_PROG4 | number | Yes| No| Program key 4|
| KEYCODE_DASHBOARD | number | Yes| No| Dashboard|
| KEYCODE_SUSPEND | number | Yes| No| Suspend key|
| KEYCODE_HP | number | Yes| No| HP key|
| KEYCODE_SOUND | number | Yes| No| Sound key|
| KEYCODE_QUESTION | number | Yes| No| Question key|
| KEYCODE_CONNECT | number | Yes| No| Connect key|
| KEYCODE_SPORT | number | Yes| No| Sport key|
| KEYCODE_SHOP | number | Yes| No| Shop key|
| KEYCODE_ALTERASE | number | Yes| No| Alternate key|
| KEYCODE_SWITCHVIDEOMODE | number | Yes| No| Switch Video Mode key (monitor, LCD, and TV, etc.)|
| KEYCODE_BATTERY | number | Yes| No| Battery key|
| KEYCODE_BLUETOOTH | number | Yes| No| Bluetooth key|
| KEYCODE_WLAN | number | Yes| No| WLAN key|
| KEYCODE_UWB | number | Yes| No| Ultra-wideband key|
| KEYCODE_WWAN_WIMAX | number | Yes| No| WWAN WiMAX key|
| KEYCODE_RFKILL | number | Yes| No| RF Kill key|
| KEYCODE_CHANNEL | number | Yes| No| Channel key|
| KEYCODE_BTN_0 | number | Yes| No| Key 0|
| KEYCODE_BTN_1 | number | Yes| No| Button 1|
| KEYCODE_BTN_2 | number | Yes| No| Button 2|
| KEYCODE_BTN_3 | number | Yes| No| Button 3|
| KEYCODE_BTN_4 | number | Yes| No| Button 4|
| KEYCODE_BTN_5 | number | Yes| No| Button 5|
| KEYCODE_BTN_6 | number | Yes| No| Button 6|
| KEYCODE_BTN_7 | number | Yes| No| Button 7|
| KEYCODE_BTN_8 | number | Yes| No| Button 8|
| KEYCODE_BTN_9 | number | Yes| No| Button 9|
| Name | Value | Description |
| -------------------------------- | ------ | --------------------------- |
| KEYCODE_FN | 0 | Function (Fn) key |
| KEYCODE_UNKNOWN | -1 | Unknown key |
| KEYCODE_HOME | 1 | Function (Home) key |
| KEYCODE_BACK | 2 | Back key |
| KEYCODE_MEDIA_PLAY_PAUSE | 10 | Play/Pause key |
| KEYCODE_MEDIA_STOP | 11 | Stop key |
| KEYCODE_MEDIA_NEXT | 12 | Next key |
| KEYCODE_MEDIA_PREVIOUS | 13 | Previous key |
| KEYCODE_MEDIA_REWIND | 14 | Rewind key |
| KEYCODE_MEDIA_FAST_FORWARD | 15 | Fast Forward key |
| KEYCODE_VOLUME_UP | 16 | Volume Up key |
| KEYCODE_VOLUME_DOWN | 17 | Volume Down key |
| KEYCODE_POWER | 18 | Power key |
| KEYCODE_CAMERA | 19 | Camera key |
| KEYCODE_VOLUME_MUTE | 22 | Speaker Mute key |
| KEYCODE_MUTE | 23 | Mute key |
| KEYCODE_BRIGHTNESS_UP | 40 | Brightness Up key |
| KEYCODE_BRIGHTNESS_DOWN | 41 | Brightness Down key |
| KEYCODE_0 | 2000 | Key 0 |
| KEYCODE_1 | 2001 | Key 1 |
| KEYCODE_2 | 2002 | Key 2 |
| KEYCODE_3 | 2003 | Key 3 |
| KEYCODE_4 | 2004 | Key 4 |
| KEYCODE_5 | 2005 | Key 5 |
| KEYCODE_6 | 2006 | Key 6 |
| KEYCODE_7 | 2007 | Key 7 |
| KEYCODE_8 | 2008 | Key 8 |
| KEYCODE_9 | 2009 | Key 9 |
| KEYCODE_STAR | 2010 | Key * |
| KEYCODE_POUND | 2011 | Key # |
| KEYCODE_DPAD_UP | 2012 | Up key on D-pad |
| KEYCODE_DPAD_DOWN | 2013 | Down key on D-pad |
| KEYCODE_DPAD_LEFT | 2014 | Left key on D-pad |
| KEYCODE_DPAD_RIGHT | 2015 | Right key on D-pad |
| KEYCODE_DPAD_CENTER | 2016 | Center key on D-pad |
| KEYCODE_A | 2017 | Key A |
| KEYCODE_B | 2018 | Key B |
| KEYCODE_C | 2019 | Key C |
| KEYCODE_D | 2020 | Key D |
| KEYCODE_E | 2021 | Key E |
| KEYCODE_F | 2022 | Key F |
| KEYCODE_G | 2023 | Key G |
| KEYCODE_H | 2024 | Key H |
| KEYCODE_I | 2025 | Key I |
| KEYCODE_J | 2026 | Key J |
| KEYCODE_K | 2027 | Key K |
| KEYCODE_L | 2028 | Key L |
| KEYCODE_M | 2029 | Key M |
| KEYCODE_N | 2030 | Key N |
| KEYCODE_O | 2031 | Key O |
| KEYCODE_P | 2032 | Key P |
| KEYCODE_Q | 2033 | Key Q |
| KEYCODE_R | 2034 | Key R |
| KEYCODE_S | 2035 | Key S |
| KEYCODE_T | 2036 | Key T |
| KEYCODE_U | 2037 | Key U |
| KEYCODE_V | 2038 | Key V |
| KEYCODE_W | 2039 | Key W |
| KEYCODE_X | 2040 | Key X |
| KEYCODE_Y | 2041 | Key Y |
| KEYCODE_Z | 2042 | Key Z |
| KEYCODE_COMMA | 2043 | Key , |
| KEYCODE_PERIOD | 2044 | Key . |
| KEYCODE_ALT_LEFT | 2045 | Left Alt key |
| KEYCODE_ALT_RIGHT | 2046 | Right Alt key |
| KEYCODE_SHIFT_LEFT | 2047 | Left Shift key |
| KEYCODE_SHIFT_RIGHT | 2048 | Right Shift key |
| KEYCODE_TAB | 2049 | Tab key |
| KEYCODE_SPACE | 2050 | Space key |
| KEYCODE_SYM | 2051 | Symbol key |
| KEYCODE_EXPLORER | 2052 | Explorer key, which is used to start the explorer application |
| KEYCODE_ENVELOPE | 2053 | Email key, which is used to start the email application |
| KEYCODE_ENTER | 2054 | Enter key |
| KEYCODE_DEL | 2055 | Delete key |
| KEYCODE_GRAVE | 2056 | Key ` |
| KEYCODE_MINUS | 2057 | Key - |
| KEYCODE_EQUALS | 2058 | Key = |
| KEYCODE_LEFT_BRACKET | 2059 | Key [ |
| KEYCODE_RIGHT_BRACKET | 2060 | Key ] |
| KEYCODE_BACKSLASH | 2061 | Key \\ |
| KEYCODE_SEMICOLON | 2062 | Key ; |
| KEYCODE_APOSTROPHE | 2063 | Key ' |
| KEYCODE_SLASH | 2064 | Key / |
| KEYCODE_AT | 2065 | Key @ |
| KEYCODE_PLUS | 2066 | Key + |
| KEYCODE_MENU | 2067 | Menu key |
| KEYCODE_PAGE_UP | 2068 | Page Up key |
| KEYCODE_PAGE_DOWN | 2069 | Page Down key |
| KEYCODE_ESCAPE | 2070 | ESC key |
| KEYCODE_FORWARD_DEL | 2071 | Delete key |
| KEYCODE_CTRL_LEFT | 2072 | Left Ctrl key |
| KEYCODE_CTRL_RIGHT | 2073 | Right Ctrl key |
| KEYCODE_CAPS_LOCK | 2074 | Caps Lock key |
| KEYCODE_SCROLL_LOCK | 2075 | Scroll Lock key |
| KEYCODE_META_LEFT | 2076 | Left Meta key |
| KEYCODE_META_RIGHT | 2077 | Right Meta key |
| KEYCODE_FUNCTION | 2078 | Function key |
| KEYCODE_SYSRQ | 2079 | System Request/Print Screen key |
| KEYCODE_BREAK | 2080 | Break/Pause key |
| KEYCODE_MOVE_HOME | 2081 | Move to Home key |
| KEYCODE_MOVE_END | 2082 | Move to End key |
| KEYCODE_INSERT | 2083 | Insert key |
| KEYCODE_FORWARD | 2084 | Forward key |
| KEYCODE_MEDIA_PLAY | 2085 | Play key |
| KEYCODE_MEDIA_PAUSE | 2086 | Pause key |
| KEYCODE_MEDIA_CLOSE | 2087 | Close key |
| KEYCODE_MEDIA_EJECT | 2088 | Eject key |
| KEYCODE_MEDIA_RECORD | 2089 | Record key |
| KEYCODE_F1 | 2090 | F1 key |
| KEYCODE_F2 | 2091 | F2 key |
| KEYCODE_F3 | 2092 | F3 key |
| KEYCODE_F4 | 2093 | F4 key |
| KEYCODE_F5 | 2094 | F5 key |
| KEYCODE_F6 | 2095 | F6 key |
| KEYCODE_F7 | 2096 | F7 key |
| KEYCODE_F8 | 2097 | F8 key |
| KEYCODE_F9 | 2098 | F9 key |
| KEYCODE_F10 | 2099 | F10 key |
| KEYCODE_F11 | 2100 | F11 key |
| KEYCODE_F12 | 2101 | F12 key |
| KEYCODE_NUM_LOCK | 2102 | Number Lock key |
| KEYCODE_NUMPAD_0 | 2103 | Key 0 on numeric keypad |
| KEYCODE_NUMPAD_1 | 2104 | Key 1 on numeric keypad |
| KEYCODE_NUMPAD_2 | 2105 | Key 2 on numeric keypad |
| KEYCODE_NUMPAD_3 | 2106 | Key 3 on numeric keypad |
| KEYCODE_NUMPAD_4 | 2107 | Key 4 on numeric keypad |
| KEYCODE_NUMPAD_5 | 2108 | Key 5 on numeric keypad |
| KEYCODE_NUMPAD_6 | 2109 | Key 6 on numeric keypad |
| KEYCODE_NUMPAD_7 | 2110 | Key 7 on numeric keypad |
| KEYCODE_NUMPAD_8 | 2111 | Key 8 on numeric keypad |
| KEYCODE_NUMPAD_9 | 2112 | Key 9 on numeric keypad |
| KEYCODE_NUMPAD_DIVIDE | 2113 | Key / on numeric keypad |
| KEYCODE_NUMPAD_MULTIPLY | 2114 | Key * on numeric keypad |
| KEYCODE_NUMPAD_SUBTRACT | 2115 | Key - on numeric keypad |
| KEYCODE_NUMPAD_ADD | 2116 | Key + on numeric keypad |
| KEYCODE_NUMPAD_DOT | 2117 | Key . on numeric keypad |
| KEYCODE_NUMPAD_COMMA | 2118 | Key , on numeric keypad |
| KEYCODE_NUMPAD_ENTER | 2119 | Enter key on numeric keypad |
| KEYCODE_NUMPAD_EQUALS | 2120 | Key = on numeric keypad |
| KEYCODE_NUMPAD_LEFT_PAREN | 2121 | Key ( on numeric keypad |
| KEYCODE_NUMPAD_RIGHT_PAREN | 2122 | Key ) on numeric keypad |
| KEYCODE_VIRTUAL_MULTITASK | 2210 | Multi-task key |
| KEYCODE_SLEEP | 2600 | Sleep key |
| KEYCODE_ZENKAKU_HANKAKU | 2601 | Zenkaku/Hankaku key |
| KEYCODE_102ND | 2602 | 102nd key |
| KEYCODE_RO | 2603 | Ro key |
| KEYCODE_KATAKANA | 2604 | Katakana key |
| KEYCODE_HIRAGANA | 2605 | Hiragana key |
| KEYCODE_HENKAN | 2606 | Henkan key |
| KEYCODE_KATAKANA_HIRAGANA | 2607 | Katakana/Hiragana key |
| KEYCODE_MUHENKAN | 2608 | Muhenkan key |
| KEYCODE_LINEFEED | 2609 | Linefeed key |
| KEYCODE_MACRO | 2610 | Macro key |
| KEYCODE_NUMPAD_PLUSMINUS | 2611 | Plus/Minus key on the numeric keypad |
| KEYCODE_SCALE | 2612 | Scale key |
| KEYCODE_HANGUEL | 2613 | Hanguel key |
| KEYCODE_HANJA | 2614 | Hanja key |
| KEYCODE_YEN | 2615 | Yen key |
| KEYCODE_STOP | 2616 | Stop key |
| KEYCODE_AGAIN | 2617 | Again key |
| KEYCODE_PROPS | 2618 | Props key |
| KEYCODE_UNDO | 2619 | Undo key |
| KEYCODE_COPY | 2620 | Copy key |
| KEYCODE_OPEN | 2621 | Open key |
| KEYCODE_PASTE | 2622 | Paste key |
| KEYCODE_FIND | 2623 | Find key |
| KEYCODE_CUT | 2624 | Cut key |
| KEYCODE_HELP | 2625 | Help key |
| KEYCODE_CALC | 2626 | Calc key, which is used to start the calculator application |
| KEYCODE_FILE | 2627 | File key |
| KEYCODE_BOOKMARKS | 2628 | Bookmarks key |
| KEYCODE_NEXT | 2629 | Next key |
| KEYCODE_PLAYPAUSE | 2630 | Play/Pause key |
| KEYCODE_PREVIOUS | 2631 | Previous key |
| KEYCODE_STOPCD | 2632 | Stop CD key |
| KEYCODE_CONFIG | 2634 | Config key |
| KEYCODE_REFRESH | 2635 | Refresh key |
| KEYCODE_EXIT | 2636 | Exit key |
| KEYCODE_EDIT | 2637 | Edit key |
| KEYCODE_SCROLLUP | 2638 | Scroll Up key |
| KEYCODE_SCROLLDOWN | 2639 | Scroll Down key |
| KEYCODE_NEW | 2640 | New key |
| KEYCODE_REDO | 2641 | Redo key |
| KEYCODE_CLOSE | 2642 | Close key |
| KEYCODE_PLAY | 2643 | Play key |
| KEYCODE_BASSBOOST | 2644 | Bass Boost key |
| KEYCODE_PRINT | 2645 | Print key |
| KEYCODE_CHAT | 2646 | Chat key |
| KEYCODE_FINANCE | 2647 | Finance key |
| KEYCODE_CANCEL | 2648 | Cancel key |
| KEYCODE_KBDILLUM_TOGGLE | 2649 | Keyboard Illumination Toggle key |
| KEYCODE_KBDILLUM_DOWN | 2650 | Keyboard Illumination Up key |
| KEYCODE_KBDILLUM_UP | 2651 | Keyboard Illumination Down key |
| KEYCODE_SEND | 2652 | Send key |
| KEYCODE_REPLY | 2653 | Reply key |
| KEYCODE_FORWARDMAIL | 2654 | Forward Mail key |
| KEYCODE_SAVE | 2655 | Save key |
| KEYCODE_DOCUMENTS | 2656 | Documents key |
| KEYCODE_VIDEO_NEXT | 2657 | Next Video key |
| KEYCODE_VIDEO_PREV | 2658 | Previous Video key |
| KEYCODE_BRIGHTNESS_CYCLE | 2659 | Brightness Cycle key |
| KEYCODE_BRIGHTNESS_ZERO | 2660 | Brightness Zero key |
| KEYCODE_DISPLAY_OFF | 2661 | Display Off Key |
| KEYCODE_BTN_MISC | 2662 | Misc Button key |
| KEYCODE_GOTO | 2663 | Goto key |
| KEYCODE_INFO | 2664 | Info key |
| KEYCODE_PROGRAM | 2665 | Program key |
| KEYCODE_PVR | 2666 | PVR key |
| KEYCODE_SUBTITLE | 2667 | Subtitle key |
| KEYCODE_FULL_SCREEN | 2668 | Full Screen key |
| KEYCODE_KEYBOARD | 2669 | Keyboard |
| KEYCODE_ASPECT_RATIO | 2670 | Aspect Ratio key |
| KEYCODE_PC | 2671 | Port Control key |
| KEYCODE_TV | 2672 | TV key |
| KEYCODE_TV2 | 2673 | TV key 2 |
| KEYCODE_VCR | 2674 | VCR key |
| KEYCODE_VCR2 | 2675 | VCR key 2 |
| KEYCODE_SAT | 2676 | SAT key |
| KEYCODE_CD | 2677 | CD key |
| KEYCODE_TAPE | 2678 | Tape key |
| KEYCODE_TUNER | 2679 | Tuner key |
| KEYCODE_PLAYER | 2680 | Player key |
| KEYCODE_DVD | 2681 | DVD key |
| KEYCODE_AUDIO | 2682 | Audio key |
| KEYCODE_VIDEO | 2683 | Video key |
| KEYCODE_MEMO | 2684 | Memo key |
| KEYCODE_CALENDAR | 2685 | Calendar key |
| KEYCODE_RED | 2686 | Red indicator |
| KEYCODE_GREEN | 2687 | Green indicator |
| KEYCODE_YELLOW | 2688 | Yellow indicator |
| KEYCODE_BLUE | 2689 | Blue indicator |
| KEYCODE_CHANNELUP | 2690 | Channel Up key |
| KEYCODE_CHANNELDOWN | 2691 | Channel Down key |
| KEYCODE_LAST | 2692 | Last key |
| KEYCODE_RESTART | 2693 | Restart key |
| KEYCODE_SLOW | 2694 | Slow key |
| KEYCODE_SHUFFLE | 2695 | Shuffle key |
| KEYCODE_VIDEOPHONE | 2696 | Videophone key |
| KEYCODE_GAMES | 2697 | Games key |
| KEYCODE_ZOOMIN | 2698 | Zoom-in key |
| KEYCODE_ZOOMOUT | 2699 | Zoom-out key |
| KEYCODE_ZOOMRESET | 2700 | Zoom Reset key |
| KEYCODE_WORDPROCESSOR | 2701 | Word Processor key |
| KEYCODE_EDITOR | 2702 | Editor key |
| KEYCODE_SPREADSHEET | 2703 | Spreadsheet key |
| KEYCODE_GRAPHICSEDITOR | 2704 | Graphics Editor key |
| KEYCODE_PRESENTATION | 2705 | Presentation key |
| KEYCODE_DATABASE | 2706 | Database key |
| KEYCODE_NEWS | 2707 | News key |
| KEYCODE_VOICEMAIL | 2708 | Voicemail key |
| KEYCODE_ADDRESSBOOK | 2709 | Addressbook key |
| KEYCODE_MESSENGER | 2710 | Messenger key |
| KEYCODE_BRIGHTNESS_TOGGLE | 2711 | Brightness Toggle key |
| KEYCODE_SPELLCHECK | 2712 | Spell Check key |
| KEYCODE_COFFEE | 2713 | Coffee key, which is used to launch screen lock or screen saver |
| KEYCODE_MEDIA_REPEAT | 2714 | Media Repeat key |
| KEYCODE_IMAGES | 2715 | Images key |
| KEYCODE_BUTTONCONFIG | 2716 | Button Configuration key |
| KEYCODE_TASKMANAGER | 2717 | Task Manager key |
| KEYCODE_JOURNAL | 2718 | Log key |
| KEYCODE_CONTROLPANEL | 2719 | Control Panel key |
| KEYCODE_APPSELECT | 2720 | App Select key |
| KEYCODE_SCREENSAVER | 2721 | Screen Saver key |
| KEYCODE_ASSISTANT | 2722 | Assistant key |
| KEYCODE_KBD_LAYOUT_NEXT | 2723 | Next Keyboard Layout key |
| KEYCODE_BRIGHTNESS_MIN | 2724 | Min Brightness key |
| KEYCODE_BRIGHTNESS_MAX | 2725 | Max Brightness key |
| KEYCODE_KBDINPUTASSIST_PREV | 2726 | Keyboard Input-assisted Previous key |
| KEYCODE_KBDINPUTASSIST_NEXT | 2727 | Keyboard Input-assisted Next key |
| KEYCODE_KBDINPUTASSIST_PREVGROUP | 2728 | Keyboard Input-assisted Previous Group key |
| KEYCODE_KBDINPUTASSIST_NEXTGROUP | 2729 | Keyboard Input-assisted Next Group key |
| KEYCODE_KBDINPUTASSIST_ACCEPT | 2730 | Keyboard Input-assisted Accept key |
| KEYCODE_KBDINPUTASSIST_CANCEL | 2731 | Keyboard Input-assisted Cancel key |
| KEYCODE_FRONT | 2800 | Front key, which is used to launch the windshield defogger |
| KEYCODE_SETUP | 2801 | Setup key |
| KEYCODE_WAKEUP | 2802 | Wakeup key |
| KEYCODE_SENDFILE | 2803 | Send File key |
| KEYCODE_DELETEFILE | 2804 | Delete File key |
| KEYCODE_XFER | 2805 | XFER key, which is used to start file transfer |
| KEYCODE_PROG1 | 2806 | Program key 1 |
| KEYCODE_PROG2 | 2807 | Program key 2 |
| KEYCODE_MSDOS | 2808 | MS-DOS key |
| KEYCODE_SCREENLOCK | 2809 | Screen Lock key |
| KEYCODE_DIRECTION_ROTATE_DISPLAY | 2810 | Directional Rotation Display key |
| KEYCODE_CYCLEWINDOWS | 2811 | Windows Cycle key |
| KEYCODE_COMPUTER | 2812 | Keys |
| KEYCODE_EJECTCLOSECD | 2813 | Eject CD key |
| KEYCODE_ISO | 2814 | ISO key |
| KEYCODE_MOVE | 2815 | Move key |
| KEYCODE_F13 | 2816 | F13 key |
| KEYCODE_F14 | 2817 | F14 key |
| KEYCODE_F15 | 2818 | F15 key |
| KEYCODE_F16 | 2819 | F16 key |
| KEYCODE_F17 | 2820 | F17 key |
| KEYCODE_F18 | 2821 | F18 key |
| KEYCODE_F19 | 2822 | F19 key |
| KEYCODE_F20 | 2823 | F20 key |
| KEYCODE_F21 | 2824 | F21 key |
| KEYCODE_F22 | 2825 | F22 key |
| KEYCODE_F23 | 2826 | F23 key |
| KEYCODE_F24 | 2827 | F24 key |
| KEYCODE_PROG3 | 2828 | Program key 3 |
| KEYCODE_PROG4 | 2829 | Program key 4 |
| KEYCODE_DASHBOARD | 2830 | Dashboard |
| KEYCODE_SUSPEND | 2831 | Suspend key |
| KEYCODE_HP | 2832 | HP key |
| KEYCODE_SOUND | 2833 | Sound key |
| KEYCODE_QUESTION | 2834 | Question key |
| KEYCODE_CONNECT | 2836 | Connect key |
| KEYCODE_SPORT | 2837 | Sport key |
| KEYCODE_SHOP | 2838 | Shop key |
| KEYCODE_ALTERASE | 2839 | Alternate key |
| KEYCODE_SWITCHVIDEOMODE | 2841 | Switch Video Mode key (monitor, LCD, and TV, etc.)|
| KEYCODE_BATTERY | 2842 | Battery key |
| KEYCODE_BLUETOOTH | 2843 | Bluetooth key |
| KEYCODE_WLAN | 2844 | WLAN key |
| KEYCODE_UWB | 2845 | Ultra-wideband key |
| KEYCODE_WWAN_WIMAX | 2846 | WWAN WiMAX key |
| KEYCODE_RFKILL | 2847 | RF Kill key |
| KEYCODE_CHANNEL | 3001 | Channel key |
| KEYCODE_BTN_0 | 3100 | Key 0 |
| KEYCODE_BTN_1 | 3101 | Button 1 |
| KEYCODE_BTN_2 | 3102 | Button 2 |
| KEYCODE_BTN_3 | 3103 | Button 3 |
| KEYCODE_BTN_4 | 3104 | Button 4 |
| KEYCODE_BTN_5 | 3105 | Button 5 |
| KEYCODE_BTN_6 | 3106 | Button 6 |
| KEYCODE_BTN_7 | 3107 | Button 7 |
| KEYCODE_BTN_8 | 3108 | Button 8 |
| KEYCODE_BTN_9 | 3109 | Button 9 |
......@@ -15,37 +15,37 @@ import {Action,ToolType,SourceType,Touch,TouchEvent} from '@ohos.multimodalInput
**System capability**: SystemCapability.MultimodalInput.Input.Core
| Name| Type| Readable| Writable| Description|
| -------- | -------- | -------- | -------- | -------- |
| CANCEL | number | Yes| No| Cancellation of the touch action.|
| DOWN | number | Yes| No| Pressing of touch.|
| MOVE | number | Yes| No| Moving of touch.|
| UP | number | Yes| No| Lifting of touch.|
| Name | Value | Description |
| ------ | ----- | ----------- |
| CANCEL | 0 | Cancellation of the touch action.|
| DOWN | 1 | Pressing of touch. |
| MOVE | 2 | Moving of touch. |
| UP | 3 | Lifting of touch. |
## ToolType
**System capability**: SystemCapability.MultimodalInput.Input.Core
| Name| Type| Readable| Writable| Description|
| -------- | -------- | -------- | -------- | -------- |
| FINGER | number | Yes| No| Finger|
| PEN | number | Yes| No| Pen|
| RUBBER | number | Yes| No| Eraser|
| BRUSH | number | Yes| No| Brush|
| PENCIL | number | Yes| No| Pencil|
| AIRBRUSH | number | Yes| No| Air brush|
| MOUSE | number | Yes| No| Mouse|
| LENS | number | Yes| No| Lens|
| Name | Value | Description |
| ---- | ----- | ----------- |
| FINGER | 0 | Finger|
| PEN | 1 | Pen|
| RUBBER | 2 | Eraser|
| BRUSH | 3 | Brush|
| PENCIL | 4 | Pencil|
| AIRBRUSH | 5 | Air brush|
| MOUSE | 6 | Mouse|
| LENS | 7 | Lens|
## SourceType
**System capability**: SystemCapability.MultimodalInput.Input.Core
| Name| Type| Readable| Writable| Description|
| -------- | -------- | -------- | -------- | -------- |
| TOUCH_SCREEN | number | Yes| No| Touchscreen|
| PEN | number | Yes| No| Stylus|
| TOUCH_PAD | number | Yes| No| Touchpad|
| Name | Value | Description |
| ---- | ----- | ----------- |
| TOUCH_SCREEN | 0 | Touchscreen|
| PEN | 1 | Stylus |
| TOUCH_PAD | 2 | Touchpad |
## Touch
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册