Nuklear
Nuklear copied to clipboard
Handle forcible cursor moving in allegro demo
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).