Virtual Key Reference (POSReady 7)

4/29/2013

The following tables list the virtual keys that you can use to create custom key filtering combinations in Keyboard Filter.

Note

You must use English key names to define the custom key filter.

The virtual keys are grouped as follows:

  • Supported Keys
    • Modifier Keys
    • System Keys
    • Cursor Keys
    • Less Common System Keys
    • Function Keys
    • State Keys
    • OEM Keys
  • Unsupported Keys
    • System Keys
    • Browser Keys
    • Additional Keys
    • International Keys

Supported Keys

Modifier Keys

Virtual key English key name

VK_LWIN

LWin, LWindows

VK_RWIN

RWin, RWindows

VK_LSHIFT

LShift

VK_RSHIFT

RShift

VK_LCONTROL

LControl, LCtrl

VK_RCONTROL

RControl, RCtrl

VK_LMENU

LAlt

VK_RMENU

RAlt

LWin +RWin

Win, Windows

LShift + RShift

Shift

LControl + RControl

Control, Ctrl

LAlt + RAlt

Alt

System Keys

Virtual key English key name

VK_BACK

Backspace

VK_TAB

Tab

VK_CLEAR

Clear

VK_RETURN

Enter, Return

VK_PAUSE

Pause

VK_ESCAPE

Esc

VK_SPACE

Spacebar

Cursor Keys

Cursor keys are prefixed with the LShift+E0 scan code when the NumLock key is pressed. The prefix is transparent and handled by the driver.

Virtual key English key name

VK_PRIOR

PageUp, PgUp

VK_NEXT

PageDown, PgDown

VK_END

End

VK_HOME

Home

VK_LEFT

Left

VK_UP

Up

VK_RIGHT

Right

VK_DOWN

Down

VK_INSERT

Insert

VK_DELETE

Delete, Del

VK_MULTIPLY

Multiply

VK_ADD

Add

VK_SEPARATOR

Separator

VK_SUBTRACT

Subtract

VK_DECIMAL

Decimal

VK_DIVIDE

Divide

Less Common System Keys

Virtual key English key name

VK_SELECT

Select

VK_PRINT

PrintScreen, PrintScrn

VK_EXECUTE

Execute

VK_SNAPSHOT

Snapshot

VK_HELP

Help

VK_SLEEP

Sleep

Function Keys

Virtual key English key name

VK_F1

F1

VK_F2

F2

VK_F3

F3

VK_F4

F4

VK_F5

F5

VK_F6

F6

VK_F7

F7

VK_F8

F8

VK_F9

F9

VK_F10

F10

VK_F11

F11

VK_F12

F12

VK_F13

F13

VK_F14

F14

VK_F15

F15

VK_F16

F16

VK_F17

F17

VK_F18

F18

VK_F19

F19

VK_F20

F20

VK_F21

F21

VK_F22

F22

VK_F23

F23

VK_F24

F24

State Keys

Virtual key English key name

VK_SCROLL

ScrollLock

VK_CAPITAL

CapsLock

OEM Keys

OEM keys may vary, depending on language and layout.

Virtual key English key name

VK_OEM_NEC_EQUAL

KeypadEqual

VK_OEM_FJ_JISHO

Dictionary

VK_OEM_FJ_MASSHOU

Unregister

VK_OEM_FJ_TOUROKU

Register

VK_OEM_FJ_LOYA

LeftOyayubi

VK_OEM_FJ_ROYA

RightOyayubi

VK_OEM_PLUS

OemPlus

VK_OEM_COMMA

OemComma

VK_OEM_MINUS

OemMinus

VK_OEM_PERIOD

OemPeriod

VK_OEM_1

Oem1 (represented as “;:”)

VK_OEM_2

Oem2 (represented as “/?”)

VK_OEM_3

Oem3 (represented as “`~”)

VK_OEM_4

Oem4 (represented as “[{“}

VK_OEM_5

Oem5 (represented as “\|”)

VK_OEM_6

Oem6 (represented as “)}”)

VK_OEM_7

Oem7 (represented as ‘”)

VK_OEM_8

Oem8

VK_OEM_AX

OemAX (AX on Japanese AX keyboard)

VK_OEM_102

Oem102 “<>” or “\|” on RT 102-key keyboard

Unsupported Keys

These keys may exist on keyboards but cannot be filtered.

System Keys

The system key in the following table does not contain scan codes and cannot be blocked.

English key name Description

Fn

Function Key

Browser Keys

These keys do not have scan codes because they are interpreted as virtual keys by another driver.

Virtual key English key name

VK_BROWSER_BACK

BrowserBack

VK_BROWSER_FORWARD

BrowserForward

VK_BROWSER_REFRESH

BrowserRefresh

VK_BROWSER_STOP

BrowserStop

VK_BROWSER_SEARCH

BrowserSearch

VK_BROWSER_FAVORITES

BrowserFavorites

VK_BROWSER_HOME

BrowserHome

VK_VOLUME_MUTE

MediaMute

VK_VOLUME_DOWN

MediaDown

VK_VOLUME_UP

MediaUp

VK_MEDIA_NEXT_TRACK

MediaNext

VK_MEDIA_PREV_TRACK

MediaPrevious

VK_MEDIA_STOP

MediaStop

VK_MEDIA_PLAY_PAUSE

MediaPlay

VK_LAUNCH_MAIL

LaunchMail

VK_LAUNCH_MEDIA_SELECT

LaunchMedia

VK_LAUNCH_APP1

LaunchApp1

VK_LAUNCH_APP2

LaunchApp2

Additional Keys

These keys are found on special-purpose keyboards and are unsupported in the current release. However, their text values are indexed and may be specified in custom filters.

Virtual key English key name

VK_ICO_HELP

IcoHelp

VK_ICO_00

Ico00

VK_ATTN

Attn

VK_CRSEL

CrSel

VK_EXSEL

Exsel

VK_EREOF

Ereof

VK_PLAY

Play

VK_ZOOM

Zoom

VK_PA1

Pa1

VK_OEM_CLEAR

OemClear

International Keys

Virtual key English key name

VK_KANA

Kana

VK_HANGUL

Hangul

VK_JUNJA

Junja

VK_FINAL

Final

VK_HANJA

Hanja

VK_KANJI

Kanji

See Also

Concepts

Keyboard Filter Overview
Predefined Key Filter Configuration
Custom Key Filter Configuration
Event Log Reference
Using Keyboard Filter with Non-English Interfaces