1 /*---------------------------------------------------------------------------*
2   Project:  TwlSDK - screenshot test - Ext
3   File:     ext_keycontrol.h
4 
5   Copyright 2003-2008 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   $Date:: 2008-09-18#$
14   $Rev: 8573 $
15   $Author: okubata_ryoma $
16  *---------------------------------------------------------------------------*/
17 #ifndef EXT_KEYCONTROL_H_
18 #define EXT_KEYCONTROL_H_
19 
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 
24 
25 typedef struct
26 {
27     u16     key;                       // Key status
28     u16     count;                     // The time period to maintain key status. 0 will be considered a termination.
29 }
30 EXTKeys;
31 
32 void    EXT_AutoKeys(const EXTKeys *sequence, u16 *cont, u16 *trig);
33 
34 
35 #ifdef __cplusplus
36 }/* extern "C" */
37 #endif
38 
39 #endif /* EXT_KEYCONTROL_H_ */
40