[OSX] support system input method and send inputed text to xbmc.