-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathmre_events.h
56 lines (52 loc) · 1.76 KB
/
mre_events.h
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
/*
mre_events.h Events for the project
*/
/*****************************************************************************
* FUNCTION
* handle_sysevt
* DESCRIPTION
* This function handles system events
* PARAMETERS
* event [IN] message id
* param [IN] parameter
* RETURNS
* none
*****************************************************************************/
void handle_sysevt (VMINT message, VMINT param);
/*****************************************************************************
* FUNCTION
* handle_keyevt
* DESCRIPTION
* This function handles key events
* PARAMETERS
* event [IN] event no
* keycode [IN] keycode no
* RETURNS
* none
*****************************************************************************/
void handle_keyevt (VMINT event, VMINT keycode);
/*****************************************************************************
* FUNCTION
* handle_penevt
* DESCRIPTION
* This function handles touch panel events
* PARAMETERS
* event [IN] event no
* x [IN] x cordinate of cursor point on screen
* y [IN] y cordinate of cursor point on screen
* RETURNS
* none
*****************************************************************************/
void handle_penevt (VMINT event, VMINT x, VMINT y);
/*****************************************************************************
* FUNCTION
* handle_sysevt
* DESCRIPTION
* This function handles system events
* PARAMETERS
* event [IN] message id
* param [IN] parameter
* RETURNS
* none
*****************************************************************************/
void handle_sysevt (VMINT message, VMINT param);