Click or drag to resize
DigitalRuneKeyMap Class
Maps XNA Keys (key codes) to characters (keyboard layout).
Inheritance Hierarchy
SystemObject
  DigitalRune.Game.UIKeyMap

Namespace: DigitalRune.Game.UI
Assembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntax
public class KeyMap

The KeyMap type exposes the following members.

Constructors
  NameDescription
Public methodKeyMap
Initializes a new empty instance of the KeyMap class.
Public methodKeyMap(KeyMap)
Initializes a instance of the KeyMap class with the entries from another KeyMap.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLoad(XContainer)
Loads the key map entries.
Public methodLoad(XmlReader)
Loads the key map entries.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSave
Saves the key map entries.
Public methodSave(XmlWriter)
Saves the key map entries.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyStatic memberAutoKeyMap
Gets the an automatic key mapping for the current culture.
Public propertyStatic memberEnglishKeyMap
Gets the English key mapping.
Public propertyStatic memberEnglishKeyMapGermanChatPad
Gets the English key mapping, but with a German key mapping for the ChatPad.
Public propertyStatic memberGermanKeyMap
Gets the German key mapping.
Public propertyItem
Gets or sets the Char with the specified key and modifiers.
Top
See Also