1cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh/**************************************************************************** 2cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh **************************************************************************** 3cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh *** 4cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh *** This header was automatically generated from a Linux kernel header 5cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh *** of the same name, to make information necessary for userspace to 6cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh *** call into the kernel available to libc. It contains only constants, 7cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh *** structures, and macros generated from the original header, and thus, 8cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh *** contains no copyrightable information. 9cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh *** 10cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh *** To edit the content of this header, modify the corresponding 11cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh *** source file (e.g. under external/kernel-headers/original/) then 12cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh *** run bionic/libc/kernel/tools/update_all.py 13cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh *** 14cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh *** Any manual change here will be lost the next time this script will 15cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh *** be run. You've been warned! 16cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh *** 17cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh **************************************************************************** 18cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh ****************************************************************************/ 19cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh#ifndef _UAPI_HIDRAW_H 20cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh#define _UAPI_HIDRAW_H 21cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh#include <linux/hid.h> 22cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh#include <linux/types.h> 23cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsiehstruct hidraw_report_descriptor { 25cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh __u32 size; 26cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh __u8 value[HID_MAX_DESCRIPTOR_SIZE]; 27cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh}; 28cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsiehstruct hidraw_devinfo { 30cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh __u32 bustype; 31cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh __s16 vendor; 32cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh __s16 product; 33cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh}; 35cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh#define HIDIOCGRDESCSIZE _IOR('H', 0x01, int) 36cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh#define HIDIOCGRDESC _IOR('H', 0x02, struct hidraw_report_descriptor) 37cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh#define HIDIOCGRAWINFO _IOR('H', 0x03, struct hidraw_devinfo) 38cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh#define HIDIOCGRAWNAME(len) _IOC(_IOC_READ, 'H', 0x04, len) 40cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh#define HIDIOCGRAWPHYS(len) _IOC(_IOC_READ, 'H', 0x05, len) 41cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh#define HIDIOCSFEATURE(len) _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x06, len) 42cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh#define HIDIOCGFEATURE(len) _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x07, len) 43cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh#define HIDRAW_FIRST_MINOR 0 45cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh#define HIDRAW_MAX_DEVICES 64 46cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh#define HIDRAW_BUFFER_SIZE 64 47cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh#endif 48cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49