FreeCalypso > hg > fc-tourmaline
comparison src/ui/mfw/mfw_kbd.h @ 76:137c6442eb63
mfw_kbd.h: white space fixes
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 25 Oct 2020 18:33:17 +0000 |
parents | 67bfe9f274f6 |
children |
comparison
equal
deleted
inserted
replaced
75:8697f358f505 | 76:137c6442eb63 |
---|---|
13 EXPORT : | 13 EXPORT : |
14 | 14 |
15 TO DO : | 15 TO DO : |
16 | 16 |
17 $History:: mfw_kbd.h $ | 17 $History:: mfw_kbd.h $ |
18 * | 18 * |
19 * ***************** Version 7 ***************** | 19 * ***************** Version 7 ***************** |
20 * User: Le Date: 6.01.00 Time: 9:23 | 20 * User: Le Date: 6.01.00 Time: 9:23 |
21 * Updated in $/GSM/Condat/MS/SRC/MFW | 21 * Updated in $/GSM/Condat/MS/SRC/MFW |
22 * Alignment of MFW versions | 22 * Alignment of MFW versions |
23 * | 23 * |
24 * ***************** Version 2 ***************** | 24 * ***************** Version 2 ***************** |
25 * User: Es Date: 22.11.99 Time: 10:29 | 25 * User: Es Date: 22.11.99 Time: 10:29 |
26 * Updated in $/GSM/Condat/SND-MMI/MFW | 26 * Updated in $/GSM/Condat/SND-MMI/MFW |
27 * | 27 * |
28 * ***************** Version 1 ***************** | 28 * ***************** Version 1 ***************** |
29 * User: Es Date: 18.11.99 Time: 16:35 | 29 * User: Es Date: 18.11.99 Time: 16:35 |
30 * Created in $/GSM/Condat/SND-MMI/MFW | 30 * Created in $/GSM/Condat/SND-MMI/MFW |
31 * Initial | 31 * Initial |
32 * | 32 * |
33 * ***************** Version 6 ***************** | 33 * ***************** Version 6 ***************** |
34 * User: Es Date: 17.02.99 Time: 20:00 | 34 * User: Es Date: 17.02.99 Time: 20:00 |
35 * Updated in $/GSM/DEV/MS/SRC/MFW | 35 * Updated in $/GSM/DEV/MS/SRC/MFW |
36 * | 36 * |
37 * ***************** Version 5 ***************** | 37 * ***************** Version 5 ***************** |
38 * User: Es Date: 23.12.98 Time: 16:19 | 38 * User: Es Date: 23.12.98 Time: 16:19 |
39 * Updated in $/GSM/DEV/MS/SRC/MFW | 39 * Updated in $/GSM/DEV/MS/SRC/MFW |
40 */ | 40 */ |
41 | 41 |
57 #define KEY_8 0x00000100 | 57 #define KEY_8 0x00000100 |
58 #define KEY_9 0x00000200 | 58 #define KEY_9 0x00000200 |
59 #define KEY_STAR 0x00000400 | 59 #define KEY_STAR 0x00000400 |
60 #define KEY_HASH 0x00000800 | 60 #define KEY_HASH 0x00000800 |
61 #define KEY_VOLUP 0x00001000 | 61 #define KEY_VOLUP 0x00001000 |
62 #define KEY_VOLDOWN 0x00002000 | 62 #define KEY_VOLDOWN 0x00002000 |
63 #define KEY_MNUUP 0x00004000 | 63 #define KEY_MNUUP 0x00004000 |
64 #define KEY_MNUDOWN 0x00008000 | 64 #define KEY_MNUDOWN 0x00008000 |
65 #define KEY_LEFT 0x00010000 | 65 #define KEY_LEFT 0x00010000 |
66 #define KEY_RIGHT 0x00020000 | 66 #define KEY_RIGHT 0x00020000 |
67 #define KEY_CALL 0x00040000 | 67 #define KEY_CALL 0x00040000 |
68 #define KEY_HUP 0x00080000 | 68 #define KEY_HUP 0x00080000 |
69 #define KEY_OK 0x00100000 | 69 #define KEY_OK 0x00100000 |
70 #define KEY_CLEAR 0x00200000 | 70 #define KEY_CLEAR 0x00200000 |
71 #define KEY_ABC 0x00400000 | 71 #define KEY_ABC 0x00400000 |
72 #define KEY_POWER 0x00800000 | 72 #define KEY_POWER 0x00800000 |
73 | 73 |
74 #define KEY_MNULEFT 0x01000000 | 74 #define KEY_MNULEFT 0x01000000 |
75 #define KEY_MNURIGHT 0x02000000 | 75 #define KEY_MNURIGHT 0x02000000 |
76 //xrashmic 5 Oct, 2005 MMI-SPR-29356, MMI-SPR-29357 | 76 //xrashmic 5 Oct, 2005 MMI-SPR-29356, MMI-SPR-29357 |
77 //Wrong hex code was defined earlier. Changed from 0x08000000 | 77 //Wrong hex code was defined earlier. Changed from 0x08000000 |
78 //to 0x04000000 since KCD_MNUSELECT is 26 | 78 //to 0x04000000 since KCD_MNUSELECT is 26 |
79 #define KEY_MNUSELECT 0x04000000 | 79 #define KEY_MNUSELECT 0x04000000 |
80 | 80 |
81 | 81 |
82 #define KEY_MAX 0x10000000 | 82 #define KEY_MAX 0x10000000 |
83 #define KEY_AUTO 0x20000000 | 83 #define KEY_AUTO 0x20000000 |
84 #define KEY_LONG 0x40000000 | 84 #define KEY_LONG 0x40000000 |
124 #ifdef MMI_EM_ENABLED | 124 #ifdef MMI_EM_ENABLED |
125 #ifndef NEPTUNE_BOARD | 125 #ifndef NEPTUNE_BOARD |
126 /* This is not valid for Neptune Engineering Mode, hence*/ | 126 /* This is not valid for Neptune Engineering Mode, hence*/ |
127 | 127 |
128 //xrashmic 14 Dec, 2005 OMAPS00050986 | 128 //xrashmic 14 Dec, 2005 OMAPS00050986 |
129 //when no match is found in drvGetKeyIndex, it returns -1, | 129 //when no match is found in drvGetKeyIndex, it returns -1, |
130 //Some of the keys have the value set to 0xFE. Hence defining KCD_NONE as 0xFD | 130 //Some of the keys have the value set to 0xFE. Hence defining KCD_NONE as 0xFD |
131 #define KCD_NONE 253 //xrashmic 22 Aug, 2004 MMI-SPR-32798 | 131 #define KCD_NONE 253 //xrashmic 22 Aug, 2004 MMI-SPR-32798 |
132 #endif /* ifndef NEPTUNE_BOARD*/ | 132 #endif /* ifndef NEPTUNE_BOARD*/ |
133 #endif | 133 #endif |
134 | 134 |
135 | 135 |
136 #define KEY_CONSUMED 1 | 136 #define KEY_CONSUMED 1 |
137 #define KEY_PASSED 0 | 137 #define KEY_PASSED 0 |
138 | 138 |
139 typedef struct MfwKbdTag /* KEYBOARD CONTROL BLOCK */ | 139 typedef struct MfwKbdTag /* KEYBOARD CONTROL BLOCK */ |
140 { | 140 { |
141 MfwEvt map; /* selection of keys */ | 141 MfwEvt map; /* selection of keys */ |
142 MfwEvt key; /* current key */ | 142 MfwEvt key; /* current key */ |