PokittoLib with changes to lcd refresh etc.
Fork of Pokitto by
This is a fork by user @Spinal, and is used in Pokittris for testing. Do not import this to your own program.
Diff: POKITTO_HW/HWButtons.cpp
- Revision:
- 3:689c3cbbef13
- Parent:
- 2:968589ca3484
- Child:
- 7:fee7bc74477f
diff -r 968589ca3484 -r 689c3cbbef13 POKITTO_HW/HWButtons.cpp --- a/POKITTO_HW/HWButtons.cpp Tue Sep 19 08:47:36 2017 +0000 +++ b/POKITTO_HW/HWButtons.cpp Tue Sep 19 13:29:14 2017 +0000 @@ -90,7 +90,7 @@ void Pokitto::initButtons() { ABtn.fall(&AReleased); ABtn.rise(&APressed); - /*BBtn.fall(&BReleased); + BBtn.fall(&BReleased); BBtn.rise(&BPressed); CBtn.fall(&CReleased); CBtn.rise(&CPressed); @@ -101,7 +101,7 @@ LBtn.fall(&LReleased); LBtn.rise(&LPressed); RBtn.fall(&RReleased); - RBtn.rise(&RPressed);*/ + RBtn.rise(&RPressed); } uint8_t Pokitto::Core::aBtn() {