|
From: Alexander R. <ale...@us...> - 2002-03-04 04:45:08
|
Hi,
On Sunday 03 March 2002 12:52, you wrote:
> >
> > What has been done in writing such a high-level library already?
> > Any concepts yet etc?
I'll have a look at the mailing-list archive.
> > the right 'eight way' hatswitch is recognized as axes 4&5 - why is that
> > hatswitch an axis - and not maybe a row of buttons?
>
> Hats really are axes, aren't they ? I mean, if you see them as buttons,
> that means the left and the right positions could be enabled at the same
> time, which isn't the case. But you're right to rise the question, the
Hmm - agreed.
> left hatswitch should be seen as axes as well, which isn't the case for
> the moment.
Does anyone know how sdl recognizes hatswitches as hatswitches?
Vegastrike says this about found joysticks:
>2 joysticks were found.
>The names of the joysticks are:
> ttyS1/serio0/input0
>axes: 6 buttons: 13 hats: 0
> ttyS1/serio0/input0
>axes: 4 buttons: 13 hats: 1
Huh? SDL found 2 joysticks - with the same input - but differently?
What's going on?
What does VS say about your stick?
> > The Button Nr.2 and Button Nr.3 (in terms of my joysticks manual) are
> > somehow 'swapped' - at least, 'Button 2' is button nr. 2 in jstest, and
> > 'Button 3' is button 1 in jstest.
>
> I have a tendancy to ignore these docs (they don't say anything about
> the protocol used ;) I will fix it.
Maybe it's wrong in the manual :-)
> > [alex@jungle ff-utils]$ ./fftest /dev/input/event0
> > Force feedback test program.
> > HOLD FIRMLY YOUR WHEEL OR JOYSTICK TO PREVENT DAMAGES
> >
> > Device /dev/input/event0 opened
> > Axes query: Axis X Axis Y
> > Effects: Constant Periodic Spring Friction
> > Number of simultaneous effects: 20
> > Enter effect number, -1 to exit
> > 1
> > Enter effect number, -1 to exit
> > 2
> >
> > Nothing happens at all.
>
> What about effects 0 and 3 ? Do they work ? Did you try to change the
> magnitude of effects ? Did you try with USB ?
No effect works.
Magnitude: I tried ./ffset -g 50 - nothing
USB: not yet
> > How can I use the other ff-utils (no docu?)?
>
> ffcfstress stresses the joystick by simulating a spring using only
> constant force effects (as explained in the source).
> ffmvforce generates forces directed toward the mouse pointer. It's also
> a kind of stress test.
> I don't see what kind of documentation you expect ? The only meaningful
Just some README about them.
> utilities are those to set the gain and the auto-center. Others are code
> sample, and the documentation is naturally situated inside the code.
Ah - I hadn't looked that far yet, with the exception of evtest.c
> > Do I have to switch the joystick on at boot time to get it recognized by
> > the driver?
>
> No, you don't. Of course, you need to have it switched on when you load
> the driver and start inputattach. But that needn't be at boot time.
But most users (at least, me) will load drivers at boot time.
So, that's not user friendly, I think?
Is it possible to change that behaviour - to load the driver without power on
for the joystick?
> > What has stopped working is my old-analogue joystick:
> >
> > [root@jungle /root]# modprobe ns558
> > Now, with 2.4.12, the loading of ns558 doesn't work anymore - I dunno
> > why?
>
> Me neither. Perhaps a problem with es1371 ??? But I don't think the
I dunno.
> I-Force driver has anything to do with that (especially as ns558 is
> loaded before the iforce stuff). My patch does not touch ns558, btw.
Clear.
Alex
--
Alexander Rawass
Email: ale...@us...
http://tuxfleet.sourceforge.net http://qtreemap.sourceforge.net
...but some day you'll be a STAR in somebody else's SKY...
|