|
|
452870 |
|
|
|
452870 |
#include "app.h"
|
|
|
452870 |
|
|
|
452870 |
#include "common.c"
|
|
|
452870 |
#include "app.c"
|
|
|
452870 |
#include "graph.c"
|
|
|
452870 |
#include "input.c"
|
|
|
452870 |
#include "keyboard.c"
|
|
|
452870 |
|
|
|
d3e9d7 |
#include "layout.en.inc.c"
|
|
|
37122c |
#include "layout.fn.inc.c"
|
|
|
37122c |
#include "layout.en.full.inc.c"
|
|
|
d3e9d7 |
#include "layout.am.inc.c"
|
|
|
569832 |
#include "layout.ru.inc.c"
|
|
|
452870 |
|
|
|
843e7a |
Layout layouts[] = {
|
|
|
d3e9d7 |
{ keysEn, COUNTOF(keysEn) },
|
|
|
37122c |
{ keysFn, COUNTOF(keysFn) },
|
|
|
37122c |
{ keysEnFull, COUNTOF(keysEnFull) },
|
|
|
569832 |
{ keysAm, COUNTOF(keysAm) },
|
|
|
569832 |
{ keysRu, COUNTOF(keysRu) },
|
|
|
569832 |
};
|
|
|
843e7a |
|
|
|
452870 |
App app = {
|
|
|
63daec |
{ layouts, COUNTOF(layouts) } }; // keyboard
|
|
|
452870 |
|
|
|
452870 |
|
|
|
452870 |
int main() {
|
|
|
452870 |
if (!appInit(&app))
|
|
|
452870 |
return 1;
|
|
|
dbe1a1 |
int success = appRun(&app);
|
|
|
452870 |
appDeinit(&app);
|
|
|
dbe1a1 |
return !success;
|
|
|
452870 |
}
|
|
|
452870 |
|