Commit 5a6dca563c0fc6ff95d675d1e477a5f418bb8dda

Authored by gperson
1 parent 9f4c1956

on finit de commit ce qui ne marchait pas il y a quelques secondes ouch

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/lufa-LUFA-170418/PolytechLille/Manette/Manette.c
@@ -176,7 +176,7 @@ bool CALLBACK_HID_Device_CreateHIDReport(USB_ClassInfo_HID_Device_t* const HIDIn @@ -176,7 +176,7 @@ bool CALLBACK_HID_Device_CreateHIDReport(USB_ClassInfo_HID_Device_t* const HIDIn
176 176
177 177
178 JoystickReport->X = JoyStatus_LCL & 0xF0; 178 JoystickReport->X = JoyStatus_LCL & 0xF0;
179 - JoystickReport->Y = JoyStatus_LCL & 0x0F; 179 + JoystickReport->Y = (JoyStatus_LCL & 0x0F)<<4;
180 if (JoyStatus_LCL & BUTTONS_HAUT) 180 if (JoyStatus_LCL & BUTTONS_HAUT)
181 { JoystickReport->Button |= ( 1<<0);} 181 { JoystickReport->Button |= ( 1<<0);}
182 182