Re: [AD] Triggers under Linux |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: "'Allegro Development'" <alleg-developers@xxxxxxxxxx>
- Subject: Re: [AD] Triggers under Linux
- From: "Trent Gamblin" <trent@xxxxxxxxxx>
- Date: Tue, 17 Mar 2015 02:24:36 -0600
- Thread-index: AQGzA1k2XX707of2Lv11kGKQ3UsklgGVKWO6Aa1poVUCWHV2jwI4U6CWATN2rhkCsADJ5gKPfjg6AcDGdnEDRh45XQFY7nsVAg60hr4BCdARZQHorRfKAa0390ecgGugwA==
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