I need the ps2dev library
I'm sorry that was working on the wrong library.
Anyhow...
In ps2dev.h, comment out the line that includes WConstants.h. Put in a lline that includes WProgram.h:
/*
* ps2dev.h - a library to interface with ps2 hosts. See comments in
* ps2.cpp.
* Written by Chris J. Kiick, January 2008.
* modified by Gene E. Scogin, August 2008.
* Release into public domain.
*/
#ifndef ps2dev_h
#define ps2dev_h
//#include "WConstants.h" // The original line---for really old arduino stuff
#include "WProgram.h" // This is what you should have for arduino-0021
class PS2dev
{
.
.
.
With that change I find that arduino-0021 compiles it without problems.
Regards,
Dave