public KeyboardMapper() { foreach (X360Axis axis in Enum.GetValues(typeof(X360Axis))) { AxisKeysDown.Add(axis, false); } KeyboardHook = Gma.System.MouseKeyHook.Hook.GlobalEvents(); LoadPreviousMapping(); }
public VSS_PreviewWindow(PrivateSettings _programSettings, VSS.VSS_Entry_Group VSSdb) { InitializeComponent(); m_GlobalHook = Gma.System.MouseKeyHook.Hook.GlobalEvents(); directWaveOut = new DirectSoundOut(60); this._programSettings = _programSettings; this.VSSdb = new VSS.VSS_Entry_Group("ROOTNODE", Keys.NoName); this.VSSdb.Nodes.Add(VSSdb); this.CurrentNode = VSSdb; UpdateColors(); preview = new VSS_Preview(pictureBoxVSSPreview, Color.Black, Color.Yellow, 24, Color.White, 18, Color.WhiteSmoke, 4); SetToRoot(); m_GlobalHook.KeyDown += M_GlobalHook_KeyDown; }
public KeyboardMapper() { KeyboardHook = Gma.System.MouseKeyHook.Hook.GlobalEvents(); LoadPreviousMapping(); }