Linux Kernel
3.7.1
|
#include <linux/types.h>
#include <linux/input.h>
#include <linux/hidraw.h>
#include <sys/ioctl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <errno.h>
Go to the source code of this file.
Macros | |
#define | HIDIOCSFEATURE(len) _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x06, len) |
#define | HIDIOCGFEATURE(len) _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x07, len) |
Functions | |
const char * | bus_str (int bus) |
int | main (int argc, char **argv) |
#define HIDIOCGFEATURE | ( | len | ) | _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x07, len) |
Definition at line 25 of file hid-example.c.
#define HIDIOCSFEATURE | ( | len | ) | _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x06, len) |
Definition at line 24 of file hid-example.c.
Definition at line 159 of file hid-example.c.
Definition at line 43 of file hid-example.c.