Ejemplo n.º 1
0
        private Task KeyInputAsync(string inputType, PressedKey key, CancellationToken cancellationToken)
        {
            string encodedKey = key.Match(InputEncoding.EncodeSpecialKey, InputEncoding.EncodeChar);

            return(this.PostAsync($"{inputType}/{encodedKey}", cancellationToken));
        }