NicoHood / Nintendo

Use Nintendo Controllers with Arduino
http://www.nicohood.de
MIT License
278 stars 55 forks source link

when send 1 for L or R not work #27

Closed asa181192 closed 3 years ago

asa181192 commented 3 years ago

why if i send 1 to the L or R button it doesnt work .

data.report.r= 1; GamecubeConsole1.write(data);

i tested with other buttons like A or B and Y and works normally but for L and R it doesnt work. im testing with super smash bros ultimate and the cpu its suposed to hold the shield .

NicoHood commented 3 years ago

Ouf... I am not sure anymore, but what happens if you set left and right buttons to 255? https://github.com/NicoHood/Nintendo/blob/master/src/Gamecube.h#L87