Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
HbUserOpe.h
- Committer:
- MasashiNomura
- Date:
- 2018-12-08
- Revision:
- 23:79e20be4bc5b
- Parent:
- 22:24c9c2dedca9
- Child:
- 26:732bc37fbefd
File content as of revision 23:79e20be4bc5b:
#ifndef __HBUSER_OPE_H__
#define __HBUSER_OPE_H__
/////////////////////////////////////////////////////////////////////
#include "typedef.h"
//#include "HbManager.h"
class HbUserOpe{
private:
typUserSw oldOpe;
typUserSw curOpe;
public:
enum SW_TYPE{
ACCEL_R = 0,
ACCEL_L,
STOP,
YAW_CTRL,
ENG_STOP,
};
HbUserOpe();//コンストラクタ
~HbUserOpe();//デストラクタ
typUserSw GetUserOpe();//ボタンの現在状態取得(更新)
bool ChkCtrlSW(SW_TYPE styp);
bool ChkCtrlSwAny();
};
/////////////////////////////////////////////////////////////////////
#endif