blob: 1e8120f4872bb45e8a032d2cbf39763377ca8740 [file] [log] [blame]
yu.dongc33b3072024-08-21 23:14:49 -07001/*****************************************************************************
2* Copyright Statement:
3* --------------------
4* This software is protected by Copyright and the information contained
5* herein is confidential. The software may not be copied and the information
6* contained herein may not be used or disclosed except with the written
7* permission of MediaTek Inc. (C) 2005
8*
9* BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
10* THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
11* RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON
12* AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,
13* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
14* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
15* NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
16* SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
17* SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH
18* THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO
19* NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S
20* SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.
21*
22* BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE
23* LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
24* AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,
25* OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO
26* MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
27*
28* THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE
29* WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF
30* LAWS PRINCIPLES. ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND
31* RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER
32* THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC).
33*
34*****************************************************************************/
35
36/*******************************************************************************
37 * Filename:
38 * ---------
39 * keypad_trc.h
40 *
41 * Project:
42 * --------
43 * MAUI
44 *
45 * Description:
46 * ------------
47 * This is trace map definition for keypad driver
48 *
49 * Author:
50 * -------
51 * -------
52 *
53 ****************************************************************************/
54#ifndef _KEYPAD_TRC_H
55#define _KEYPAD_TRC_H
56
57
58#ifndef GEN_FOR_PC
59
60 #ifndef _STACK_CONFIG_H
61 #error "stack_config.h should be included before tst_config.h"
62 #endif
63
64#else
65 #include "kal_trace.h"
66#endif /* GEN_FOR_PC */
67
68
69#ifndef _KAL_TRACE_H
70 #error "kal_trace.h should be included before tst_trace.h"
71#endif
72
73#if !defined(GEN_FOR_PC)
74#if defined(__TST_MODULE__) || defined(__CUSTOM_RELEASE__)
75 #include "keypad_trc_gen.h"
76#endif /* TST Trace Defintion */
77#endif
78BEGIN_TRACE_MAP(MOD_DRVKBD)
79
80 TRC_MSG(KBD_REPEAT_HANDLER_NO_ROOM,"KBD repeat handler: no room for repeated event")
81 TRC_MSG(KBD_LONGPRESS_HANDLER_NO_ROOM,"KBD longpress handler: no room for longpress event")
82 TRC_MSG(KBD_2STEP_KEY_HANDLER_NO_ROOM,"KBD 2-step key handler: no room for 2-step key event")
83 TRC_MSG(KBD_PUT_DATA_TO_BUFFER,"KBD put data to ring buffer: event: %d, data: %d")
84 TRC_MSG(KBD_PUT_TWO_DATA_TO_BUFFER,"KBD put data to ring buffer: event: %d, data1: %d, data2: %d")
85 TRC_MSG(KBD_GET_TWO_KEY_DATA,"KBD get two key: event: %d, data1: %d, data2: %d")
86 TRC_MSG(KBD_GET_ONE_KEY_DATA,"KBD get one key: event: %d, data: %d")
87 TRC_MSG(KBD_DETECT_MODE_SWITCH,"KBD detect mode switch to %d")
88 TRC_MSG(KBD_DETECT_MODE_SWITCH_NOT_SUPPORT,"KBD detect mode switch not supported")
89 TRC_MSG(KBD_EXT_A_B_KEY_SUPPORT,"KBD extra A, B key support")
90 TRC_MSG(KBD_EXT_2STEP_KEY_SUPPORT,"KBD 2-step key support")
91 TRC_MSG(KBD_MULTIPLE_KEY,"KBD %d is a multiple key")
92 TRC_MSG(KBD_NOT_MULTIPLE_KEY,"KBD %d is NOT a multiple key")
93 TRC_MSG(KBD_2STEP_KEY_QUERY,"KBD 2-step key: %d")
94 TRC_MSG(KBD_KEY_QUERY_SUPPORTED,"KBD key: %d is supported")
95 TRC_MSG(KBD_KEY_QUERY_NOT_SUPPORTED,"KBD key: %d is NOT supported")
96
97
98
99
100END_TRACE_MAP(MOD_DRVKBD)
101
102#endif /* _TP_TRC_H */
103
104