2 * Acess GUI (AxWin) Version 2
3 * By John Hodge (thePowersGang)
9 extern void WM_Update(void);
12 const char *gsTerminalDevice = NULL;
13 const char *gsMouseDevice = NULL;
15 int giScreenWidth = 640;
16 int giScreenHeight = 480;
17 uint32_t *gpScreenBuffer = NULL;
19 int giTerminalFD = -1;
25 * \brief Program Entrypoint
27 int main(int argc, char *argv[])
29 ParseCommandline(argc, argv);
31 if( gsTerminalDevice == NULL ) {
32 gsTerminalDevice = "/Devices/VTerm/6";
34 if( gsMouseDevice == NULL ) {
35 gsMouseDevice = "/Devices/PS2Mouse";
51 Input_FillSelect(&nfds, &fds);
52 IPC_FillSelect(&nfds, &fds);
55 select(nfds, &fds, NULL, NULL, NULL);
57 Input_HandleSelect(&fds);
58 IPC_HandleSelect(&fds);