1 /*---------------------------------------------------------------------------* 2 Project: Horizon 3 File: hid_ExtraPadStatus.h 4 5 Copyright (C)2009-2012 Nintendo Co., Ltd. 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 $Rev:$ 14 *---------------------------------------------------------------------------*/ 15 16 #ifndef NN_HID_CTR_HID_EXTRA_PAD_STATUS_H_ 17 #define NN_HID_CTR_HID_EXTRA_PAD_STATUS_H_ 18 19 #include <nn/types.h> 20 #include <nn/config.h> 21 #include <nn/hid/CTR/hid_DeviceStatus.h> 22 23 namespace nn{ 24 namespace hid{ 25 namespace CTR{ 26 27 28 /* Please see man pages for details */ 29 struct ExtraPadStatus{ 30 /* Please see man pages for details */ 31 AnalogStickStatus stick; 32 33 /* Please see man pages for details */ 34 AnalogStickStatus extraStick; 35 36 /* Please see man pages for details */ 37 bit32 hold; 38 /* Please see man pages for details */ 39 bit32 trigger; 40 /* Please see man pages for details */ 41 bit32 release; 42 43 /* Please see man pages for details */ 44 u8 batteryLevel; 45 46 /* Please see man pages for details */ 47 bool isConnected; 48 49 NN_PADDING2; 50 }; 51 52 } 53 } 54 } 55 56 57 #endif /* HID_EXTRAPADSTATUS_H_ */ 58