This is the final post that concerns "keyboard filter". In the
previous posts, after introducing the topic, we discussed how to
insert the package "Keyboard Filter" into the Windows Embedded
Standard 7 build, how to manage its service and how to configure it
in general, how to "Configure and test predefined key combination"
and "Configuring custom filters". In this one, we will deal with
the use of Group Policy Editor to "Configure and test custom key
combination filters " and how to "Configure Keyboard Filters for
Non English Keyboards".
Configure and test custom key combination filters
Here are the steps to configure:
· To launch gpedit.msc: click Start.
· In the search field in the Start menu, type
gpedit.msc.
· When gpedit.msc appears under Programs in the search results,
click with the right-button on gpedit.msc and select "Run
as Administrator" to launch the Local Group Policy
Editor.
· In the details pane of the Local Group Policy Editor, select
Custom Key Filters, and then click Edit Policy
Setting; or right-click Custom Key Filters and then click
Edit.
· In the left pane, locate Local Computer Policy. Move to
Computer Configuration, Administrative Templates, System,
Keyboard Filter.
· In the Custom Key Filters dialog box, click the
Enabled option to enable custom key filters.
· In the Options text box, click Show.
· In the Show Contents dialog box, in the text area under the
Value column, add a new custom filter or modify an existing custom
filter by using the format previously specified in this topic.
· Click OK to save the custom key filter and
close the Show Contents dialog box.
· Optionally insert a comment in
the Comment area;
· Click OK to save your changes and close the Custom Key
Filters dialog box.
Configure Keyboard Filters for Non English Keyboards
Custom filters we discussed above, refer to the key "names" on
the US-English keyboard. When you want to refer to national
keyboard (take the case of "Italian") must still refer to the
English key names. For reference we list matching keys with their
names and groupings.
Modifier Keys:
Virtual key
|
English key name
|
Italian key name
|
VK_LWIN
|
LWin, LWindows
|
Tasto Windows di sinistra
|
VK_RWIN
|
RWin, RWindows
|
Tasto Windows di destra
|
VK_LSHIFT
|
Lshift
|
Tasto Maiuscolo di sinistra
|
VK_RSHIFT
|
Rshift
|
Tasto Maiuscolo di destra
|
VK_LCONTROL
|
LControl, LCtrl
|
Tasto Control di sinistra
|
VK_RCONTROL
|
RControl, RCtrl
|
Tasto Control di destra
|
VK_LMENU
|
Lalt
|
Tasto Alt di sinistra
|
VK_RMENU
|
RAlt
|
Tasto Alt di destra
|
LWin +Rwin
|
Win, Windows
|
Tasto Windows
|
LShift + Rshift
|
Shift
|
Tasto Maiuscolo
|
LControl + Rcontrol
|
Control, Ctrl
|
Tasto Control
|
LAlt + Ralt
|
Alt
|
Tasto Alt
|
System Keys:
Virtual key
|
English key name
|
Italian key name
|
VK_PRIOR
|
PageUp, PgUp
|
Pag ↑
|
VK_NEXT
|
PageDown, PgDown
|
Pag ↓
|
VK_END
|
End
|
Fine
|
VK_HOME
|
Home
|
↖
|
VK_LEFT
|
Left
|
←
|
VK_UP
|
Up
|
↑
|
VK_RIGHT
|
Right
|
→
|
VK_DOWN
|
Down
|
↓
|
VK_INSERT
|
Insert
|
Insert
|
VK_DELETE
|
Delete, Del
|
Canc
|
VK_MULTIPLY
|
Multiply
|
*
|
VK_ADD
|
Add
|
+
|
VK_SEPARATOR
|
Separator
|
Separator
|
VK_SUBTRACT
|
Subtract
|
-
|
VK_DECIMAL
|
Decimal
|
.
|
VK_DIVIDE
|
Divide
|
/
|
Less common System Keys:
Virtual key
|
English key name
|
Italian key name
|
VK_SELECT
|
Select
|
Select
|
VK_PRINT
|
PrintScreen, PrintScrn
|
Stamp
|
VK_EXECUTE
|
Execute
|
Execute
|
VK_SNAPSHOT
|
Snapshot
|
Snapshot
|
VK_HELP
|
Help
|
Help
|
VK_SLEEP
|
Sleep
|
Sleep
|
Function keys:
Virtual key
|
English key name
|
Italian key name
|
VK_F1 ....VK_F24
|
F1 ... F24
|
F1 ...F24
|
State keys:
Virtual key
|
English key name
|
Italian key name
|
VK_SCROLL
|
ScrollLock
|
Bloc Scorr
|
VK_CAPITAL
|
CapsLock
|
Tasto di blocco maiuscolo
|
OEM keys (OEM keys may vary, depending on language and
layout):
Virtual key
|
English key name
|
Italian key name
|
VK_OEM_NEC_EQUAL
|
KeypadEqual
|
= del tastierino numerico
|
VK_OEM_FJ_JISHO
|
Dictionary
|
Dictionary
|
VK_OEM_FJ_MASSHOU
|
Unregister
|
Unregister
|
VK_OEM_FJ_TOUROKU
|
Register
|
Register
|
VK_OEM_FJ_LOYA
|
LeftOyayubi
|
LeftOyayubi
|
VK_OEM_FJ_ROYA
|
RightOyayubi
|
RightOyayubi
|
VK_OEM_PLUS
|
OemPlus
|
+ (più) alternativo
|
VK_OEM_COMMA
|
OemComma
|
, (virgola) alternativo
|
VK_OEM_MINUS
|
OemMinus
|
- (meno) alternativo
|
VK_OEM_PERIOD
|
OemPeriod
|
. (punto) alternativo
|
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
|
Oem8
|
VK_OEM_AX
|
OemAX (AX on Japanese AX keyboard)
|
Idem
|
VK_OEM_102
|
Oem102 "<>" or "\|" on RT 102-key keyboard
|
"<>" oppure "\|" sulla tastiera a 102 tasti
|
Unsupported keys: These keys may exist on keyboards but cannot
be filtered.
System keys:
English key name
|
English Description
|
Italian Description
|
Fn
|
Function Key
|
Seleziona tasto funzione
|
Browser keys:
Virtual key
|
English key name
|
Italian key name
|
VK_BROWSER_BACK
|
BrowserBack
|
Indietro nel browser
|
VK_BROWSER_FORWARD
|
BrowserForward
|
Avanti nel browser
|
VK_BROWSER_REFRESH
|
BrowserRefresh
|
Refresh della pagina
|
VK_BROWSER_STOP
|
BrowserStop
|
Stop del browser
|
VK_BROWSER_SEARCH
|
BrowserSearch
|
Ricerca nel browser
|
VK_BROWSER_FAVORITES
|
BrowserFavorites
|
Favoriti nel browser
|
VK_BROWSER_HOME
|
BrowserHome
|
Home del browser
|
VK_VOLUME_MUTE
|
MediaMute
|
Volume a zero
|
VK_VOLUME_DOWN
|
MediaDown
|
Diminuisci il Volume
|
VK_VOLUME_UP
|
MediaUp
|
Aumenta il Volume
|
VK_MEDIA_NEXT_TRACK
|
MediaNext
|
Avanza di una traccia
|
VK_MEDIA_PREV_TRACK
|
MediaPrevious
|
Indietro di una traccia
|
VK_MEDIA_STOP
|
MediaStop
|
Ferma la riproduzione
|
VK_MEDIA_PLAY_PAUSE
|
MediaPlay
|
Metti in pausa
|
VK_LAUNCH_MAIL
|
LaunchMail
|
Avvia una Mail
|
VK_LAUNCH_MEDIA_SELECT
|
LaunchMedia
|
Seleziona BBB ???
|
VK_LAUNCH_APP1
|
LaunchApp1
|
Avvia l'applicazione 1
|
VK_LAUNCH_APP2
|
LaunchApp2
|
Avvia l'applicazione 1
|
Additional Keys:
Virtual key
|
English key name
|
Italian key name
|
VK_ICO_HELP
|
IcoHelp
|
Tasto di Aiuto
|
VK_ICO_00
|
Ico00
|
Tasto doppio zero
|
VK_ATTN
|
Attn
|
Attn BBB ???
|
VK_CRSEL
|
CrSel
|
CrSel BBB ???
|
VK_EXSEL
|
Exsel
|
Exsel BBB ???
|
VK_EREOF
|
Ereof
|
Ereof BBB ???
|
VK_PLAY
|
Play
|
Play BBB ???
|
VK_ZOOM
|
Zoom
|
Zoom BBB ???
|
VK_PA1
|
Pa1
|
Pa1 BBB ???
|
VK_OEM_CLEAR
|
OemClear
|
OemClear BBB ???
|
International Keys:
Virtual key
|
English key name
|
In italiano
|
VK_KANA
|
Kana
|
Kana
|
VK_HANGUL
|
Hangul
|
Hangul
|
VK_JUNJA
|
Junja
|
Junja
|
VK_FINAL
|
Final
|
Final
|
VK_HANJA
|
Hanja
|
Hanja
|
VK_KANJI
|
Kanji
|
Kanji
|
Conclusion
The keyboard filters, as fully described in this series of
posts, allow a precise control of key combinations that we want to
receive by the application. This is an important tool for any
embedded device, and once you learn how to use it, it becomes
simple and effective.
_______________________ooo O ooo____________________________
These articles, divided into post, were written, revised and
translated into English as well as by me by other two colleagues of
mine (both Microsoft Certified Trainer for Windows Embedded
Standard 7): Gianni Rosa Gallina and Dorangela Daniele.
For more information, please refer to this link:
http://msdn.microsoft.com/en-us/library/ff794908(v=WinEmbedded.60).aspx