Atlas - hidapi_hidclass.h
Home / ext / SDL / src / hidapi / windows Lines: 1 | Size: 1168 bytes [Download] [Show on GitHub] [Search similar files] [Raw] [Raw (proxy)][FILE BEGIN]1/******************************************************* 2 HIDAPI - Multi-Platform library for 3 communication with HID devices. 4 5 libusb/hidapi Team 6 7 Copyright 2022, All Rights Reserved. 8 9 At the discretion of the user of this library, 10 this software may be licensed under the terms of the 11 GNU General Public License v3, a BSD-Style license, or the 12 original HIDAPI license as outlined in the LICENSE.txt, 13 LICENSE-gpl3.txt, LICENSE-bsd.txt, and LICENSE-orig.txt 14 files located at the root of the source distribution. 15 These files may also be found in the public source 16 code repository located at: 17 https://github.com/libusb/hidapi . 18********************************************************/ 19 20#ifndef HIDAPI_HIDCLASS_H 21#define HIDAPI_HIDCLASS_H 22 23#ifdef HIDAPI_USE_DDK 24 25#include <hidclass.h> 26 27#else 28 29#include <winioctl.h> 30 31/* This part of the header mimics hidclass.h, 32 but only what is used by HIDAPI */ 33 34#define HID_OUT_CTL_CODE(id) CTL_CODE(FILE_DEVICE_KEYBOARD, (id), METHOD_OUT_DIRECT, FILE_ANY_ACCESS) 35#define IOCTL_HID_GET_FEATURE HID_OUT_CTL_CODE(100) 36#define IOCTL_HID_GET_INPUT_REPORT HID_OUT_CTL_CODE(104) 37 38#endif 39 40#endif /* HIDAPI_HIDCLASS_H */ 41[FILE END](C) 2025 0x4248 (C) 2025 4248 Media and 4248 Systems, All part of 0x4248 See LICENCE files for more information. Not all files are by 0x4248 always check Licencing.