mirror of
https://github.com/raphnet/gc_n64_usb-v3
synced 2025-01-30 23:00:11 -05:00
Fix gamecube button storing
This commit is contained in:
parent
a1a2c4ba68
commit
529d5343d0
@ -92,7 +92,7 @@ void gc_decodeAnswer()
|
||||
*/
|
||||
|
||||
last_built_report.pad_type = PAD_TYPE_GAMECUBE;
|
||||
last_built_report.gc.buttons = gcn64_protocol_getByte(0) | gcn64_protocol_getByte(8);
|
||||
last_built_report.gc.buttons = gcn64_protocol_getByte(0) | gcn64_protocol_getByte(8) << 8;
|
||||
x = gcn64_protocol_getByte(16);
|
||||
y = gcn64_protocol_getByte(24);
|
||||
cx = gcn64_protocol_getByte(32);
|
||||
|
Loading…
Reference in New Issue
Block a user