Add optional x, y, w, and h parameters to inputEnable.

By adding these optional parameters the input area can be limited to only part of the canvas so that the remaining part of the canvas can be used for other touch interactions, potentially even a second touch-control.