[Bf-taskforce25] Multiple input devices

Nathan Letwory jesterking at letwory.net
Tue Nov 25 23:45:43 CET 2008


2008/11/25 Ton Roosendaal <ton at blender.org>:
> Hi,
>
> For those who want to connect 2 mice, or a mouse + Ndof device, and
> other combos:

I've spend the evening looking for libraries and solution for handling
this type of setups. There are quite many different libraries
available, but most of them have the problem that they are
platform-specific.

The only library that looks viable for now is Many Mouse (
http://icculus.org/manymouse/ - the webpage looks quite old, but it
seems that the library is still being developed, albeit
semi-actively). During the search, I actually found that SDL had as
GSoC 2008 project integration of ManyMouse (and supposedly touch
devices). It may be worth to investigate this further.

I've compiled the small lib successfully on Windows and the events
seem to pour in nicely and easily. Will have to look deeper into how
to potentially integrate this into GHOST.

ManyMouse still lacks XInput support, but I guess bdiego or so could
add that easily ;) That way we'd have for Linux/X server a lib using
the XInput core protocol. Using MPX is not necessarily an option, as
it is essentially a replacement of the entire X server (and not very
portable either).

OSX support is also available, although I can't really test, and I
guess that more platforms should be added as work on this progresses.

/Nathan


More information about the Bf-taskforce25 mailing list