ed2e5a01f9
it almost works sob
32 lines
487 B
C
32 lines
487 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 RecordBuffer *buf)
|
|
{
|
|
return WinBlockInput(buf);
|
|
}
|
|
|
|
bool WindowsWait(double seconds)
|
|
{
|
|
return WinWait(seconds);
|
|
} |