In file included from /Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:11:0:
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.h:31:44: error: expected class-name before '{' token
class POPNHID_ : public PluggableUSBModule {
^
In file included from /Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:11:0:
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.h:80:23: error: 'USBSetup' has not been declared
int getDescriptor(USBSetup& setup);
^~~~~~~~
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.h:81:16: error: 'USBSetup' has not been declared
bool setup(USBSetup& setup);
^~~~~~~~
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp: In function 'bool SendControl(uint8_t)':
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:319:10: error: 'USB_SendControl' was not declared in this scope
return USB_SendControl(0, &d, 1) == 1;
^~~~~~~~~~~~~~~
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:319:10: note: suggested alternative: 'SendControl'
return USB_SendControl(0, &d, 1) == 1;
^~~~~~~~~~~~~~~
SendControl
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp: In function 'bool USB_SendStringDescriptor(const char*, uint8_t, uint8_t)':
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:325:28: error: 'TRANSFER_PGM' was not declared in this scope
bool pgm = flags & TRANSFER_PGM;
^~~~~~~~~~~~
In file included from /Users/dobkun/Downloads/UltimatePopnController-master/popnController/popnController.ino:14:0:
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.h:31:44: error: expected class-name before '{' token
class POPNHID_ : public PluggableUSBModule {
^
In file included from /Users/dobkun/Downloads/UltimatePopnController-master/popnController/popnController.ino:14:0:
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.h:80:23: error: 'USBSetup' has not been declared
int getDescriptor(USBSetup& setup);
^~~~~~~~
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.h:81:16: error: 'USBSetup' has not been declared
bool setup(USBSetup& setup);
^~~~~~~~
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp: At global scope:
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:370:7: error: 'DeviceDescriptor' does not name a type
const DeviceDescriptor PROGMEM USB_DeviceDescriptorIAD =
^~~~~~~~~~~~~~~~
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp: In constructor 'POPNHID_::POPNHID_()':
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:375:32: error: class 'POPNHID_' does not have any field named 'PluggableUSBModule'
POPNHID_::POPNHID_(void) : PluggableUSBModule(1, 1, epType) {
^~~~~~~~~~~~~~~~~~
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:376:19: error: 'EP_TYPE_INTERRUPT_IN' was not declared in this scope
epType[0] = EP_TYPE_INTERRUPT_IN;
^~~~~~~~~~~~~~~~~~~~
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:376:19: note: suggested alternative: 'EMPTY_INTERRUPT'
epType[0] = EP_TYPE_INTERRUPT_IN;
^~~~~~~~~~~~~~~~~~~~
EMPTY_INTERRUPT
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:377:7: error: 'PluggableUSB' was not declared in this scope
PluggableUSB().plug(this);
^~~~~~~~~~~~
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp: In member function 'int POPNHID_::getInterface(byte*)':
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:382:7: error: 'HIDDescriptor' was not declared in this scope
HIDDescriptor hidInterface = {
^~~~~~~~~~~~~
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:382:7: note: suggested alternative: 'getDescriptor'
HIDDescriptor hidInterface = {
^~~~~~~~~~~~~
getDescriptor
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:387:34: error: 'hidInterface' was not declared in this scope
return USB_SendControl(0, &hidInterface, sizeof(hidInterface));
^~~~~~~~~~~~
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:387:34: note: suggested alternative: 'getInterface'
return USB_SendControl(0, &hidInterface, sizeof(hidInterface));
^~~~~~~~~~~~
getInterface
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:387:14: error: 'USB_SendControl' was not declared in this scope
return USB_SendControl(0, &hidInterface, sizeof(hidInterface));
^~~~~~~~~~~~~~~
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:387:14: note: suggested alternative: 'SendControl'
return USB_SendControl(0, &hidInterface, sizeof(hidInterface));
^~~~~~~~~~~~~~~
SendControl
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp: At global scope:
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:390:33: error: 'int POPNHID_::getDescriptor' is not a static data member of 'class POPNHID_'
int POPNHID_::getDescriptor(USBSetup& setup)
^~~~~~~~
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:390:33: error: 'USBSetup' was not declared in this scope
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:390:33: note: suggested alternative: 'setup'
int POPNHID_::getDescriptor(USBSetup& setup)
^~~~~~~~
setup
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:419:26: error: 'bool POPNHID_::setup' is not a static data member of 'class POPNHID_'
bool POPNHID_::setup(USBSetup& setup)
^~~~~~~~
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:419:26: error: 'USBSetup' was not declared in this scope
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:419:26: note: suggested alternative: 'setup'
bool POPNHID_::setup(USBSetup& setup)
^~~~~~~~
setup
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp: In member function 'int POPNHID_::sendState(uint32_t)':
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:534:23: error: 'pluggedEndpoint' was not declared in this scope
return USB_Send(pluggedEndpoint | TRANSFER_RELEASE, data, 3);
^~~~~~~~~~~~~~~
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:534:41: error: 'TRANSFER_RELEASE' was not declared in this scope
return USB_Send(pluggedEndpoint | TRANSFER_RELEASE, data, 3);
^~~~~~~~~~~~~~~~
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:534:41: note: suggested alternative: '__ATOMIC_RELEASE'
return USB_Send(pluggedEndpoint | TRANSFER_RELEASE, data, 3);
^~~~~~~~~~~~~~~~
__ATOMIC_RELEASE
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:534:14: error: 'USB_Send' was not declared in this scope
return USB_Send(pluggedEndpoint | TRANSFER_RELEASE, data, 3);
^~~~~~~~
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:534:14: note: suggested alternative: 'USBS0'
return USB_Send(pluggedEndpoint | TRANSFER_RELEASE, data, 3);
^~~~~~~~
USBS0
exit status 1
Compilation error: expected class-name before '{' token
```
In file included from /Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:11:0:
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.h:31:44: error: expected class-name before '{' token
class POPNHID_ : public PluggableUSBModule {
^
In file included from /Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:11:0:
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.h:80:23: error: 'USBSetup' has not been declared
int getDescriptor(USBSetup& setup);
^~~~~~~~
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.h:81:16: error: 'USBSetup' has not been declared
bool setup(USBSetup& setup);
^~~~~~~~
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp: In function 'bool SendControl(uint8_t)':
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:319:10: error: 'USB_SendControl' was not declared in this scope
return USB_SendControl(0, &d, 1) == 1;
^~~~~~~~~~~~~~~
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:319:10: note: suggested alternative: 'SendControl'
return USB_SendControl(0, &d, 1) == 1;
^~~~~~~~~~~~~~~
SendControl
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp: In function 'bool USB_SendStringDescriptor(const char*, uint8_t, uint8_t)':
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:325:28: error: 'TRANSFER_PGM' was not declared in this scope
bool pgm = flags & TRANSFER_PGM;
^~~~~~~~~~~~
In file included from /Users/dobkun/Downloads/UltimatePopnController-master/popnController/popnController.ino:14:0:
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.h:31:44: error: expected class-name before '{' token
class POPNHID_ : public PluggableUSBModule {
^
In file included from /Users/dobkun/Downloads/UltimatePopnController-master/popnController/popnController.ino:14:0:
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.h:80:23: error: 'USBSetup' has not been declared
int getDescriptor(USBSetup& setup);
^~~~~~~~
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.h:81:16: error: 'USBSetup' has not been declared
bool setup(USBSetup& setup);
^~~~~~~~
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp: At global scope:
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:370:7: error: 'DeviceDescriptor' does not name a type
const DeviceDescriptor PROGMEM USB_DeviceDescriptorIAD =
^~~~~~~~~~~~~~~~
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp: In constructor 'POPNHID_::POPNHID_()':
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:375:32: error: class 'POPNHID_' does not have any field named 'PluggableUSBModule'
POPNHID_::POPNHID_(void) : PluggableUSBModule(1, 1, epType) {
^~~~~~~~~~~~~~~~~~
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:376:19: error: 'EP_TYPE_INTERRUPT_IN' was not declared in this scope
epType[0] = EP_TYPE_INTERRUPT_IN;
^~~~~~~~~~~~~~~~~~~~
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:376:19: note: suggested alternative: 'EMPTY_INTERRUPT'
epType[0] = EP_TYPE_INTERRUPT_IN;
^~~~~~~~~~~~~~~~~~~~
EMPTY_INTERRUPT
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:377:7: error: 'PluggableUSB' was not declared in this scope
PluggableUSB().plug(this);
^~~~~~~~~~~~
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp: In member function 'int POPNHID_::getInterface(byte*)':
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:382:7: error: 'HIDDescriptor' was not declared in this scope
HIDDescriptor hidInterface = {
^~~~~~~~~~~~~
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:382:7: note: suggested alternative: 'getDescriptor'
HIDDescriptor hidInterface = {
^~~~~~~~~~~~~
getDescriptor
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:387:34: error: 'hidInterface' was not declared in this scope
return USB_SendControl(0, &hidInterface, sizeof(hidInterface));
^~~~~~~~~~~~
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:387:34: note: suggested alternative: 'getInterface'
return USB_SendControl(0, &hidInterface, sizeof(hidInterface));
^~~~~~~~~~~~
getInterface
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:387:14: error: 'USB_SendControl' was not declared in this scope
return USB_SendControl(0, &hidInterface, sizeof(hidInterface));
^~~~~~~~~~~~~~~
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:387:14: note: suggested alternative: 'SendControl'
return USB_SendControl(0, &hidInterface, sizeof(hidInterface));
^~~~~~~~~~~~~~~
SendControl
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp: At global scope:
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:390:33: error: 'int POPNHID_::getDescriptor' is not a static data member of 'class POPNHID_'
int POPNHID_::getDescriptor(USBSetup& setup)
^~~~~~~~
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:390:33: error: 'USBSetup' was not declared in this scope
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:390:33: note: suggested alternative: 'setup'
int POPNHID_::getDescriptor(USBSetup& setup)
^~~~~~~~
setup
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:419:26: error: 'bool POPNHID_::setup' is not a static data member of 'class POPNHID_'
bool POPNHID_::setup(USBSetup& setup)
^~~~~~~~
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:419:26: error: 'USBSetup' was not declared in this scope
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:419:26: note: suggested alternative: 'setup'
bool POPNHID_::setup(USBSetup& setup)
^~~~~~~~
setup
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp: In member function 'int POPNHID_::sendState(uint32_t)':
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:534:23: error: 'pluggedEndpoint' was not declared in this scope
return USB_Send(pluggedEndpoint | TRANSFER_RELEASE, data, 3);
^~~~~~~~~~~~~~~
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:534:41: error: 'TRANSFER_RELEASE' was not declared in this scope
return USB_Send(pluggedEndpoint | TRANSFER_RELEASE, data, 3);
^~~~~~~~~~~~~~~~
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:534:41: note: suggested alternative: '__ATOMIC_RELEASE'
return USB_Send(pluggedEndpoint | TRANSFER_RELEASE, data, 3);
^~~~~~~~~~~~~~~~
__ATOMIC_RELEASE
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:534:14: error: 'USB_Send' was not declared in this scope
return USB_Send(pluggedEndpoint | TRANSFER_RELEASE, data, 3);
^~~~~~~~
/Users/dobkun/Downloads/UltimatePopnController-master/popnController/POPNHID.cpp:534:14: note: suggested alternative: 'USBS0'
return USB_Send(pluggedEndpoint | TRANSFER_RELEASE, data, 3);
^~~~~~~~
USBS0
exit status 1
Compilation error: expected class-name before '{' token
```
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
yet add support for UNO and a few other models
uno doesn't provide native hid support. stick to board types mentioned in the readme (Due or Leonardo/promicro)