/* Hey EMACS -*- linux-c -*- */
/* $Id: keys83p.h 369 2004-03-22 18:45:39Z roms $ */

/*  libticalcs - Ti Calculator library, a part of the TiLP project
 *  Copyright (C) 1999-2004  Romain Lievin
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 */

#ifndef __CALCS_KEYS83P__
#define __CALCS_KEYS83P__

// Scan codes of the TI83+ (TI's ti83plus.inc, line 2666)

#define KEY83P_Down          	0x01
#define KEY83P_Left          	0x02
#define KEY83P_Rigt         	0x03
#define KEY83P_Up            	0x04
#define KEY83P_Enter         	0x09
#define KEY83P_Add           	0x0A
#define KEY83P_Sub           	0x0B
#define KEY83P_Mul           	0x0C
#define KEY83P_Div           	0x0D
#define KEY83P_Power         	0x0E
#define KEY83P_Clear         	0x0F
#define KEY83P_Cs           	0x11
#define KEY83P_3             	0x12
#define KEY83P_6             	0x13
#define KEY83P_9             	0x14
#define KEY83P_RParen        	0x15
#define KEY83P_Tan           	0x16
#define KEY83P_Vars          	0x17
#define KEY83P_DecPnt        	0x19
#define KEY83P_2             	0x1A
#define KEY83P_5             	0x1B
#define KEY83P_8             	0x1C
#define KEY83P_LParen        	0x1D
#define KEY83P_Cos           	0x1E
#define KEY83P_Prgm          	0x1F
#define KEY83P_Stat          	0x20
#define KEY83P_0             	0x21
#define KEY83P_1             	0x22
#define KEY83P_4             	0x23
#define KEY83P_7             	0x24
#define KEY83P_Comma         	0x25
#define KEY83P_Sin           	0x26
#define KEY83P_Matrix        	0x27
#define KEY83P_Grapvar      	0x28
#define KEY83P_Store         	0x2A
#define KEY83P_Ln            	0x2B
#define KEY83P_Log           	0x2C
#define KEY83P_Square        	0x2D
#define KEY83P_Recip         	0x2E
#define KEY83P_Mat          	0x2F
#define KEY83P_Alpa         	0x30
#define KEY83P_Grap         	0x31
#define KEY83P_Trace         	0x32
#define KEY83P_Zoom          	0x33
#define KEY83P_Window        	0x34
#define KEY83P_YEqu          	0x35
#define KEY83P_2nd           	0x36
#define KEY83P_Mode          	0x37
#define KEY83P_Del           	0x38

// Array of keys

extern const TicalcKey TI83P_KEYS[];

#endif


syntax highlighted by Code2HTML, v. 0.9.1