Subject: Re: USB joystick with VICE?
To: Nathan J. Williams <firstname.lastname@example.org>
From: Lennart Augustsson <email@example.com>
Date: 01/05/2004 17:56:14
Nathan J. Williams wrote:
> Jukka Marin <firstname.lastname@example.org> writes:
>>I was wondering if I could use a USB joystick with the C64 emulator (VICE)
>>under NetBSD. So I went and bought myself a Logitech Attack 3 stick (the
>>cheapest I could find :-) and plugged it in:
>>uhidev1 at uhub1 port 2 configuration 1 interface 0
>>uhidev1: Logitech Logitech Attack 3, rev 1.10/0.10, addr 3, iclass 3/0
>>uhid0 at uhidev1: input=5, output=0, feature=4
> That's normal for a USB joystick (or wheel, or other generic
> knobs-and-buttons-and-switches HID device).
Yes, as Nathan says this is normal. It would not be difficult
to write a ujoy driver that handles joysticks and presents the
same API as the joy driver. Or (as Nathan said) you can modify
the VICE emulator.