2 * Acess GUI (AxWin) Version 2
3 * By John Hodge (thePowersGang)
9 extern void WM_Update(void);
10 extern int Input_Init(void);
13 const char *gsTerminalDevice = NULL;
14 const char *gsMouseDevice = NULL;
16 int giScreenWidth = 640;
17 int giScreenHeight = 480;
18 uint32_t *gpScreenBuffer = NULL;
20 int giTerminalFD = -1;
26 * \brief Program Entrypoint
28 int main(int argc, char *argv[])
30 ParseCommandline(argc, argv);
32 if( gsTerminalDevice == NULL ) {
33 gsTerminalDevice = "/Devices/VTerm/6";
35 if( gsMouseDevice == NULL ) {
36 gsMouseDevice = "/Devices/PS2Mouse";
53 Input_FillSelect(&nfds, &fds);
54 IPC_FillSelect(&nfds, &fds);
57 select(nfds, &fds, NULL, NULL, NULL);
59 Input_HandleSelect(&fds);
60 IPC_HandleSelect(&fds);