#include <cstring>
#include <cstdio>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include "FGLinuxEventInput.hxx"
#include <libudev.h>
#include <poll.h>
#include <linux/input.h>
#include <fcntl.h>
#include <string.h>
Go to the source code of this file.
|
static bool | bitSet (unsigned char *buf, unsigned bit) |
|
◆ input_event_sec
#define input_event_sec time.tv_sec |
◆ input_event_usec
#define input_event_usec time.tv_usec |
◆ bitSet()
static bool bitSet |
( |
unsigned char * | buf, |
|
|
unsigned | bit ) |
|
inlinestatic |
◆ EVENT_NAME_BY_EVENT_TYPE
◆ EVENT_NAME_BY_TYPE
◆ EVENT_NAMES_BY_EVENT_TYPE
struct enbet EVENT_NAMES_BY_EVENT_TYPE[] |
|
static |
Initial value:= {
{ EV_SYN, "syn" },
{ EV_KEY, "button" },
{ EV_REL, "rel" },
{ EV_ABS, "abs" },
{ EV_MSC, "msc" },
{ EV_SW, "button" },
{ EV_LED, "led" },
{ EV_SND, "snd" },
{ EV_REP, "rep" },
{ EV_FF, "ff" },
{ EV_PWR, "pwr" },
{ EV_FF_STATUS, "ff-status" }
}
◆ EVENT_TYPE_BY_NAME
◆ EVENT_TYPES
◆ ugly_buffer