|
43 | 43 | JGINYUE_USB_V2_MODE_CYCLING_RAINING = 0x22,
|
44 | 44 | JGINYUE_USB_V2_MODE_MULTICOLOR_WATER_2 = 0x23,
|
45 | 45 | JGINYUE_USB_V2_MODE_MULTICOLOR_WATER_1 = 0x24,
|
46 |
| - JGINYUE_USB_V2_MODE_HOURGLASS = 0x25 |
| 46 | + JGINYUE_USB_V2_MODE_HOURGLASS = 0x25 |
47 | 47 | };
|
48 | 48 |
|
49 | 49 | enum
|
|
79 | 79 |
|
80 | 80 | struct AreaConfigurationV2
|
81 | 81 | {
|
82 |
| - unsigned char Area_ID; |
| 82 | + unsigned char Area_ID; |
83 | 83 | unsigned char Max_LED_numbers;
|
84 | 84 | unsigned char User_LED_numbers;
|
85 | 85 | unsigned char Direction;
|
@@ -120,23 +120,18 @@ class JGINYUEInternalUSBV2Controller
|
120 | 120 | unsigned char num_LEDs,
|
121 | 121 | unsigned char Area
|
122 | 122 | );
|
123 |
| - |
| 123 | + |
124 | 124 | AreaConfigurationV2 device_config[8];
|
125 | 125 | //TODO,When the perzone mode is supported, these parameters will be used to download device configuartion from the device
|
126 | 126 | AreaConfigurationV2 device_config_Global;
|
127 | 127 | //TODO,Can sync its data to other zones,will be used once the perzone mode is supported
|
128 |
| - bool support_Global_zone; |
129 |
| - |
| 128 | + bool support_Global_zone; |
| 129 | + |
130 | 130 | private:
|
131 | 131 | void Init_device();
|
132 | 132 | void Init_Zone(int zone);
|
133 |
| - unsigned char ZoneCount; |
134 |
| - unsigned char SKUID; |
135 |
| - unsigned char Major_version; |
136 |
| - unsigned char Minor_version; |
137 |
| - |
138 |
| - |
139 |
| - unsigned char FPS; //0x00 = 120FPS, 0x01 = 60FPS |
| 133 | + unsigned char ZoneCount; |
| 134 | + |
140 | 135 | hid_device* jy_hid_interface;
|
141 | 136 | serial_port* jy_cdc_interface;
|
142 | 137 | std::string location;
|
|
0 commit comments