Game Development Community

Multiple Mice

by Padraic Hennessy · in Torque Game Engine · 10/02/2006 (10:01 pm) · 4 replies

I can't seem to get two mice to work in the game engine, I wrote different binds to each one and they both do the functions assigned to the first mouse (mouse0). Is there a way to dump all the current device info to the console?

any help would be greatly appreciated

#1
10/03/2006 (4:41 pm)
When i do enableMouse for the console it says that mouse0 has been activated, is there any code to change that would attempt to activate mouse1?
#2
10/03/2006 (6:35 pm)
Probably have to look at the lower layers of the code. Maybe even in the platform.cc or in the platform code for each platform. Maybe look at how multiple joysticks are done (if they are).
#3
10/03/2006 (11:14 pm)
Thanks, I'll start to do that and post what I find
#4
10/04/2006 (12:32 pm)
Just letting you know, if you implement Dave's P5 Resource, you could have the P5 mouse and a standard mouse working at the same time. Not sure if this helps or not. . .might be able to build off that resource.