/*---------------------------------------------------------------------------* Project: KPAD sample program File: sample.h Programmer: Keizo Ohta Copyright 2005-2006 Nintendo. All rights reserved. These coded instructions, statements, and computer programs contain proprietary information of Nintendo of America Inc. and/or Nintendo Company Ltd., and are protected by Federal copyright law. They may not be disclosed to third parties or copied or duplicated in any form, in whole or in part, without the prior written consent of Nintendo. *---------------------------------------------------------------------------*/ /*************************************************************** To show KPAD DPD callback status ***************************************************************/ typedef struct MyDpdCallbackStatus { u32 count; s32 reason; } MyDpdCallbackStatus; #define MY_DPD_START_COUNTS_MAX 4 #define MY_DPD_START_COUNT_DEFAULT 400 extern s32 MyDpdCallbackLatestIdx; extern MyDpdCallbackStatus MyDpdCallbackStatusBuf[MY_DPD_START_COUNTS_MAX]; extern vu32 MySamplingCount; /******************************************************************************* Function Declarations *******************************************************************************/ extern void init_sample( void ) ; extern void work_sample( void ) ; extern void draw_sample( void ) ;