Re: [AD] Triggers under Linux

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


Seems like we're piggybacking more and more off SDL all the time. This is
not to say it's a bad idea, just what hope do we have to keep our back ends
current with no users. The SDL backend is a good idea, kind of, but I'm
starting to want to just build a layer directly on top of SDL (just being
honest...)

-----Original Message-----
From: Peter Wang [mailto:novalazy@xxxxxxxxxx] 
Sent: March 17, 2015 1:55 AM
To: alleg-developers@xxxxxxxxxx
Subject: Re: [AD] Triggers under Linux

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/