Path: blob/master/thirdparty/sdl/hidapi/windows/hidapi_hidclass.h
9917 views
/*******************************************************1HIDAPI - Multi-Platform library for2communication with HID devices.34libusb/hidapi Team56Copyright 2022, All Rights Reserved.78At the discretion of the user of this library,9this software may be licensed under the terms of the10GNU General Public License v3, a BSD-Style license, or the11original HIDAPI license as outlined in the LICENSE.txt,12LICENSE-gpl3.txt, LICENSE-bsd.txt, and LICENSE-orig.txt13files located at the root of the source distribution.14These files may also be found in the public source15code repository located at:16https://github.com/libusb/hidapi .17********************************************************/1819#ifndef HIDAPI_HIDCLASS_H20#define HIDAPI_HIDCLASS_H2122#ifdef HIDAPI_USE_DDK2324#include <hidclass.h>2526#else2728#include <winioctl.h>2930/* This part of the header mimics hidclass.h,31but only what is used by HIDAPI */3233#define HID_OUT_CTL_CODE(id) CTL_CODE(FILE_DEVICE_KEYBOARD, (id), METHOD_OUT_DIRECT, FILE_ANY_ACCESS)34#define IOCTL_HID_GET_FEATURE HID_OUT_CTL_CODE(100)35#define IOCTL_HID_GET_INPUT_REPORT HID_OUT_CTL_CODE(104)3637#endif3839#endif /* HIDAPI_HIDCLASS_H */404142