From 010e4b2f307671e016727b633d7932c600b0412f Mon Sep 17 00:00:00 2001 From: fangyunzhong Date: Thu, 31 Aug 2023 07:19:44 +0000 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E2in1=E9=99=90=E5=AE=9A?= =?UTF-8?q?=E8=AF=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: fangyunzhong --- include/resource_data.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/resource_data.h b/include/resource_data.h index 40b1a31..c57d56c 100644 --- a/include/resource_data.h +++ b/include/resource_data.h @@ -39,7 +39,7 @@ const static std::string LONG_PATH_HEAD = "\\\\?\\"; const static std::string ID_DEFINED_INDENTATION = " "; const static int32_t VERSION_MAX_LEN = 128; const static int32_t INT_TO_BYTES = sizeof(uint32_t); -static const int8_t RESTOOL_VERSION[VERSION_MAX_LEN] = { "Restool 4.005" }; +static const int8_t RESTOOL_VERSION[VERSION_MAX_LEN] = { "Restool 4.101" }; const static int32_t TAG_LEN = 4; enum class KeyType { @@ -88,6 +88,7 @@ enum class DeviceType { // RESERVER 3 TV = 4, WEARABLE = 6, + TWOINONE = 7, }; enum class ResolutionType { @@ -143,6 +144,7 @@ const std::map g_deviceMap = { { "car", DeviceType::CAR }, { "tv", DeviceType::TV }, { "wearable", DeviceType::WEARABLE }, + { "2in1", DeviceType::TWOINONE }, }; const std::map g_resolutionMap = {