#pragma once #include #include #include #include #include #include "ctrl.h" #include "fumotris.h" struct Input { struct Controller ctrl; pthread_t thread; pthread_mutex_t access_mutex; }; bool StartInput(struct Input *in); bool JoinInput(struct Input *in);