Tinkr2/4.2/AphelionCore/AphelionCore/Core/Core.cs
/// <summary>
/// Manually inform core of a keyboard key event.
/// </summary>
/// <param name="key">Character of key affected.</param>
/// <param name="pressed">true if the key is pressed; false if released.</param>
/// <remarks>
/// Use RaiseKeyboardKeyEvent to inject a key event into the system.
/// </remarks>
Manually inform core of a keyboard key event.
Manually inform core of a keyboard key event .
public static void RaiseKeyboardKeyEvent(char key, bool pressed)
      {
         if (_instance._active != null)
         {
            _instance._active.SendKeyboardKeyEvent(key, pressed);
         }
         _instance.OnKeyboardKeyEvent(key, pressed);
      }
public static void RaiseKeyboardKeyEvent ( char key , bool pressed ) { if ( _instance . _active != null ) { _instance . _active . SendKeyboardKeyEvent ( key , pressed ) ; } _instance . OnKeyboardKeyEvent ( key , pressed ) ; }
Manually inform core of a keyboard key event.
Manually inform core of a keyboard key event .
key
char
Character of key affected.
Character of key affected .
pressed
bool
true if the key is pressed; false if released.
true if the key is pressed ; false if released .
remarks
Use RaiseKeyboardKeyEvent to inject a key event into the system.
Use RaiseKeyboardKeyEvent to inject a key event into the system .