[sldev] adding support for a new input device to the SL viewer
Callum Lerwick
seg at haxxed.com
Thu Sep 13 10:45:20 PDT 2007
On Thu, 2007-09-13 at 17:46 +0200, Maurizio de Pascale wrote:
> additionally, what is the best way to proceed:
> 1) use the new device state to generate and post mouse messages on the
> queue and have them handled as coming out from the mouse?
> 2) calling directly the handleMouseXXX methods?
> 3) ignoring the mouse input handling and calling directly "what's called
> from" handleMouseXXX methods to have viewer react accordingly?
>
> at a first glance, for the long term, having a class like
> LLViewerJoystick looks like the way to go. Am I right?
The entire input layer needs to be abstracted such that events from
joysticks, keyboards, gamepads, mice and whatever else can be quickly
and easily bound to any function desired. Like you can do in Quake,
Doom, Unreal, Half Life and pretty much every other game on the planet.
-------------- 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/b18549e5/attachment.pgp
More information about the SLDev
mailing list