jag

snake_c

public

Small snake game in C

Star0
Watch0
3ebca1b81488b26330105c47d4f51e98e6df60f9
2
ssh://git@git.jaglekon.de:30/jag/snake_c.git
source/read_input/read_input.hC20 lines311 B
1
#ifndef READ_INPUT_H
2
#define READ_INPUT_H
3
4
#include <stdio.h>
5
#include <stdlib.h>
6
#include <poll.h>
7
#include <unistd.h>
8
9
#include <jag_parse.h>
10
11
12
#define ARR_LEN 2
13
14
15
uint8_t read_input(keypress **input, size_t *input_len, bool *lock, bool is_broken, uint64_t delay);
16
17
void free_input(keypress *input);
18
19
20
#endif