[sldev] adding support for a new input device to the SL viewer
Callum Lerwick
seg at haxxed.com
Thu Sep 13 15:53:44 PDT 2007
On Thu, 2007-09-13 at 14:06 -0700, Ettore Pasquini wrote:
> - As you know the viewer already uses DirectInput on windows for the flycam.
> On OS X I'm using the HID manager, and I believe there is a library on Linux
> to handle HID devices.
> - I developed an open source library to have a cross-platform API to access
> the device. The implementation is DI on Win and HID on OS X, any other
> platforms can be added by just implementing a few functions. This makes
> viewer code unaware of the underlying implementation.
> - I am refactoring the joystick implementation to use the above library.
Is there a reason you can't just use SDL's joystick layer rather than
reinventing more wheels?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.secondlife.com/pipermail/sldev/attachments/20070913/54bf219d/attachment.pgp
More information about the SLDev
mailing list