Re: [AD] Triggers under Linux

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


On Tue, 17 Mar 2015 10:02:51 +0300, Max Savenkov <max.savenkov@xxxxxxxxxx> wrote:
> I dug in deeper, and frankly, I despair. From code of joydev, Linux 
> general joystick driver, it's apparent it can't differentiate triggers 
> from other axes in any way. So there is no way for Allegro, or 
> end-user's program to know, if a given axis has neutral value of 0, or 
> of -1 short of using a controller database. Let's not touch anything, 
> then. I'll try to fix this issue with crutches in my game code :(

Allegro could support the SDL_GAMECONTROLLERCONFIG environment variable.

Peter




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