Fumofumotris/source/io/input.h
Julia e856594741 hi
uikhj
2024-04-16 17:14:53 -05:00

20 lines
321 B
C

#pragma once
#include <iso646.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include "ctrl.h"
#include "fumotris.h"
struct Input {
struct Controller ctrl;
pthread_t thread;
pthread_mutex_t mutex;
};
bool StartInput(struct Input *in);
bool JoinInput(struct Input *in);