Christoph Frick wrote:
hiho
this is again my patch for handling more than one /dev/input/event* joystick within dinput. there are several other patches now to follow, that expect this patch to be applied. so i label this one 0 of 6. against the previous version it only has some "detect first joystick" code moved around.
License: LGPL ChangeLog: 2006-07-02 Christoph Frick rid@zefix.tv multiple /dev/input/event* joysticks
Why are you changing the code outside of joystick_linuxinput?
On Tue, Jul 04, 2006 at 08:03:06PM -0400, Robert Reif wrote:
this is again my patch for handling more than one /dev/input/event* joystick within dinput. there are several other patches now to follow, that expect this patch to be applied. so i label this one 0 of 6. against the previous version it only has some "detect first joystick" code moved around.
Why are you changing the code outside of joystick_linuxinput?
as explained in my first submit, the code in our dinput's main already has some way to work with multiple devices of one kind i changed the return of the enum-device methods to an int so we have 0=nothing, 1=here is one and -1=nothing here and dont bother any further.
i can see no harm in this changes and all the games i tested could not either.
Christoph Frick wrote:
On Tue, Jul 04, 2006 at 08:03:06PM -0400, Robert Reif wrote:
this is again my patch for handling more than one /dev/input/event* joystick within dinput. there are several other patches now to follow, that expect this patch to be applied. so i label this one 0 of 6. against the previous version it only has some "detect first joystick" code moved around.
Why are you changing the code outside of joystick_linuxinput?
as explained in my first submit, the code in our dinput's main already has some way to work with multiple devices of one kind i changed the return of the enum-device methods to an int so we have 0=nothing, 1=here is one and -1=nothing here and dont bother any further.
i can see no harm in this changes and all the games i tested could not either.
This patch causes the dinput joystick regression test to hang. You shouldn't need to change any code outside of joystick_linuxinput.*.
On Wed, Jul 05, 2006 at 06:50:06AM -0400, Robert Reif wrote:
This patch causes the dinput joystick regression test to hang. You shouldn't need to change any code outside of joystick_linuxinput.*.
ok thanks for the hint. i will change the code so the detection of the dinput devices will create a continous list. i will also see, what causes the regression.