#ifndef Remote_h #define Remote_h #include enum RemoteType { R20KEYSPLIT, R24KEYWHITE, R44KEYWHITE }; enum remoteButtonType { RB_ERROR, RB_OFF, RB_ON, RB_RED, RB_GREEN, RB_BLUE, RB_ORANGE, RB_YELLOW, RB_LIME, RB_DARK_GREEN, RB_CYAN, RB_AQUA, RB_DARK_BLUE, RB_PURPLE, RB_PINK, RB_WHITE, RB_FADE, RB_JUMP, RB_FIRE, RB_RESET, RB_BRIGHTNESS_DOWN, RB_BRIGHTNESS_UP }; enum remoteResponseType { R_EMPTY, R_POWER, R_COLOUR, R_MODE, R_SETTING }; struct buttonData { String name; remoteButtonType button; remoteResponseType type; }; class Remote { public: Remote(RemoteType type); buttonData call(long type); private: RemoteType type; }; #endif