By default implementors of the IMKTextInput protocol displays marked text of the current input session underlined (with 2 pixel black underline according to documentation). I develop specific Input Me
I am creating a virtual keyboard for my application via Input Method Kit (IMK). However I am not able to simulate a keyboard event by pressing a button.