#pragma once #include #include #include #include #include #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);