![]() |
peripherals
1.4.2
RoadNarrows Robotics Hardware Peripherals Package
|
Fine-grained testing of xbox360 library. More...
Functions | |
| static int | testXboxSanity () |
| Sanity test Xbox interface. More... | |
| static int | testXboxInput () |
| Test Xbox input interface. More... | |
| static int | testXboxRumble () |
| Tactically test Xbox rumble interface. More... | |
| static int | testXboxLED () |
| Visually test Xbox LED interface. More... | |
| TEST (Xbox360, XboxSanity) | |
| Sanity test Xbox360 controller interface. More... | |
| TEST (Xbox360, XboxInput) | |
| Visually test Xbox360 controller input interface. More... | |
| TEST (Xbox360, XboxRumble) | |
| Tactually test Xbox360 controller rumble interface. More... | |
| TEST (Xbox360, XboxLED) | |
| Visually test Xbox360 controller LED interface. More... | |
Fine-grained testing of xbox360 library.
| TEST | ( | Xbox360 | , |
| XboxSanity | |||
| ) |
Sanity test Xbox360 controller interface.
Definition at line 338 of file ut-HIDXbox360.cxx.
References testXboxSanity().
Referenced by testMotDummyGetAttrSpeed(), testMotDummySetSpeed(), and testRoboteqSmallSanity().
| TEST | ( | Xbox360 | , |
| XboxInput | |||
| ) |
Visually test Xbox360 controller input interface.
Definition at line 354 of file ut-HIDXbox360.cxx.
References testXboxInput().
| TEST | ( | Xbox360 | , |
| XboxRumble | |||
| ) |
Tactually test Xbox360 controller rumble interface.
Definition at line 369 of file ut-HIDXbox360.cxx.
References testXboxRumble().
| TEST | ( | Xbox360 | , |
| XboxLED | |||
| ) |
Visually test Xbox360 controller LED interface.
Definition at line 384 of file ut-HIDXbox360.cxx.
References testXboxLED().
|
static |
Test Xbox input interface.
Definition at line 113 of file ut-HIDXbox360.cxx.
References rnr::HIDInput::assocFeature(), rnr::HIDXbox360::debugPrintHdr(), rnr::HIDXbox360::debugPrintState(), rnr::HIDXbox360::getFeatureVal(), HID_BTTN_DOWN, rnr::HIDInput::MNEM_START, rnr::HIDXbox360::open(), rnr::HIDXbox360::update(), rnr::Xbox360FeatIdXButton, rnr::Xbox360FeatIdYButton, and XBOX_LIBUSB_DEBUG_WARN.
Referenced by TEST().
|
static |
Visually test Xbox LED interface.
Definition at line 248 of file ut-HIDXbox360.cxx.
References rnr::HIDInput::assocFeature(), rnr::HIDXbox360::debugPrintHdr(), rnr::HIDXbox360::debugPrintState(), rnr::HIDXbox360::getFeatureVal(), HID_BTTN_DOWN, rnr::HIDInput::MNEM_START, rnr::HIDXbox360::open(), rnr::HIDXbox360::setLED(), rnr::HIDXbox360::update(), XBOX360_LED_PAT_NUMOF, rnr::Xbox360FeatIdLeftBump, rnr::Xbox360FeatIdRightBump, rnr::Xbox360FeatIdXButton, rnr::Xbox360FeatIdYButton, and XBOX_LIBUSB_DEBUG_WARN.
Referenced by TEST().
|
static |
Tactically test Xbox rumble interface.
Definition at line 172 of file ut-HIDXbox360.cxx.
References rnr::HIDInput::assocFeature(), rnr::HIDXbox360::debugPrintHdr(), rnr::HIDXbox360::debugPrintState(), rnr::HIDXbox360::getFeatureVal(), HID_BTTN_DOWN, rnr::HIDInput::MNEM_START, rnr::HIDXbox360::open(), rnr::HIDXbox360::setRumble(), rnr::HIDXbox360::update(), rnr::Xbox360FeatIdLeftRumble, rnr::Xbox360FeatIdLeftTrigger, rnr::Xbox360FeatIdRightRumble, rnr::Xbox360FeatIdRightTrigger, rnr::Xbox360FeatIdXButton, rnr::Xbox360FeatIdYButton, and XBOX_LIBUSB_DEBUG_WARN.
Referenced by TEST().
|
static |
Sanity test Xbox interface.
Definition at line 72 of file ut-HIDXbox360.cxx.
References rnr::HIDXbox360::close(), rnr::HIDInput::isConnected(), rnr::HIDXbox360::open(), rnr::HIDXbox360::ping(), and XBOX_LIBUSB_DEBUG_WARN.
Referenced by TEST().