Checks an inputarea against cursor position and controller buttons.
Checks an inputarea against cursor position and controller buttons. If the supplied inputarea accepts the mouse/joybuttons currently pressed, the corresponding hook is called. An inputarea can respond to left, right and middle mousebutton for now.If no buttons are pressed, the IA_PASS_HOOK function is called instead.
The ID is still returned if there is a delay that hasn't been finished yet.
Big fat FIXME: Xiqual doesn't currently actually initialise other controllers (joypads and sticks). Furthermore, the parameters should be expanded to allow for the hat.