Ejemplo n.º 1
0
 void SpecialKey(EKeyState state, string key)
 {
     dead_key_status = 0;
     if (unconfirmed_key != null)
     {
         if (state == EKeyState.Special_Backspace)
         {
             /* internally handle Backspace as a cancel if there is an unconfirmed key */
             SendKey(EKeyState.Preview, "");
             SendKey(EKeyState.Confirm, "");
             unconfirmed_key = null;
             return;
         }
         ConfirmKey();
     }
     SendKey(state, key);
 }
Ejemplo n.º 2
0
 void SendKey(EKeyState state, string key)
 {
     onKeyboardTyping.Invoke(state, key);
 }