Tinkr2/4.2/AphelionCore/AphelionCore/Core/Core.cs
/// <summary>
/// Manually inform core of a button event.
/// </summary>
/// <param name="buttonId">Id of button affected</param>
/// <param name="pressed">true if the button is pressed; false if released.</param>
/// <remarks>
/// Use RaiseButtonEvent to inject a button event into the system.
/// </remarks>
Manually inform core of a button event.
Manually inform core of a button event .
public static void RaiseButtonEvent(int buttonId, bool pressed)
      {
         if (_instance._active != null)
         {
            _instance._active.SendButtonEvent(buttonId, pressed);
         }
      }
public static void RaiseButtonEvent ( int buttonId , bool pressed ) { if ( _instance . _active != null ) { _instance . _active . SendButtonEvent ( buttonId , pressed ) ; } }
Manually inform core of a button event.
Manually inform core of a button event .
buttonId
int
Id of button affected
Id of button affected
pressed
bool
true if the button is pressed; false if released.
true if the button is pressed ; false if released .
remarks
Use RaiseButtonEvent to inject a button event into the system.
Use RaiseButtonEvent to inject a button event into the system .