GameFreeze due to joystick connection in TGEA 1.3
by Siddartha · 04/29/2009 (11:52 pm) · 1 comments
I found this happening when working on TGEA 1.3. I found the issue is happening as a cause of activating and deactivating input controls.
here is the snippet that needs to be added to fix the problem.
step1:go to engineplatformWin32 path and open file winInput.cpp
step2:go to function Input::deactivate
step3:go to line dInputManager->deactivateJoystick();
(after all input devices get deactivated)
step4:add this line "dInputManager->disable();"
similarly go to function Input::activate in same file
step5:go to condition if ( dInputManager ) and inside the body
step6:add first statement as "dInputManager->enable();"
step7:Make a build and check out.
this should solve the above said problem.
comments are welcomed
here is the snippet that needs to be added to fix the problem.
step1:go to engineplatformWin32 path and open file winInput.cpp
step2:go to function Input::deactivate
step3:go to line dInputManager->deactivateJoystick();
(after all input devices get deactivated)
step4:add this line "dInputManager->disable();"
similarly go to function Input::activate in same file
step5:go to condition if ( dInputManager ) and inside the body
step6:add first statement as "dInputManager->enable();"
step7:Make a build and check out.
this should solve the above said problem.
comments are welcomed
About the author
WebSites: www.siddartha.info Myblogs: http://schoolofgaming.blogspot.com http://techtoolsreviewer.blogspot.com http://coolgamescreens.blogspot.com

Torque 3D Owner Michael Cozzolino
Big Monk Games