in reply to Keyboard command

You'll have to tell us where you want to send the commands. Do you want to sent them to the OS or to an application? (and even that is a very rough way of describing it...)

If you want to send keystrokes to an application (window), you will probably have to find out how to

I would know more about how to do it on Windows, but I don't know enough about QNX/Neutrino to help you here, sorry.