Re: [AD] Triggers under Linux

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


To add some more confusion :)

1) Windows XInput driver already maps triggers to a single-axis separate sticks with 0..1 range and has comment explaining this, so this seem to be intentional 2) Windows DirectInput driver seem to have no notion of triggers. On my gamepad, it reports them as buttons anyway. I wonder if that's true for all gamepads... 3) MacOS X doesn't seem to support triggers-as-axis altogether and reports them as buttons (then again, it only sees my gamepad in DirectInput mode, where they are buttons even on Windows). According to the latest documentation for the newest API https://developer.apple.com/library/mac/documentation/GameController/Reference/GCGamePad_Ref/index.html#//apple_ref/doc/uid/TP40013199), gamepads do not have triggers, period.

Also, on MacOS X right stick has only one axis and does not recognize D-Pad at all. I think it's a bug :) I could investigate further, but I only has MacOS on virtual machine and it will take some time, because it's slow and sometimes painful process.




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