- Timestamp:
- 06/27/07 14:17:36 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
juggler/branches/2.2/modules/gadgeteer/drivers/Microsoft/DirectXJoystick/DirectXJoystickStandalone.cpp
r19729 r20362 26 26 27 27 #include <windows.h> 28 29 #ifdef _DEBUG30 # include <iostream>31 #endif32 28 33 29 #include <dinput.h> … … 344 340 { 345 341 value_addr = &mJsData.lX; 346 #ifdef _DEBUG347 std::cout << "Object for X axis" << std::endl;348 #endif349 342 } 350 343 else if ( doi->guidType == GUID_YAxis ) 351 344 { 352 345 value_addr = &mJsData.lY; 353 #ifdef _DEBUG354 std::cout << "Object for Y axis" << std::endl;355 #endif356 346 } 357 347 else if ( doi->guidType == GUID_ZAxis ) 358 348 { 359 349 value_addr = &mJsData.lZ; 360 #ifdef _DEBUG361 std::cout << "Object for Z axis" << std::endl;362 #endif363 350 } 364 351 else if ( doi->guidType == GUID_RxAxis ) 365 352 { 366 353 value_addr = &mJsData.lRx; 367 #ifdef _DEBUG368 std::cout << "Object for X axis rotation" << std::endl;369 #endif370 354 } 371 355 else if ( doi->guidType == GUID_RyAxis ) 372 356 { 373 357 value_addr = &mJsData.lRy; 374 #ifdef _DEBUG375 std::cout << "Object for Y axis rotation" << std::endl;376 #endif377 358 } 378 359 else if ( doi->guidType == GUID_RzAxis ) 379 360 { 380 361 value_addr = &mJsData.lRz; 381 #ifdef _DEBUG382 std::cout << "Object for Z axis rotation" << std::endl;383 #endif384 362 } 385 363 else if ( doi->guidType == GUID_Slider ) … … 395 373 value_addr = &mJsData.rglSlider[1]; 396 374 } 397 #ifdef _DEBUG 398 std::cout << "Object for slider" << std::endl; 399 #endif 400 } 401 402 #ifdef _DEBUG 403 std::cout << "Setting mAxisValueMap[" << axis_index << "]" << std::endl; 404 #endif 375 } 376 405 377 mAxisValueMap[axis_index] = value_addr; 406 378 axis_index--;
