Added new GUI based on wxWidgets. Patch from bit.

This commit is contained in:
pcem_emulator 2017-05-29 15:38:48 +01:00
commit 7fe91626d6
60 changed files with 11647 additions and 78 deletions

23
src/wx-sdl2-keyboard.c Normal file
View file

@ -0,0 +1,23 @@
#include "plat-keyboard.h"
#include <string.h>
int pcem_key[272];
int rawinputkey[272];
void keyboard_init()
{
memset(pcem_key, 0, sizeof(pcem_key));
}
void keyboard_close()
{
}
void keyboard_poll_host()
{
int c;
for (c = 0; c < 272; ++c)
pcem_key[c] = rawinputkey[c];
}