4 * Copyright (C) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
7 * Kitae Kim <kt920.kim@samsung.com>
8 * GiWoong Kim <giwoong.kim@samsung.com>
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation; either version 2
14 * of the License, or (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
30 #ifndef MLOOP_EVENT_H_
31 #define MLOOP_EVENT_H_
37 void mloop_ev_init(void);
38 void mloop_ev_stop(void);
40 void mloop_evcmd_usbkbd(int on);
41 void mloop_evcmd_usbdisk(char *img);
42 void mloop_evcmd_hostkbd(int on);
44 int mloop_evcmd_get_usbkbd_status(void);
45 int mloop_evcmd_get_hostkbd_status(void);
47 void mloop_evcmd_set_usbkbd(void *dev);
48 void mloop_evcmd_set_usbdisk(void *dev);
49 void mloop_evcmd_set_hostkbd(void *dev);
51 void mloop_evcmd_raise_intr(void *irq);
52 void mloop_evcmd_lower_intr(void *irq);
54 void mloop_evcmd_hwkey(int event_type, int keycode);
55 void mloop_evcmd_touch(void);
56 void mloop_evcmd_keyboard(void *data);
57 void mloop_evcmd_ramdump(void);
63 #endif /* MLOOP_EVENT_H_ */