USB joystick

I don’t know how create a tool for USB joystick. I have the QNX6.2,
and I’m new with this.
Please what have I do to develop a tool for joystick?
Thanks.