2023-10-29 21:31:33 +03:00
|
|
|
#ifndef __INPUT_H__
|
|
|
|
#define __INPUT_H__
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
|
2023-12-01 22:39:38 +03:00
|
|
|
#include "platform/thread.h"
|
|
|
|
|
2023-10-29 21:31:33 +03:00
|
|
|
typedef struct input_args_t
|
|
|
|
{
|
2023-12-01 22:39:38 +03:00
|
|
|
int *out;
|
2023-10-29 21:31:33 +03:00
|
|
|
bool *alive;
|
2023-10-29 22:35:37 +03:00
|
|
|
} InputArgs;
|
2023-10-29 21:31:33 +03:00
|
|
|
|
2023-12-01 22:39:38 +03:00
|
|
|
ThreadR input(void *vargp);
|
2023-10-29 21:31:33 +03:00
|
|
|
|
|
|
|
#endif /* __INPUT_H__ */
|