Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/linux
File: hid.h
/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
[0] Fix | Delete
/*
[1] Fix | Delete
* Copyright (c) 1999 Andreas Gal
[2] Fix | Delete
* Copyright (c) 2000-2001 Vojtech Pavlik
[3] Fix | Delete
* Copyright (c) 2006-2007 Jiri Kosina
[4] Fix | Delete
*/
[5] Fix | Delete
/*
[6] Fix | Delete
* This program is free software; you can redistribute it and/or modify
[7] Fix | Delete
* it under the terms of the GNU General Public License as published by
[8] Fix | Delete
* the Free Software Foundation; either version 2 of the License, or
[9] Fix | Delete
* (at your option) any later version.
[10] Fix | Delete
*
[11] Fix | Delete
* This program is distributed in the hope that it will be useful,
[12] Fix | Delete
* but WITHOUT ANY WARRANTY; without even the implied warranty of
[13] Fix | Delete
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
[14] Fix | Delete
* GNU General Public License for more details.
[15] Fix | Delete
*
[16] Fix | Delete
* You should have received a copy of the GNU General Public License
[17] Fix | Delete
* along with this program; if not, write to the Free Software
[18] Fix | Delete
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
[19] Fix | Delete
*
[20] Fix | Delete
* Should you need to contact me, the author, you can do so either by
[21] Fix | Delete
* e-mail - mail your message to <vojtech@ucw.cz>, or by paper mail:
[22] Fix | Delete
* Vojtech Pavlik, Simunkova 1594, Prague 8, 182 00 Czech Republic
[23] Fix | Delete
*/
[24] Fix | Delete
#ifndef __HID_H
[25] Fix | Delete
#define __HID_H
[26] Fix | Delete
[27] Fix | Delete
[28] Fix | Delete
[29] Fix | Delete
/*
[30] Fix | Delete
* USB HID (Human Interface Device) interface class code
[31] Fix | Delete
*/
[32] Fix | Delete
[33] Fix | Delete
#define USB_INTERFACE_CLASS_HID 3
[34] Fix | Delete
[35] Fix | Delete
/*
[36] Fix | Delete
* USB HID interface subclass and protocol codes
[37] Fix | Delete
*/
[38] Fix | Delete
[39] Fix | Delete
#define USB_INTERFACE_SUBCLASS_BOOT 1
[40] Fix | Delete
#define USB_INTERFACE_PROTOCOL_KEYBOARD 1
[41] Fix | Delete
#define USB_INTERFACE_PROTOCOL_MOUSE 2
[42] Fix | Delete
[43] Fix | Delete
/*
[44] Fix | Delete
* HID class requests
[45] Fix | Delete
*/
[46] Fix | Delete
[47] Fix | Delete
#define HID_REQ_GET_REPORT 0x01
[48] Fix | Delete
#define HID_REQ_GET_IDLE 0x02
[49] Fix | Delete
#define HID_REQ_GET_PROTOCOL 0x03
[50] Fix | Delete
#define HID_REQ_SET_REPORT 0x09
[51] Fix | Delete
#define HID_REQ_SET_IDLE 0x0A
[52] Fix | Delete
#define HID_REQ_SET_PROTOCOL 0x0B
[53] Fix | Delete
[54] Fix | Delete
/*
[55] Fix | Delete
* HID class descriptor types
[56] Fix | Delete
*/
[57] Fix | Delete
[58] Fix | Delete
#define HID_DT_HID (USB_TYPE_CLASS | 0x01)
[59] Fix | Delete
#define HID_DT_REPORT (USB_TYPE_CLASS | 0x02)
[60] Fix | Delete
#define HID_DT_PHYSICAL (USB_TYPE_CLASS | 0x03)
[61] Fix | Delete
[62] Fix | Delete
#define HID_MAX_DESCRIPTOR_SIZE 4096
[63] Fix | Delete
[64] Fix | Delete
[65] Fix | Delete
#endif /* __HID_H */
[66] Fix | Delete
[67] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function