1 /*---------------------------------------------------------------------------*
2   Project:  WD demo
3   File:     sample.h
4 
5   Copyright 2006 Nintendo.  All rights reserved.
6 
7   These coded instructions, statements, and computer programs contain
8   proprietary information of Nintendo of America Inc. and/or Nintendo
9   Company Ltd., and are protected by Federal copyright law.  They may
10   not be disclosed to third parties or copied or duplicated in any form,
11   in whole or in part, without the prior written consent of Nintendo.
12 
13   $Log: sample.h,v $
14   Revision 1.2  2006/07/13 12:37:45  terui
15   Fix appearance
16 
17   Revision 1.1  2006/07/13 12:16:23  terui
18   Initial upload
19 
20   $NoKeywords: $
21  *---------------------------------------------------------------------------*/
22 
23 #ifndef __DEMOS_WDDEMO_SAMPLE_H__
24 #define __DEMOS_WDDEMO_SAMPLE_H__
25 
26 #include <revolution/types.h>
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 /*===========================================================================*/
32 
33 #ifdef WPADEMU
34 #define KPAD_BUTTON_PLUS    KPAD_BUTTON_START
35 #define KPAD_BUTTON_MINUS   KPAD_BUTTON_SELECT
36 #define KPAD_BUTTON_1       KPAD_BUTTON_SMALL_A
37 #define KPAD_BUTTON_2       KPAD_BUTTON_SMALL_B
38 #define KPAD_BUTTON_Z       KPAD_BUTTON_Z1
39 #define KPAD_BUTTON_C       KPAD_BUTTON_Z2
40 #endif
41 
42 void    SampleInit( void );
43 void    SampleWaitRetrace( void );
44 void    SampleReport( const char* msg, ... );
45 
46 /*===========================================================================*/
47 #ifdef __cplusplus
48 }
49 #endif
50 #endif  /* __DEMOS_WDDEMO_SAMPLE_H__ */
51 
52 /*---------------------------------------------------------------------------*
53   End of file
54  *---------------------------------------------------------------------------*/
55