As i have no good experience with C++, I have just checked the AnalogButtons.h file and found:'
*/
#include <WProgram.h>
#define MAXBUTTONS 10
class Button
{
public:
int id;
int BUTTON_L;
int BUTTON_H;
Should i change the value of #define MAXBUTTONS 10
to #define MAXBUTTONS 12