#include "app.h"
#include "common.c"
#include "app.c"
#include "graph.c"
#include "input.c"
#include "keyboard.c"
Key keys[] = {
{ 10, 10, 30, 20, XK_Armenian_vyun, "ւ", "Ւ" },
{ 50, 10, 30, 20, XK_b, "b" },
{ 90, 10, 30, 20, XK_c, "c" },
{ 130, 10, 30, 20, XK_d, "d" },
{ 10, 40, 30, 20, XK_Cyrillic_a, "а" },
{ 50, 40, 30, 20, XK_Cyrillic_be, "б" },
{ 90, 40, 30, 20, XK_Cyrillic_ve, "в" },
{ 130, 40, 30, 20, XK_Cyrillic_ghe, "г" } };
enum { keysCount = sizeof(keys)/sizeof(keys[0]) };
App app = {
{ keys, keysCount, 170, 70 } }; // keyboard
int main() {
if (!appInit(&app))
return 1;
if (!appRun(&app))
return 1;
appDeinit(&app);
return 0;
}