1 #include "../game/game.h"
8 static void move_left()
13 static void move_down()
18 static void move_right()
23 __attribute__((constructor)) static void init()
25 register_input_handler('w', (struct input_handler) {
30 register_input_handler('a', (struct input_handler) {
32 .callback = &move_left,
35 register_input_handler('s', (struct input_handler) {
37 .callback = &move_down,
40 register_input_handler('d', (struct input_handler) {
42 .callback = &move_right,