Added new GUI based on wxWidgets. Patch from bit.
This commit is contained in:
parent
a2f44b8ea7
commit
7fe91626d6
60 changed files with 11647 additions and 78 deletions
23
src/wx-sdl2-keyboard.c
Normal file
23
src/wx-sdl2-keyboard.c
Normal 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];
|
||||
}
|
||||
|
||||
Loading…
Reference in a new issue