Fumofumotris/source/io/platforms/win.c

32 lines
487 B
C
Raw Normal View History

2024-03-25 05:34:59 +00:00
#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;
}
2024-04-02 00:55:30 +00:00
bool WindowsBlockInput(struct RecordBuffer *buf)
2024-03-25 05:34:59 +00:00
{
2024-03-26 20:11:58 +00:00
return WinBlockInput(buf);
2024-03-25 05:34:59 +00:00
}
bool WindowsWait(double seconds)
{
return WinWait(seconds);
}