PS2 Controller Library Error

I download the Arduino PS-2 Master Library. Unzip it, upload to Arduino, complite and this error message come back

Arduino: 1.6.0 (Windows 8), Board: “Arduino Due (Programming Port)”

C:\Users\khang_000\Documents\Arduino\libraries\PS2X_lib\PS2X_lib.cpp:5:20: fatal error: avr/io.h: No such file or directory

#include <avr/io.h>

			^

compilation terminated.

Error compiling.

I have been searching around on the web. People seem having a same problem. Please help.

Hi,

It looks like the compiler can’t find the PS2X_lib library. The PS2X_lib is probably not appropriately installed. Please try this :

]Download the PS2X_lib from this link./:m]
]Delete the PS2X_lib library folder you already have in the Arduino Libraries folder./:m]
]Take a look at this Tutorial on how to install Arduino libraries and install the PS2X_lib library./:m]Regards,