`
C:\Users\user\Documents\Arduino\libraries\DS4\DS4.cpp: In member function 'void DS4::begin()':
C:\Users\user\Documents\Arduino\libraries\DS4\DS4.cpp:265:12: error: 'HIDSubDescriptor' does not name a type; did you mean 'reportDescriptor'?
static HIDSubDescriptor node(reportDescriptor, DS4_REPORT_SIZE);
^~~~
reportDescriptor
C:\Users\user\Documents\Arduino\libraries\DS4\DS4.cpp:266:2: error: 'HID' was not declared in this scope
HID().AppendDescriptor(&node);
^~~
C:\Users\user\Documents\Arduino\libraries\DS4\DS4.cpp:266:2: note: suggested alternative: 'PIND'
HID().AppendDescriptor(&node);
^~~
PIND
C:\Users\user\Documents\Arduino\libraries\DS4\DS4.cpp:266:26: error: 'node' was not declared in this scope
HID().AppendDescriptor(&node);
^~~~
C:\Users\user\Documents\Arduino\libraries\DS4\DS4.cpp:266:26: note: suggested alternative: 'tone'
HID().AppendDescriptor(&node);
^~~~
tone
C:\Users\user\Documents\Arduino\libraries\DS4\DS4.cpp: In member function 'void DS4::send()':
C:\Users\user\Documents\Arduino\libraries\DS4\DS4.cpp:322:5: error: 'HID' was not declared in this scope
HID().SendReport(0x01, outputData, DS4_OUTPUT_SIZE);
^~~
C:\Users\user\Documents\Arduino\libraries\DS4\DS4.cpp:322:5: note: suggested alternative: 'PIND'
HID().SendReport(0x01, outputData, DS4_OUTPUT_SIZE);
^~~
PIND
exit status 1
Compilation error: exit status 1
C:\Users\user\Documents\Arduino\libraries\DS4\DS4.cpp:265:12: error: 'HIDSubDescriptor' does not name a type; did you mean 'reportDescriptor'?
static HIDSubDescriptor node(reportDescriptor, DS4_REPORT_SIZE);
^~~~~~~~~~~~~~~~
reportDescriptor
C:\Users\user\Documents\Arduino\libraries\DS4\DS4.cpp:266:2: error: 'HID' was not declared in this scope
HID().AppendDescriptor(&node);
^~~
C:\Users\user\Documents\Arduino\libraries\DS4\DS4.cpp:266:2: note: suggested alternative: 'PIND'
HID().AppendDescriptor(&node);
^~~
PIND
C:\Users\user\Documents\Arduino\libraries\DS4\DS4.cpp:266:26: error: 'node' was not declared in this scope
HID().AppendDescriptor(&node);
^~~~
C:\Users\user\Documents\Arduino\libraries\DS4\DS4.cpp:266:26: note: suggested alternative: 'tone'
HID().AppendDescriptor(&node);
^~~~
tone
C:\Users\user\Documents\Arduino\libraries\DS4\DS4.cpp: In member function 'void DS4::send()':
C:\Users\user\Documents\Arduino\libraries\DS4\DS4.cpp:322:5: error: 'HID' was not declared in this scope
HID().SendReport(0x01, outputData, DS4_OUTPUT_SIZE);
^~~
C:\Users\user\Documents\Arduino\libraries\DS4\DS4.cpp:322:5: note: suggested alternative: 'PIND'
HID().SendReport(0x01, outputData, DS4_OUTPUT_SIZE);
^~~
PIND
exit status 1
Compilation error: exit status 1
`
it doesn't compile, I use the example code
` C:\Users\user\Documents\Arduino\libraries\DS4\DS4.cpp: In member function 'void DS4::begin()': C:\Users\user\Documents\Arduino\libraries\DS4\DS4.cpp:265:12: error: 'HIDSubDescriptor' does not name a type; did you mean 'reportDescriptor'? static HIDSubDescriptor node(reportDescriptor, DS4_REPORT_SIZE); ^
~~~reportDescriptor C:\Users\user\Documents\Arduino\libraries\DS4\DS4.cpp:266:2: error: 'HID' was not declared in this scope HID().AppendDescriptor(&node); ^~~ C:\Users\user\Documents\Arduino\libraries\DS4\DS4.cpp:266:2: note: suggested alternative: 'PIND' HID().AppendDescriptor(&node); ^~~ PIND C:\Users\user\Documents\Arduino\libraries\DS4\DS4.cpp:266:26: error: 'node' was not declared in this scope HID().AppendDescriptor(&node); ^~~~ C:\Users\user\Documents\Arduino\libraries\DS4\DS4.cpp:266:26: note: suggested alternative: 'tone' HID().AppendDescriptor(&node); ^~~~ tone C:\Users\user\Documents\Arduino\libraries\DS4\DS4.cpp: In member function 'void DS4::send()': C:\Users\user\Documents\Arduino\libraries\DS4\DS4.cpp:322:5: error: 'HID' was not declared in this scope HID().SendReport(0x01, outputData, DS4_OUTPUT_SIZE); ^~~ C:\Users\user\Documents\Arduino\libraries\DS4\DS4.cpp:322:5: note: suggested alternative: 'PIND' HID().SendReport(0x01, outputData, DS4_OUTPUT_SIZE); ^~~ PINDexit status 1
Compilation error: exit status 1