(QNX) Start refactoring qnx_input.c