added desktop platform wrapper around use of CCInputState