public static List <string> ToType(string origin, Mode mode, Cursor cursor) { List <string> result = new List <string>(); char[] type = Johap.ToJohap(origin); if (mode == Mode.keyboard) { type = ToType(type, mode); } Typing typing = new Typing(mode, cursor); result.Add(typing.Out()); foreach (char c in type) { typing.Type(c); result.Add(typing.Out()); } return(result); }
public static char[] ToType(string origin, Mode mode) { return(ToType(Johap.ToJohap(origin), mode)); }