1 /*---------------------------------------------------------------------------* 2 Project: Horizon 3 File: hid_DebugPad.h 4 5 Copyright (C)2009 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: 16441 $ 14 *---------------------------------------------------------------------------*/ 15 16 /*! @file 17 @brief DebugPad クラス を定義します。 18 19 */ 20 #ifndef NN_HID_CTR_HID_DEBUG_PAD_H_ 21 #define NN_HID_CTR_HID_DEBUG_PAD_H_ 22 23 #include <nn/Handle.h> 24 #include <nn/Result.h> 25 #include <nn/types.h> 26 #include <nn/hid/CTR/hid_HidBase.h> 27 #include <nn/hid/CTR/hid_DeviceStatus.h> 28 29 namespace nn { 30 namespace hid { 31 namespace CTR { 32 /*! 33 @brief デバッグパッド のサンプリングデータを取得するのに必要なリソースを持つクラスです。有効なインスタンスを得るには @ref nn::hid::CTR::GetDebugPad( ) で参照を得てください。 34 35 WaitSampling( ) または WaitSamplingAny( ) でサンプリングのたびにシグナルされるイベントを待つことができます。 また、実際にサンプリングデータを得るには DebugPadReader クラスを使用してください。 36 37 */ 38 class DebugPad : public HidBase 39 { 40 private: DebugPad()41 DebugPad() {} ~DebugPad()42 ~DebugPad() {} 43 44 friend class DebugPadReader; 45 friend class HidDevices; 46 }; 47 } // namespace CTR { 48 } // namespace hid { 49 } // namespace nn { 50 51 #endif // #ifndef NN_HID_CTR_HID_DEBUG_PAD_H_ 52