simpler external tetris rotation

This commit is contained in:
Baipyrus 2022-11-07 07:24:51 +01:00
parent 18f5aa3165
commit 500c8de618

View File

@ -198,18 +198,14 @@ namespace RPI_Matrix {
// Code for L-Button Press
// If in Tetris, rotate the current Block counter-Clockwise
if (isTetris) {
Tetris.Tetris.calcBounds();
Tetris.Tetris.rotateCounterClockwise();
Tetris.Tetris.adjustXPos();
}
break;
case "01-00-01-05":
// Code for R-Button Press
// If in Tetris, rotate the current Block Clockwise
if (isTetris) {
Tetris.Tetris.calcBounds();
Tetris.Tetris.rotateClockwise();
Tetris.Tetris.adjustXPos();
}
break;
case "01-00-01-09":