CLASS_ATTR_SYM((t_class *)MAX_DeviceIO::m_class, "device_type", 0, MAX_DeviceIO, m_p_device_type );
CLASS_ATTR_ENUM((t_class *)MAX_DeviceIO::m_class, "device_type", 0, "Launchpad Quneo Push Lemur TouchOSC Mira" );
class_addmethod((t_class *)MAX_DeviceIO::m_class, (method)MAX_DeviceIO::notify, "notify", A_CANT, 0);
Hi, I have the above code..
The attribute appears in the inspector as required, with the required enumeration, but I have a couple of issues:
1) instantiating ... '@device_type Launchpad' doesn't have any effect - the autocomplete doesn't show "device_type" as an option as I would expect it to. The inspector shows device_type along with the enumerations I've supplied
2) the notify() method is not called if I send a "device_type Launchpad" into the object
thx for any helpers!