Unable to register secondary mouse device
by Marcus Flysjö · in Technical Issues · 04/12/2010 (6:35 am) · 2 replies
I'll be blunt, i've tried and tried again to make Torque register that i have an secondary mouse device plugged in and i want to handle inputs from this.
i know mundane functions such as onMouseDown etc..etc.. will not work and instead we should try and use actionMap.bind or/and actionMap.bindCmd. However i am unable to initilize wheter a device is mouse0(first one) or mouse1(second one). Torque specificly informs us that multiple devices are supported but as of yet i have not seen a single tutorial and/or solution to this ever so annoying problem
If anyone out there manages to solve how you manage to register 2 seperate mouse devices into torque and handle them seperatly with customized cursors(made of t2dstaticSprites), please do tell
i know mundane functions such as onMouseDown etc..etc.. will not work and instead we should try and use actionMap.bind or/and actionMap.bindCmd. However i am unable to initilize wheter a device is mouse0(first one) or mouse1(second one). Torque specificly informs us that multiple devices are supported but as of yet i have not seen a single tutorial and/or solution to this ever so annoying problem
If anyone out there manages to solve how you manage to register 2 seperate mouse devices into torque and handle them seperatly with customized cursors(made of t2dstaticSprites), please do tell
#2
04/14/2010 (3:47 am)
Why would Garagegames then tell us that Multiple mice devices are supported in the Torque2d Documentation?
Associate Scott Burns
GG Alumni