peripherals  1.4.2
RoadNarrows Robotics Hardware Peripherals Package
ut-HIDXbox360.cxx File Reference

Unit test for libhid xbox360 controller. More...

#include <iostream>
#include <string>
#include "rnr/rnrconfig.h"
#include "rnr/log.h"
#include "rnr/hid/HID.h"
#include "rnr/hid/HIDXbox360.h"
#include <gtest/gtest.h>

Go to the source code of this file.

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...
 

Detailed Description

Unit test for libhid xbox360 controller.

LastChangedDate
2014-03-03 09:01:51 -0700 (Mon, 03 Mar 2014)
Rev
3586
Author
Daniel Packard (danie.nosp@m.l@ro.nosp@m.adnar.nosp@m.rows.nosp@m..com)

Definition in file ut-HIDXbox360.cxx.