Re: [AD] Triggers under Linux

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2015-03-15 5:10 PM, Elias Pschernig wrote:
As for the button state in ALLEGRO_JOYSTICK_STATE, maybe let's change it to float in the range 0..1 and also report a float in ALLEGRO_JOYSTICK_BUTTON_DOWN... even if nothing can have in between values right now, I just feel it's more consistent.

Hold on, wait what? Why use a float when a boolean is sufficient. That's plain bad, unless and until we decide to use actual floating point values...




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/