Пример #1
0
        public void ProcessOnNote(NoteEvent onNote)
        {
            if (openDelay)
            {
                return;
            }
            if (Properties.Settings.Default.AutoArpeggiate)
            {
                if (chordNotes.OnKey(onNote))
                {
                    // Chord detected and queued
                    // Console.WriteLine("Delay " + onNote + " by 100ms");
                }
            }

            if (!chordNotes.HasTimer(onNote))
            {
                if (hotkeys.GetKeybindFromNoteByte(onNote.note) is FFXIVKeybindDat.Keybind keybind)
                {
                    if (WantsHold)
                    {
                        hook.SendKeybindDown(keybind);
                    }
                    else
                    {
                        hook.SendAsyncKeybind(keybind);
                    }
                }
            }
        }
        public void ProcessOnNote(NoteEvent note)
        {
            if (!this.PerformanceUp || !this.PerformerEnabled)
            {
                return;
            }

            if (openDelay)
            {
                return;
            }

            if (hotkeys.GetKeybindFromNoteByte(note.note) is FFXIVKeybindDat.Keybind keybind)
            {
                if (WantsHold)
                {
                    hook.SendKeybindDown(keybind);
                }
                else
                {
                    hook.SendAsyncKeybind(keybind);
                }
            }
        }