On Thu, Feb 22, 2001 at 03:44:23PM -0800, Dunlap, Randy wrote:
> > From: Matt Johnston [mailto:[EMAIL PROTECTED]]
> > 
> > I've got a Sidewinder Strategic Commander joystick, it works fine
> > (reading button status/axes etc) with the joydev driver, and I have
> > also managed to get the LEDs for the various buttons to work using a
> > modified usb-robot-slave. However I can't currently use both of these
> > at once.
> 
> So you know how to send control or interrupt messages (which ?)
> to the joystick to manage its LEDs, right?
> 
> > Looking at the kernel source( drivers/usb, drivers/input and the
> > iforce joystick driver), I can't see any simple way to implement a
> > driver which behaves as a normal joystick and allows for setting the
> > LEDs.
> 
> [Where is Vojtech? :]

Late, but here. You can read() /dev/input/event0 for the input data and
write() to the same device for the LEDs. The /dev/input/js devices don't
support LEDs, because this interface was developed only with normal
joysticks in mind.

-- 
Vojtech Pavlik
SuSE Labs

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to