]> git.lizzy.rs Git - shadowclad.git/blob - src/engine/input.c
Implement transform math to rotate movement direction
[shadowclad.git] / src / engine / input.c
1 #include "input.h"
2
3 #include "player.h"
4
5 void onKeyPressed(unsigned char key, int x, int y) {
6         switch (key) {
7                 case 'w':
8                 case 's':
9                 case 'a':
10                 case 'd':
11                         //playerMovementInput();
12                         break;
13                 default:
14                         break;
15         }
16 }