新增2in1限定词

Signed-off-by: fangyunzhong <fangyunzhong2@huawei.com>
This commit is contained in:
fangyunzhong
2023-08-31 07:19:44 +00:00
parent a55ea2b982
commit 010e4b2f30
+3 -1
View File
@@ -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<std::string, DeviceType> g_deviceMap = {
{ "car", DeviceType::CAR },
{ "tv", DeviceType::TV },
{ "wearable", DeviceType::WEARABLE },
{ "2in1", DeviceType::TWOINONE },
};
const std::map<std::string, ResolutionType> g_resolutionMap = {