![](/media/cache/profiles/LinkedIn_0NghoZJ.jpeg.50x50_q85.jpg)
Snake vs Block Game to be run upon K64F.
Diff: Settings/Settings.cpp
- Revision:
- 31:6566026b4c6a
- Parent:
- 30:461231877c89
diff -r 461231877c89 -r 6566026b4c6a Settings/Settings.cpp --- a/Settings/Settings.cpp Mon Apr 15 06:00:01 2019 +0000 +++ b/Settings/Settings.cpp Mon Apr 15 06:27:23 2019 +0000 @@ -45,6 +45,7 @@ float * Settings::Implement(N5110 &lcd, Gamepad &pad, int st, float cs) { Settings::info(lcd, pad); + pad.init(); while (pad.check_event(Gamepad::BACK_PRESSED) == false) { //if button pressed. Direction d = pad.get_direction(); wait(1/cs);