-
Notifications
You must be signed in to change notification settings - Fork 46
mouse motion event under simulator #26
Comments
I really haven't tested much at all on the simulator, I'm afraid. I'm assuming you're dragging the mouse (holding left button) and not getting any events? ----- Original Message ----- I don't know if I'm doing something wrong or if there is an issue with SDL_MOUSEMOTION event under the simulator. Although I don't think the problem is in my code. I receive SDL_MOUSEBUTTONDOWN & SDL_MOUSEBUTTONUP events but never the SDL_MOUSEMOTION event Below is a snippet code for my event loop function and I never get the SDL_MOUSEMOTION event: eventloop()
} Reply to this email directly or view it on GitHub: This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful. |
Yes that's correct I keep pressed the left, the right, the wheel and nothing while dragging the mouse. Even without any buttons pressed, just moving the mouse. Also correct that I'm using the touchcontroloverlay with and without sdl-controls.xml I've placed the sdl-controls.xml in the assets folder as one large control (full screen): |
I've just built my game for the device (both debug and release versions) and the code runs ok, I do receive mouse move events. So it seams the problem is only in the simulator. One more thing I've noticed running on the actual hardware, even though I get the mouse motion events for different fingers, the code runs sluggish. So you can't say it can be used for multi touch. |
I don't know if I'm doing something wrong or if there is an issue with SDL_MOUSEMOTION event under the simulator. Although I don't think the problem is in my code. I receive SDL_MOUSEBUTTONDOWN & SDL_MOUSEBUTTONUP events but never the SDL_MOUSEMOTION event
Below is a snippet code for my event loop function and I never get the SDL_MOUSEMOTION event:
eventloop()
{
// we'll be using this for event polling
SDL_Event ev;
}
The text was updated successfully, but these errors were encountered: