#include <linux/input.h>
#include <iostream>
#include <time.h>
#include "common/common.h"
#include "perf/perf.h"
#include "util/file.h"
Go to the source code of this file.
Defines | |
#define | CASE(XYZ) if (test_bit( XYZ , eventTypes)) { DPRINTF("%s ", #XYZ ); } |
Functions | |
static bool | test_bit (IN int bit, IN const byte_t *array) throw () |
static int | getIndex (IN int code, IN const int *array) |
static void | doRumble (IN smart_fd &fd, IN int value, IN int big) |
static void | doTest (IN const char *path) |
int | main (IN int argc, IN const char *argv[]) |
#define CASE | ( | XYZ | ) | if (test_bit( XYZ , eventTypes)) { DPRINTF("%s ", #XYZ ); } |
Definition at line 27 of file events.cpp.
static bool test_bit | ( | IN int | bit, | |
IN const byte_t * | array | |||
) | throw () [static] |
Definition at line 32 of file events.cpp.
static int getIndex | ( | IN int | code, | |
IN const int * | array | |||
) | [static] |
Definition at line 51 of file events.cpp.
static void doRumble | ( | IN smart_fd & | fd, | |
IN int | value, | |||
IN int | big | |||
) | [static] |
Definition at line 72 of file events.cpp.
static void doTest | ( | IN const char * | path | ) | [static] |
Definition at line 135 of file events.cpp.
int main | ( | IN int | argc, | |
IN const char * | argv[] | |||
) |
Definition at line 335 of file events.cpp.