Changeset 214 in flair-src for trunk/tools
- Timestamp:
- Feb 7, 2018, 5:49:27 PM (7 years ago)
- Location:
- trunk/tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/Controller/DualShock3/src/DualShock3.cpp
r148 r214 18 18 #include "DualShock3.h" 19 19 #include <Controller.h> 20 #include < cvmatrix.h>20 #include <Matrix.h> 21 21 #include <Tab.h> 22 22 #include <TabWidget.h> … … 96 96 axisDescriptor->SetElementName(i, 0, GetAxisDescription(i)); 97 97 } 98 axis = new cvmatrix((IODevice *)this, axisDescriptor, Int16Type);98 axis = new Matrix((IODevice *)this, axisDescriptor, Int16Type); 99 99 delete axisDescriptor; 100 100 AddDataToLog(axis); … … 107 107 buttonDescriptor->SetElementName(i, 0, GetButtonDescription(i)); 108 108 } 109 button = new cvmatrix((IODevice *)this, buttonDescriptor, Int8Type);109 button = new Matrix((IODevice *)this, buttonDescriptor, Int8Type); 110 110 AddDataToLog(button); 111 111 -
trunk/tools/FlairGCS/src/file_ui.cpp
r51 r214 193 193 uint8_t *value = (uint8_t *)(data + offset); 194 194 offset += sizeof(uint8_t); 195 out << "," << *value; 196 } else if (data_type.at(i) == "int16_t)") { 197 int16_t *value = (int16_t *)(data + offset); 198 offset += sizeof(int16_t); 199 out << "," << *value; 200 } else if (data_type.at(i) == "uint16_t)") { 201 uint16_t *value = (uint16_t *)(data + offset); 202 offset += sizeof(uint16_t); 195 203 out << "," << *value; 196 204 } else {
Note:
See TracChangeset
for help on using the changeset viewer.