Changeset 318 in flair-src for trunk/tools/Controller/DualShock3/src
- Timestamp:
- Jul 3, 2019, 5:05:33 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/Controller/DualShock3/src/DualShock3.cpp
r307 r318 92 92 axisNumber = 4; 93 93 nativeBitsPerAxis = 8; 94 cvmatrix_descriptor *axisDescriptor = new cvmatrix_descriptor(axisNumber, 1);94 MatrixDescriptor *axisDescriptor = new MatrixDescriptor(axisNumber, 1); 95 95 for (unsigned int i = 0; i < axisNumber; i++) { 96 96 axisDescriptor->SetElementName(i, 0, GetAxisDescription(i)); … … 102 102 // buttons stuff 103 103 buttonNumber = 16; 104 cvmatrix_descriptor *buttonDescriptor =105 new cvmatrix_descriptor(buttonNumber, 1);104 MatrixDescriptor *buttonDescriptor = 105 new MatrixDescriptor(buttonNumber, 1); 106 106 for (unsigned int i = 0; i < buttonNumber; i++) { 107 107 buttonDescriptor->SetElementName(i, 0, GetButtonDescription(i));
Note:
See TracChangeset
for help on using the changeset viewer.