summaryrefslogtreecommitdiff
path: root/tizen/src/mloop_event.h
blob: 7fb84341105b192b9d77217fe9ce431d0ffc6fca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/*
 * mainloop_evhandle.c
 *
 * Copyright (C) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
 *
 * Contact:
 * DoHyung Hong <don.hong@samsung.com>
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 *
 * Contributors:
 * - S-Core Co., Ltd
 *
 */

#ifndef MLOOP_EVENT_H_
#define MLOOP_EVENT_H_

#ifdef __cplusplus
extern "C" {
#endif

void mloop_ev_init(void);
void mloop_ev_stop(void);

void mloop_evcmd_usbkbd(int on);
void mloop_evcmd_usbdisk(char *img);

int mloop_evcmd_get_usbkbd_status(void);

void mloop_evcmd_set_usbkbd(void *dev);
void mloop_evcmd_set_usbdisk(void *dev);

void mloop_evcmd_raise_intr(void *irq);
void mloop_evcmd_lower_intr(void *irq);

void mloop_evcmd_hwkey(int event_type, int keycode);
void mloop_evcmd_touch(void);

#ifdef __cplusplus
}
#endif

#endif /* MLOOP_EVENT_H_ */