From 0ec06676c3f2efd9a477e60ae05f92199e1d7a92 Mon Sep 17 00:00:00 2001 From: Joey Yakimowich-Payne Date: Tue, 11 Aug 2026 12:23:07 +0900 Subject: [PATCH] Define Switch2 descriptors Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- switch2_descriptors.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 switch2_descriptors.h diff --git a/switch2_descriptors.h b/switch2_descriptors.h new file mode 100644 index 0000000..b8848aa --- /dev/null +++ b/switch2_descriptors.h @@ -0,0 +1,22 @@ +#pragma once + +#include +#include + +extern const uint8_t switch2_device_descriptor[]; +extern const size_t switch2_device_descriptor_length; + +extern const uint8_t switch2_configuration_descriptor[]; +extern const size_t switch2_configuration_descriptor_length; + +extern const uint8_t switch2_hid_report_descriptor[]; +extern const size_t switch2_hid_report_descriptor_length; + +extern const uint8_t switch2_string_language[]; +extern const size_t switch2_string_language_length; +extern const uint8_t switch2_string_manufacturer[]; +extern const size_t switch2_string_manufacturer_length; +extern const uint8_t switch2_string_product[]; +extern const size_t switch2_string_product_length; +extern const uint8_t switch2_string_serial[]; +extern const size_t switch2_string_serial_length;