Game Development Community

Multiple Mouse support

by Kuju Manila · in Torque Game Engine · 02/18/2008 (1:52 am) · 7 replies

Can someone tell/show me a resource which can extend the Torque Game Engine for multiple mouse support?

#1
02/23/2008 (10:20 pm)
As far as I know, there is no such resource. It seems like it should be possible, considering that TGE has the ability to reference mouse0, in other words a specific mouse by number.

I managed to spot this forum discussion labeled "multiple mice," however it's in the TGB private section and I don't have a copy of TGB. If you do, you might get something out of it:

www.garagegames.com/mg/forums/result.thread.php?qt=28734

Seems kind of absurd to suggest, but have you tried plugging in a second mouse and simply binding some functions to mouse1 and others to mouse0?
#2
02/25/2008 (3:46 pm)
This sux. I don't have TGB as well. I hope Garagegames would kindly port over that resource to TGE users -- or the whole Torque users.
#3
02/25/2008 (5:57 pm)
I'm frequently irritated by that as well, considering how much the architectures have in common. Sometimes I'm positive the TGB post could be useful to me in TGE, but I'll never know.
#4
03/11/2008 (8:50 pm)
I am using a different type of HID pointing device (not mouse). I have successfully done this on that specific device only.

You just have to do A LOT of additions to your engine source code, to be specific, the GuiCanvas, the guiTypes, events, WinInput, platformInput, and the Gui Controls.
#5
03/16/2009 (2:23 pm)
It depends IMO. on what kind of input device you use, if it's a normal HID you probably, as Kuju wrote, have to do alot of changes.

But, for a lot of other devices out there, there are SDK's available which provides you with direct access to the device through c++, and linking that up to script shouldn't be all too hard.

Datagloves, HMD's, Motion trackers, Head trackers, Wands, and so on..
There is quite a list of interesting technology you can use with some imagination.

Me, I've run a biz doing virtual reality things, I have quite some ideas of what I can do with TGE regarding other input devices.
(Along with contacts with hardware manufacturers, OEM developers, etc.)

I don't off-hand know any "straight-up" way to use multiple HID devices I'm afraid.
#6
03/17/2009 (2:22 pm)
Actually, scratch that last part.

You should check out GlovePIE, by Carl Kenner, it apparently supports multiple mice inputs.

I haven't tried it myself but a lot of people have and there's communities using it and should be able to offer some support/help in working with it.
#7
04/12/2009 (3:06 am)
How did it turn out, Kuju? Any luck?