Repository navigation
Expand file tree
/
Copy pathGipMetadata.h
More file actions
23 lines (23 loc) · 1.45 KB
/
Copy pathGipMetadata.h
File metadata and controls
23 lines (23 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#pragma once
#include <cstdint>
// Microsoft [MS-GIPUSB] standard Gamepad metadata, extended with the Windows
// USB security opt-out interface documented in section 5.1. Firmware 1.1.
// Copyright Microsoft Corporation. Distributed as an implementation code sample
// under the Open Specifications documentation permissions. See licenses/NOTICE.
namespace ExampleDescriptors {
inline constexpr std::uint8_t GipMetadata[] = {
0x10,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xC6,0x00,
0x87,0x00,0x16,0x00,0x1B,0x00,0x1C,0x00,0x23,0x00,0x29,0x00,0x46,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x00,0x01,0x00,0x00,0x06,0x01,0x02,0x03,
0x04,0x06,0x07,0x05,0x01,0x04,0x05,0x06,0x0A,0x01,0x1A,0x00,0x57,0x69,0x6E,0x64,
0x6F,0x77,0x73,0x2E,0x58,0x62,0x6F,0x78,0x2E,0x49,0x6E,0x70,0x75,0x74,0x2E,0x47,
0x61,0x6D,0x65,0x70,0x61,0x64,0x04,0x56,0xFF,0x76,0x97,0xFD,0x9B,0x81,0x45,0xAD,
0x45,0xB6,0x45,0xBB,0xA5,0x26,0xD6,0x2C,0x40,0x2E,0x08,0xDF,0x07,0xE1,0x45,0xA5,
0xAB,0xA3,0x12,0x7A,0xF1,0x97,0xB5,0xE7,0x1F,0xF3,0xB8,0x86,0x73,0xE9,0x40,0xA9,
0xF8,0x2F,0x21,0x26,0x3A,0xCF,0xB7,0x77,0xCE,0x34,0x7A,0xE2,0x7D,0xC6,0x45,0x8C,
0xA4,0x00,0x42,0xC0,0x8B,0xD9,0x4A,0x02,0x17,0x00,0x20,0x0E,0x00,0x01,0x00,0x10,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x17,
0x00,0x09,0x09,0x00,0x01,0x00,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,
};
}