@acris bonjour je viens j'ai compris la manipulation a suivre il y avais une erreur sur le tuto malheureusement au moment ou je fait vérifier compiler il me marque cette erreur:
Arduino : 1.6.5 (Windows 8.1), Carte : "Arduino Leonardo"
Utilisation de la bibliothèque EEPROM prise dans le dossier : C:\Program Files\Arduino\hardware\arduino\avr\libraries\EEPROM
C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 -DUSB_MANUFACTURER="Unknown" -DUSB_PRODUCT="Arduino Leonardo" -IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files\Arduino\hardware\arduino\avr\variants\leonardo -IC:\Program Files\Arduino\hardware\arduino\avr\libraries\EEPROM C:\Users\Maxime\AppData\Local\Temp\build6457352747509124761.tmp\joystick.cpp -o C:\Users\Maxime\AppData\Local\Temp\build6457352747509124761.tmp\joystick.cpp.o
C:\Users\Maxime\AppData\Local\Temp\build6457352747509124761.tmp\joystick.cpp:22:1: error: 'JoyState_t' does not name a type
JoyState_t joySt = { .data = {0, 0, 0, 0} };
^
C:\Users\Maxime\AppData\Local\Temp\build6457352747509124761.tmp\joystick.cpp: In function 'void InitJoystick()':
C:\Users\Maxime\AppData\Local\Temp\build6457352747509124761.tmp\joystick.cpp:75:3: error: 'joySt' was not declared in this scope
joySt.xAxis = 127;
^
C:\Users\Maxime\AppData\Local\Temp\build6457352747509124761.tmp\joystick.cpp:78:3: error: 'Joystick' was not declared in this scope
Joystick.setState(&joySt);
^
C:\Users\Maxime\AppData\Local\Temp\build6457352747509124761.tmp\joystick.cpp: In function 'void CheckJoystick()':
C:\Users\Maxime\AppData\Local\Temp\build6457352747509124761.tmp\joystick.cpp:112:5: error: 'joySt' was not declared in this scope
joySt.button_Y = !snesdata.button_Y;
^
C:\Users\Maxime\AppData\Local\Temp\build6457352747509124761.tmp\joystick.cpp:150:5: error: 'Joystick' was not declared in this scope
Joystick.setState(&joySt);
^
Erreur lors de la compilation.