/*---------------------------------------------------------------------------* Project: Horizon File: hid_Pad.h Copyright (C)2009 Nintendo Co., Ltd. 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. $Rev: 12449 $ *---------------------------------------------------------------------------*/ /*! @file @brief Pad クラスを定義します。 */ #ifndef NN_HID_CTR_HID_PAD_H_ #define NN_HID_CTR_HID_PAD_H_ #include #include #include #include namespace nn { namespace hid { namespace CTR { /*! @brief ボタンとアナログスティック のサンプリングデータを取得するのに必要なリソースを持つクラスです。有効なインスタンスを得るには @ref nn::hid::CTR::GetPad( ) で参照を得てください。 WaitSampling( ) または WaitSamplingAny( ) でサンプリングのたびにシグナルされるイベントを待つことができます。 また、実際にサンプリングデータを得るには PadReader クラスを使用してください。 */ class Pad : public HidBase { private: Pad() {} ~Pad() {} friend class PadReader; friend class HidDevices; }; } // namespace CTR { } // namespace hid { } // namespace nn { #endif // #ifndef NN_HID_CTR_HID_PAD_H_