public static PhysicalKeyGroup GetPhysicalKeyGroup(PhysicalKey pk)
        {
            PhysicalKeyGroup pkg = new PhysicalKeyGroup();

            pkg.PhysicalKeys.Add(pk);
            return(pkg);
        }
        public void GetKeyboardMappings()
        {
            List <VirtualKey> virtualKeys = KeyUtility.GetVirtualKeyValues();

            foreach (VirtualKey vk in virtualKeys)
            {
                if (Mappings.ContainsKey(vk))
                {
                    PhysicalKeyGroup pkg = Mappings[vk];
                    if (pkg.PhysicalKeys != null)
                    {
                        foreach (PhysicalKey pk in pkg.PhysicalKeys)
                        {
                            if (pk != null && pk.KeyboardValue != Keyboard.Key.Unknown)
                            {
                                KeyboardMappings[vk] = pk;
                            }
                        }
                    }
                }
            }
        }