Arduino USB host Shild

Hey guys i want to hook up my Saitek cyborg X with a arduino usb host shield but cannot find the lib for this shield im using this Can any One HELP?

http://www.dfrobot.com/index.php?route=product/product&filter_name=usb%20host%20shield&product_id=498

You probably want the link that says "USB 2.0 Library".

and now #2 question how i do i put this lib into arduino (newer did it before)

Google: "arduino install library"

First link: http://arduino.cc/it/Reference/Libraries

You want to read the section "Contributed Libraries"

i just copy the folder and included it in arduino but im getting some errors

C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3BT.h:192: error: 'Off' has a previous declaration as 'Colors Off'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3USB.h:84: error: multiple definition of 'enum Button'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3BT.h:195: error: previous definition here
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3USB.h:89: error: conflicting declaration 'SELECT'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3BT.h:200: error: 'SELECT' has a previous declaration as 'Button SELECT'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3USB.h:90: error: conflicting declaration 'L3'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3BT.h:201: error: 'L3' has a previous declaration as 'Button L3'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3USB.h:91: error: conflicting declaration 'R3'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3BT.h:202: error: 'R3' has a previous declaration as 'Button R3'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3USB.h:92: error: conflicting declaration 'START'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3BT.h:203: error: 'START' has a previous declaration as 'Button START'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3USB.h:93: error: conflicting declaration 'UP'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3BT.h:204: error: 'UP' has a previous declaration as 'Button UP'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3USB.h:94: error: conflicting declaration 'RIGHT'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3BT.h:205: error: 'RIGHT' has a previous declaration as 'Button RIGHT'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3USB.h:95: error: conflicting declaration 'DOWN'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3BT.h:206: error: 'DOWN' has a previous declaration as 'Button DOWN'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3USB.h:96: error: conflicting declaration 'LEFT'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3BT.h:207: error: 'LEFT' has a previous declaration as 'Button LEFT'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3USB.h:98: error: conflicting declaration 'L2'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3BT.h:209: error: 'L2' has a previous declaration as 'Button L2'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3USB.h:99: error: conflicting declaration 'R2'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3BT.h:210: error: 'R2' has a previous declaration as 'Button R2'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3USB.h:100: error: conflicting declaration 'L1'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3BT.h:211: error: 'L1' has a previous declaration as 'Button L1'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3USB.h:101: error: conflicting declaration 'R1'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3BT.h:212: error: 'R1' has a previous declaration as 'Button R1'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3USB.h:102: error: conflicting declaration 'TRIANGLE'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3BT.h:213: error: 'TRIANGLE' has a previous declaration as 'Button TRIANGLE'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3USB.h:103: error: conflicting declaration 'CIRCLE'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3BT.h:214: error: 'CIRCLE' has a previous declaration as 'Button CIRCLE'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3USB.h:104: error: conflicting declaration 'CROSS'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3BT.h:215: error: 'CROSS' has a previous declaration as 'Button CROSS'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3USB.h:105: error: conflicting declaration 'SQUARE'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3BT.h:216: error: 'SQUARE' has a previous declaration as 'Button SQUARE'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3USB.h:107: error: conflicting declaration 'PS'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3BT.h:218: error: 'PS' has a previous declaration as 'Button PS'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3USB.h:109: error: multiple definition of 'enum AnalogButton'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3BT.h:240: error: previous definition here
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3USB.h:112: error: conflicting declaration 'UP_ANALOG'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3BT.h:243: error: 'UP_ANALOG' has a previous declaration as 'AnalogButton UP_ANALOG'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3USB.h:113: error: conflicting declaration 'RIGHT_ANALOG'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3BT.h:244: error: 'RIGHT_ANALOG' has a previous declaration as 'AnalogButton RIGHT_ANALOG'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3USB.h:114: error: conflicting declaration 'DOWN_ANALOG'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3BT.h:245: error: 'DOWN_ANALOG' has a previous declaration as 'AnalogButton DOWN_ANALOG'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3USB.h:115: error: conflicting declaration 'LEFT_ANALOG'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3BT.h:246: error: 'LEFT_ANALOG' has a previous declaration as 'AnalogButton LEFT_ANALOG'
C:\Users\THX\SkyDrive\Dokumenty\Atmel\Projects\AudrinoCore\Tools\arduino-1.0\libraries\USBHostShield/PS3USB.h:117: error: conflicting declaration 'L2_ANALOG'

do i need to import the full folder or only the lib that i need

ok now i now how to put the lib to arduino but still i get some errors

../hidusagestr.h:431: warning: only initialized variables can be placed into program memory area
../hidusagestr.h:432: warning: only initialized variables can be placed into program memory area
../hidusagestr.h:433: warning: only initialized variables can be placed into program memory area
../hidusagestr.h:434: warning: only initialized variables can be placed into program memory area
../hidusagestr.h:435: warning: only initialized variables can be placed into program memory area
../hidusagestr.h:436: warning: only initialized variables can be placed into program memory area
../hidusagestr.h:437: warning: only initialized variables can be placed into program memory area
../hidusagestr.h:438: warning: only initialized variables can be placed into program memory area
../hidusagestr.h:439: warning: only initialized variables can be placed into program memory area
.
.
.
.
../hidusagestr.h:919: warning: only initialized variables can be placed into program memory area
../hidusagestr.h:920: warning: only initialized variables can be placed into program memory area
Invoking: AVR C++ Linker
../hidusagestr.h:921: warning: only initialized variables can be placed into program memory area
avr-gcc -Os -Wl,--gc-sections  -L"D:\Dokumenty\Dev\Arduino_Mega_2560_or_Mega_ADK/Release" -mmcu=atmega2560  -o"USBHIDJoystick.elf"  ./USBHIDJoystick.o ./hidjoystickrptparser.o   -l"Arduino_Mega_2560_or_Mega_ADK" -lm
../hidusagestr.h:922: warning: only initialized variables can be placed into program memory area
../hidusagestr.h:923: warning: only initialized variables can be placed into program memory area
../hidjoystickrptparser.cpp: In member function 'virtual void JoystickReportParser::Parse(HID*, bool, uint8_t, uint8_t*)':
../hidjoystickrptparser.cpp:53: warning: suggest explicit braces to avoid ambiguous 'else'
./USBHIDJoystick.o: In function `__static_initialization_and_destruction_0':
D:\Dokumenty\Dev\USBHIDJoystick\Release/../USBHIDJoystick.cpp:22: undefined reference to `USB::USB()'
D:\Dokumenty\Dev\USBHIDJoystick\Release/../USBHIDJoystick.cpp:23: undefined reference to `USBHub::USBHub(USB*)'
D:\Dokumenty\Dev\USBHIDJoystick\Release/../USBHIDJoystick.cpp:24: undefined reference to `HIDUniversal::HIDUniversal(USB*)'
./USBHIDJoystick.o: In function `loop':
D:\Dokumenty\Dev\USBHIDJoystick\Release/../USBHIDJoystick.cpp:44: undefined reference to `USB::Task()'
./USBHIDJoystick.o: In function `void ErrorMessage<unsigned char>(char const*, unsigned char)':
D:\Dokumenty\Dev\USBHIDJoystick/message.h:30: undefined reference to `Notify(char const*)'
D:\Dokumenty\Dev\USBHIDJoystick/message.h:31: undefined reference to `Notify(char const*)'
D:\Dokumenty\Dev\USBHIDJoystick/message.h:33: undefined reference to `Notify(char const*)'
./USBHIDJoystick.o: In function `setup':
D:\Dokumenty\Dev\USBHIDJoystick\Release/../USBHIDJoystick.cpp:38: undefined reference to `HIDUniversal::SetReportParser(unsigned char, HIDReportParser*)'
make: *** [USBHIDJoystick.elf] Error 1

20:19:18 Build Finished (took 8s.739ms)

hers the Eclipse Code