VoK.Sdk
Doxygen generated documentation for the Dungeon Helper SDK
VoK.Sdk.Common.KeymapFile Class Reference

wrapper class for reading the keymap file and exposing the data easily More...

Inherits VoK.Sdk.Common.IKeymap.

Classes

class  Binding
 
class  MetaKey
 modifier keys: L/R shift, L/R control, etc. not user customziable afaik. More...
 

Public Types

enum  Group {
  Undefined = 0 ,
  Devices ,
  MetaKeys ,
  Bindings
}
 
enum  BindingType {
  Undefined = 0 ,
  Main ,
  DialogBoxes ,
  CombatControls ,
  EditControls ,
  SelectionUI ,
  MusicUI ,
  MapPanel ,
  VendorBuyUI ,
  ScrollableControls ,
  ScrollableControls_Mouse ,
  CopyAndPasteControls ,
  DebugConsole ,
  StringTokenDebugger
}
 for ddo, this maps to Enum230000DB More...
 

Public Member Functions

 KeymapFile (GameId gameId, bool monitorForChanges=false)
 loads the "{game}.keymap" file for the current windows user More...
 
 KeymapFile (string pathToKeyMapFile, bool monitorForChanges=false)
 
HotKeyEventArgs GetHotkey (string inputAction)
 looks for a keybinding of the requested action. For DDO, input should map to a value in either InputActions or AltInputActions More...
 
HotKeyEventArgs GetHotkey (string inputAction)
 looks for a keybinding of the requested action. For DDO, input should map to a value in either VoK.Sdk.Ddo.Enums.InputActions or VoK.Sdk.Ddo.Enums.AltInputActions. for example, "SHORTCUT_BAR1_KEY4". For examples, either look at the InputActions enum or look at your own keymap file: USERPROFILE%\My Documents\Dungeons and Dragons Online\ddo.keymap More...
 

Properties

List<(string, string)> Devices = new List<(string, string)>() [get, set]
 Devices section as defined in ddo.kemap. index 0 is keyboard, by definition. index 1 is mouse, by definition. index 2 is usually Virtual, but not sure on that. KVP key is the human-name, KVP value is the registered GUID of the device, or a constant representing one ("GUID_SysKeyboard", "GUID_SysMouse", "GUID_XInput1", etc) More...
 
List< MetaKeyMetaKeys = new List<MetaKey>() [get, set]
 MetaKeys section as defined in ddo.kemap More...
 
Dictionary< BindingType, List< Binding > > Bindings = new Dictionary<BindingType, List<Binding>>() [get, set]
 all the key bindings! More...
 

Detailed Description

wrapper class for reading the keymap file and exposing the data easily


The documentation for this class was generated from the following file: