From b32aaab065ba348d53ee904645ac7413e2a55995 Mon Sep 17 00:00:00 2001 From: Aric Stewart Date: Mon, 6 Jul 2015 13:09:56 -0500 Subject: [PATCH] include: New ddk/hidtypes.h include file. --- include/Makefile.in | 1 + include/ddk/hidtypes.h | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 include/ddk/hidtypes.h diff --git a/include/Makefile.in b/include/Makefile.in index 54f0ae1b916..b5243264190 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -256,6 +256,7 @@ SRCDIR_INCLUDES = \ ddk/hidpi.h \ ddk/hidport.h \ ddk/hidsdi.h \ + ddk/hidtypes.h \ ddk/imm.h \ ddk/mountmgr.h \ ddk/ntddcdvd.h \ diff --git a/include/ddk/hidtypes.h b/include/ddk/hidtypes.h new file mode 100644 index 00000000000..dfd1061de18 --- /dev/null +++ b/include/ddk/hidtypes.h @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2015 Aric Stewart + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __HIDTYPES_H +#define __HIDTYPES_H + +typedef enum _HID_STRING_TYPE { + HID_STRING_INDEXED = 0, + HID_STRING_ID_IMANUFACTURER, + HID_STRING_ID_IPRODUCT, + HID_STRING_ID_ISERIALNUMBER, + HID_STRING_MAX +} HID_STRING_TYPE; + +#endif /* __HIDTYPES_H */