Skip to content

Handle forcible cursor moving in allegro demo #817

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lockie
Copy link
Contributor

@lockie lockie commented Jun 19, 2025

Hello! This tiny PR adds handling of ALLEGRO_EVENT_MOUSE_WARPED event to liballegro demo, which is caused by forcibly setting cursor coordinates with e.g. al_set_mouse_xy. It is not used in demo, but it'll come in handy for complex UIs with multiple input event sources (e.g. joystick).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant