#ifndef __BUTTON_H_
#define __BUTTON_H_

#define BUTTON_A			0
#define BUTTON_B			1
#define BUTTON_X1			2
#define BUTTON_X2			3
#define BUTTON_X3			4
#define BUTTON_X4			5
#define BUTTON_Y1			6
#define BUTTON_Y2			7
#define BUTTON_Y3			8
#define BUTTON_Y4			9
#define BUTTON_START		10
#define BUTTON_RAPIDA		11
#define BUTTON_RAPIDB		12
#define BUTTON_QUICKSAVE	13
#define BUTTON_QUICKLOAD	14
#define BUTTON_MENU			15

#define UPPER_THRESHOLD  0xcf
#define LOWER_THRESHOLD  0x2f

#define MAX_BUTTON_CONFIG	30
#endif // __BUTTON_H_
