I’ve got an issue with my game. In the Mac version onMouseMove works when the cursor is outside the window which is desired effect. But on PC Window build it doesn’t get any mouse event the second it’s out of the window.
is there a fix for this?
auto _mouseListener = EventListenerMouse::create();
mouseListener->onMouseMove = CC_CALLBACK_1(CombatZoneLayer::onMouseMove, this);
Side note 1 : ontouchmove works fine (act like it should) outside of the PC window. if there is a way to force and on touchMove callback I could hack fix it.
Side note 2 : tried to get SDL working and it doesn’t get SDL_PollEvent for mouse stuff. I know the SDL_PollEvent works because I have it working for gamepads.