allegroflare / allegro_flare

Application toolkit for Allegro 5
https://clubcatt.com/allegroflare
MIT License
35 stars 6 forks source link

Screens & Framework needs to pass event into "key_up_func" and "key_up_funcs" #179

Closed MarkOates closed 2 years ago

MarkOates commented 3 years ago

Right now, the key_down_func and key_down_funcs are passing down the ALLEGRO_EVENT for the keypress. This is a preferred pattern.

In the DragonWrath game, the fix was applied. This same change needs to be added to to Framework.

This is the change: https://github.com/MarkOates/DragonWrath/commit/a6f6207cc67d4edc3bd13df6828fc8c64d0dda19

MarkOates commented 2 years ago

Done in https://github.com/allegroflare/allegro_flare/commit/3dd75a54e9ba28e71377629fe359d031457911a9