Skip to content

Handle forcible cursor moving in allegro demo#817

Merged
RobLoach merged 1 commit intoImmediate-Mode-UI:masterfrom
lockie:master
Apr 17, 2026
Merged

Handle forcible cursor moving in allegro demo#817
RobLoach merged 1 commit intoImmediate-Mode-UI:masterfrom
lockie:master

Conversation

@lockie
Copy link
Copy Markdown
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).

@RobLoach RobLoach merged commit ce181dd into Immediate-Mode-UI:master Apr 17, 2026
1 check passed
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.

2 participants