- added debouncing option

- added some gif for presentation
This commit is contained in:
asus
2024-01-19 20:09:21 +01:00
parent 60b4a82489
commit 211204e888
8 changed files with 40 additions and 15 deletions

View File

@@ -18,7 +18,7 @@
*/
/* nbr pixel player move */
# define PLR_MV 4
# define PLR_MV 10
/* degree of rotation of the player per press */
# define PLR_ROT 1
/* nbr key you can press at the same time */
@@ -33,10 +33,9 @@
# define SCREEN_FOCAL 70
/* size of a cell on the map */
# define CELL 100
// minimum time in milliseconds between two keypress
# define DEBOUNCE_TIME 500
/*
* keys macro
*/
/*
* keys macro