simulate TAB & ENTER keys

I want to simulate the TAB (for focus) & ENTER (for generating callbacks) keys of keyboard to my new keypad (later may be used in radio).
can any one hlep me with some helpful source code.

qnx.com/developers/docs/6.4. … #KeyEvents

actually i want to send phemit event to specific widget.
how can i use phemit event.

documentation is out there