Functions

linux-input/test/test.cpp File Reference

#include <time.h>
#include <iostream>
#include "linux-input/linux-input.h"
#include "perf/perf.h"
Include dependency graph for linux-input/test/test.cpp:

Go to the source code of this file.

Functions

static int getIntDigits (IN int x) throw ()
static int getPotDigits (IN int min, IN int max) throw ()
static void printPot (IN int idx, IN const gamepad::pot_value_t &pv) throw ()
static void doTest (void)
int main (IN int argc, IN const char *argv[])

Function Documentation

static int getIntDigits ( IN int  x  )  throw () [static]

Definition at line 27 of file linux-input/test/test.cpp.

static int getPotDigits ( IN int  min,
IN int  max 
) throw () [static]

Definition at line 48 of file linux-input/test/test.cpp.

static void printPot ( IN int  idx,
IN const gamepad::pot_value_t pv 
) throw () [static]

Definition at line 69 of file linux-input/test/test.cpp.

static void doTest ( void   )  [static]

Definition at line 110 of file linux-input/test/test.cpp.

int main ( IN int  argc,
IN const char *  argv[] 
)

Definition at line 250 of file linux-input/test/test.cpp.