/****************************************************
 *  TouchSensor.h                                         
 *  Created on: 2012/04/17 3:02:10                      
 *  Implementation of the Class TouchSensor       
 *  Original author: hiroyuki.watanabe                     
 ****************************************************/

#if !defined(EA_F97F56FF_78B3_41a9_B935_782646BB93D1__INCLUDED_)
#define EA_F97F56FF_78B3_41a9_B935_782646BB93D1__INCLUDED_


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

#include "InputPort.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_F97F56FF_78B3_41a9_B935_782646BB93D1__INCLUDED_)*/

