![]() |
peripherals
1.4.2
RoadNarrows Robotics Hardware Peripherals Package
|
Xbox360 diagnostic tool. More...
#include <sys/time.h>#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <string.h>#include <math.h>#include <errno.h>#include <string>#include <vector>#include <map>#include <fstream>#include <sstream>#include "rnr/rnrconfig.h"#include "rnr/log.h"#include "rnr/opts.h"#include "rnr/hid/HID.h"#include "rnr/hid/HIDXbox360.h"#include "version.h"Go to the source code of this file.
Macros | |
| #define | APP_EC_OK 0 |
| success exit code More... | |
| #define | APP_EC_GEN 1 |
| command-line options/arguments error exit code More... | |
| #define | APP_EC_ARGS 2 |
| command-line options/arguments error exit code More... | |
| #define | APP_EC_EXEC 4 |
| execution exit code More... | |
Functions | |
| int | main (int argc, char *argv[]) |
| Main. More... | |
Variables | |
| static char * | Argv0 |
| the command More... | |
| static bool | OptsDftThresholds = false |
| do [not] use error thresholding More... | |
| static OptsPgmInfo_T | AppPgmInfo |
| Program information. More... | |
| static OptsInfo_T | AppOptsInfo [] |
| Command line options information. More... | |
Xbox360 diagnostic tool.
Definition in file xbox360diag.cxx.
| #define APP_EC_ARGS 2 |
command-line options/arguments error exit code
Definition at line 85 of file xbox360diag.cxx.
| #define APP_EC_EXEC 4 |
| #define APP_EC_GEN 1 |
command-line options/arguments error exit code
Definition at line 84 of file xbox360diag.cxx.
| #define APP_EC_OK 0 |
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Main.
| argc | Command-line argument count. |
| argv | Command-line argument list. |
Definition at line 169 of file xbox360diag.cxx.
References APP_EC_EXEC, APP_EC_OK, AppOptsInfo, AppPgmInfo, Argv0, rnr::HIDXbox360::close(), rnr::HIDXbox360::debugPrintHdr(), rnr::HIDXbox360::debugPrintState(), rnr::HIDXbox360::getFeatureVal(), rnr::HIDInput::isConnected(), rnr::HIDXbox360::open(), OptsDftThresholds, PkgInfo, rnr::HIDXbox360::run(), rnr::HIDXbox360::setErrorThresholds(), rnr::HIDXbox360::setLED(), rnr::HIDXbox360::setRumble(), XBOX360_LED_PAT_NUMOF, rnr::Xbox360FeatIdBButton, rnr::Xbox360FeatIdLEDPat, rnr::Xbox360FeatIdLeftTrigger, rnr::Xbox360FeatIdRightBump, rnr::Xbox360FeatIdRightTrigger, and rnr::Xbox360FeatIdXButton.
|
static |
Command line options information.
Definition at line 141 of file xbox360diag.cxx.
Referenced by main().
|
static |
Program information.
Definition at line 111 of file xbox360diag.cxx.
Referenced by main().
|
static |
|
static |
do [not] use error thresholding
Definition at line 93 of file xbox360diag.cxx.
Referenced by main().