﻿
Virtual Keys (VK)
=================

The Standard.xml - which can be found in "\Users\username\AppData\Roaming\Microsoft\FSX\Controls\" does not contain any special characters, but instead so-called virtual keys, which are independent of other-language operating systems or keyboards. But it is of no use to press the opening square bracket for VK_LBRACKET on a keyboard that does not correspond to the USA layout. The FSX decodes this differently.

In order to find out the equivalent of the VKs on a keyboard with a foreign layout follow the instructions:
1. Make a copy of the standard.xml file
2. Open the standard.xml with notepad (or other editor)
3. Mark and delete herein all the "Entrys" between the lines
   <Name>KEYBOARD_MAIN</Name> and
   </SimControls.Map>         (should be about line 900 to 950)
4. Mark and copy all the "Entrys" below in this file and
5. paste them into standard.xml instead of the deleted ones
6. Save the standard.xml, close both files (be careful not to harm the 
   format of the structures in any way; if this happens the FSX generates
   a new default Standard.xml.)
7. Start the FSX and go to page "Settings", open the Controls dialog,
   click the tab "Buttons/Keys", choose Event category "GPS/G1000" and scroll 
   down. At the end of the list you will find the charakters which you 
   have to hit to get the corresponding virtual key.
8. Open the big table and go to table-tab "V-Keys". Here you'll find
   in the first column "A" the descriptions which correspond with the 
   descriptions in the FSX window. You can now copy&paste the characters
   one by one into the third column "C" of the table.
9. Do not forget to rename the Standard.xml to Standard-Test.xml or 
   something else and rename the xml-file which you have copied in the 
   first step back to its name Standard.xml.
10. It's done.


To put into Standard.xml
======== copy after this line ===========
        <Entry>
            <Key>VK_LBRACKET</Key>
            <Down>GPS_CLEAR_BUTTON</Down>
        </Entry>
        <Entry>
            <Key>VK_RBRACKET</Key>
            <Down>GPS_CURSOR_BUTTON</Down>
        </Entry>
        <Entry>
            <Key>VK_QUOTE</Key>
            <Down>GPS_DIRECTTO_BUTTON</Down>
        </Entry>
        <Entry>
            <Key>VK_MULTIPLY</Key>
            <Down>GPS_ENTER_BUTTON</Down>
        </Entry>
        <Entry>
            <Key>VK_SEMICOLON</Key>
            <Down>GPS_FLIGHTPLAN_BUTTON</Down>
        </Entry>
        <Entry>
            <Key>VK_MINUS</Key>
            <Down>GPS_GROUP_KNOB_DEC</Down>
        </Entry>
        <Entry>
            <Key>VK_OEM_102</Key>
            <Down>GPS_GROUP_KNOB_INC</Down>
        </Entry>
        <Entry>
            <Key>VK_SCROLL</Key>
            <Down>GPS_MENU_BUTTON</Down>
        </Entry>
        <Entry>
            <Key>VK_PERIOD</Key>
            <Down>GPS_MSG_BUTTON</Down>
        </Entry>
        <Entry>
            <Key>VK_PLUS</Key>
            <Down>GPS_NEAREST_BUTTON</Down>
        </Entry>
        <Entry>
            <Key>VK_COMMA</Key>
            <Down>GPS_OBS_BUTTON</Down>
        </Entry>
        <Entry>
            <Key>VK_SUBTRACT</Key>
            <Down>GPS_PAGE_KNOB_DEC</Down>
        </Entry>
        <Entry>
            <Key>VK_DIVIDE</Key>
            <Down>GPS_PAGE_KNOB_INC</Down>
        </Entry>
        <Entry>
            <Key>VK_SLASH</Key>
            <Down>GPS_PROCEDURE_BUTTON</Down>
        </Entry>
        <Entry>
            <Key>VK_PAUSE</Key>
            <Down>GPS_TERRAIN_BUTTON</Down>
        </Entry>
        <Entry>
            <Key>VK_TILDE</Key>
            <Down>GPS_ZOOMIN_BUTTON</Down>
        </Entry>
        <Entry>
            <Key>VK_BACKSLASH</Key>
            <Down>GPS_ZOOMOUT_BUTTON</Down>
        </Entry>
        <Entry>
            <Key>VK_ADD</Key>
            <Down>G1000_PFD_SOFTKEY6</Down>
        </Entry>
        <Entry>
            <Key>Num_Del</Key>
            <Down>G1000_PFD_SOFTKEY7</Down>
        </Entry>
        <Entry>
            <Key>F24</Key>
            <Down>G1000_PFD_SOFTKEY8</Down>
        </Entry>
        <Entry>
            <Key>Num_0</Key>
            <Down>G1000_PFD_SOFTKEY9</Down>
        </Entry>
