Blob Blame Raw

#include "app.h"

#include "common.c"
#include "app.c"
#include "graph.c"
#include "input.c"
#include "keyboard.c"

#include "layout.en.inc.c"
#include "layout.am.inc.c"
#include "layout.ru.inc.c"
#include "layout.en.full.inc.c"

Layout layouts[] = {
  { keysEn, COUNTOF(keysEn) },
  { keysAm, COUNTOF(keysAm) },
  { keysRu, COUNTOF(keysRu) },
  { keysEnFull, COUNTOF(keysEnFull) },
};

App app = {
  { layouts, COUNTOF(layouts) } }; // keyboard


int main() {
  if (!appInit(&app))
    return 1;
  int success = appRun(&app);
  appDeinit(&app);
  return !success;
}