GC/N64 pad readings are now done inside the TWI ISR. Since inside ISR
authorbootsector <bootsector@ig.com.br>
Sun, 13 Jan 2013 14:30:23 +0000 (12:30 -0200)
committerbootsector <bootsector@ig.com.br>
Sun, 13 Jan 2013 14:30:23 +0000 (12:30 -0200)
commit3fb9660a70eeeb9e2e23d235a865cd26b82c370d
treea222128950b8d0def584c3614a769f135ea3aeb3
parent2f49e0964bdc2067c8f283123a9989180fb006cb
GC/N64 pad readings are now done inside the TWI ISR. Since inside ISR
functions interrupts are disabled, there will be no timing issues
reading the controllers. No Wire library hack is needed anymore. It
seems to be the cleanest and definitive solution for the case! :)
src/wii-retropad-adapter/GCPad.cpp
src/wii-retropad-adapter/GCPad.h
src/wii-retropad-adapter/GCPad_asm/GCPad.S
src/wii-retropad-adapter/WMExtension.cpp
src/wii-retropad-adapter/WMExtension.h
src/wii-retropad-adapter/Wire/Wire.cpp
src/wii-retropad-adapter/Wire/Wire.h
src/wii-retropad-adapter/Wire/utility/twi.c
src/wii-retropad-adapter/Wire/utility/twi.h
src/wii-retropad-adapter/wra.cpp