1 /*---------------------------------------------------------------------------*
2   Project:     KPAD sample program
3   File:        sample.h
4   Programmer:  Keizo Ohta
5 
6   Copyright 2005-2006 Nintendo. All rights reserved.
7 
8   These coded instructions, statements, and computer programs contain
9   proprietary information of Nintendo of America Inc. and/or Nintendo
10   Company Ltd., and are protected by Federal copyright law.  They may
11   not be disclosed to third parties or copied or duplicated in any form,
12   in whole or in part, without the prior written consent of Nintendo.
13  *---------------------------------------------------------------------------*/
14 
15 /***************************************************************
16 	To show KPAD DPD callback status
17  ***************************************************************/
18 typedef struct MyDpdCallbackStatus {
19     u32 count;
20     s32 reason;
21 } MyDpdCallbackStatus;
22 
23 #define MY_DPD_START_COUNTS_MAX 4
24 #define MY_DPD_START_COUNT_DEFAULT 400
25 extern s32                 MyDpdCallbackLatestIdx;
26 extern MyDpdCallbackStatus MyDpdCallbackStatusBuf[MY_DPD_START_COUNTS_MAX];
27 
28 extern vu32 MySamplingCount;
29 
30 /*******************************************************************************
31 	Function Declarations
32 *******************************************************************************/
33 extern void	init_sample( void ) ;
34 extern void	work_sample( void ) ;
35 extern void	draw_sample( void ) ;
36 
37