From: Adrian M. <ad...@mc...> - 2002-02-10 18:35:06
|
On Sunday 10 Feb 2002 5:41 pm, M. R. Brown wrote: > * Adrian McMenamin <ad...@mc...> on Sun, Feb 10, 2002: > > Having played "Sonic Adventure" a bit I have come to the conclusion it > > just rocks about (a lot of money for a computer driven motor, but that's > > another story). > > > > The thing is - I cannot find a standard API/IF for this sort of thing for > > Unix/Linux. I could write a custom one, but what's the point of that? > > Look for the ruby module of the Linux Console project > (linuxconsole.sf.net). It contains a working FF api for 2.5. I don't know > how feasible it would be to backport it to 2.4 or if such a port already > exists - you may want to contact the FF author. > > M. R. It's already in the input.h that comes with the latest LinuxDC/SH sources - so the answer is - yes, treat it as an input device - and then I can implement a very much paired down version of the API (as it does far more than seems to be supported by the iForce devices which this is modelled on). I hadn't thought to look directly in the existing 2.4 sources, but its there.... |