/****************************************************
 *  TouchSensor.h                                         
 *  Created on: 2012/04/17 11:45:58                      
 *  Implementation of the Class TouchSensor       
 *  Original author: hiroyuki.watanabe                     
 ****************************************************/

#if !defined(EA_48370104_40A1_41bc_B146_0C227DF92E0F__INCLUDED_)
#define EA_48370104_40A1_41bc_B146_0C227DF92E0F__INCLUDED_


#include "kernel.h"
#include "kernel_id.h"

#include "InputPort.h"
#include "balancer.h"


// 属性を保持するための構造体の定義
typedef struct TouchSensor
{
	INPUT_PORT inputPort;
} TouchSensor;

void TouchSensor_init(TouchSensor* this, INPUT_PORT a_inputPort);
BOOL TouchSensor_isPressed(TouchSensor* this);

#endif /*!defined(EA_48370104_40A1_41bc_B146_0C227DF92E0F__INCLUDED_)*/

