MidiInput.GetKeyDown C# (CSharp) Method

GetKeyDown() public static method

public static GetKeyDown ( int noteNumber ) : bool
noteNumber int
return bool
    public static bool GetKeyDown(int noteNumber)
    {
        return GetKeyDown (MidiChannel.All, noteNumber);
    }

Same methods

MidiInput::GetKeyDown ( MidiChannel channel, int noteNumber ) : bool

Usage Example

Esempio n. 1
0
 void CheckButton()
 {
     for (int i = 0; i < buttonCount; i++)
     {
         if (MidiInput.GetKeyDown(i))
         {
             Messenger.Broadcast(buttonEventPrefix + i);
         }
     }
 }
All Usage Examples Of MidiInput::GetKeyDown