Fumofumotris/source/io/platforms/win.c
2024-03-25 00:34:59 -05:00

32 lines
492 B
C

#include <iso646.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include "input.h"
#include "winhandler.h"
bool WindowsInit()
{
if (!WinInitInputHandle())
return false;
if (!WinInitTimer())
return false;
if(!WinInitConsole())
return false;
return true;
}
bool WindowsBlockInput(struct InputResult *result)
{
return WinBlockInput(result);
}
bool WindowsWait(double seconds)
{
return WinWait(seconds);
}