~ubuntu-branches/ubuntu/breezy/tiemu/breezy

« back to all changes in this revision

Viewing changes to src/gui/calc/skinkeys.c

  • Committer: Bazaar Package Importer
  • Author(s): Julien BLACHE
  • Date: 2005-06-02 16:50:15 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 sarge)
  • Revision ID: james.westby@ubuntu.com-20050602165015-59ab24414tl2wzol
Tags: 1.99+svn1460-1
* New snapshot.
* debian/control:
  + Updated build-depends.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Hey EMACS -*- linux-c -*- */
 
2
/* $Id: skinkeys.c 1455 2005-05-31 18:38:03Z roms $ */
 
3
 
 
4
/*  TiEmu - an TI emulator
 
5
 *
 
6
 *  Copyright (c) 2000-2001, Thomas Corvazier, Romain Lievin
 
7
 *  Copyright (c) 2001-2003, Romain Lievin
 
8
 *  Copyright (c) 2003, Julien Blache
 
9
 *  Copyright (c) 2004, Romain Li�vin
 
10
 *  Copyright (c) 2005, Romain Li�vin
 
11
 *
 
12
 *  This program is free software; you can redistribute it and/or modify
 
13
 *  it under the terms of the GNU General Public License as published by
 
14
 *  the Free Software Foundation; either version 2 of the License, or
 
15
 *  (at your option) any later version.
 
16
 *
 
17
 *  This program is distributed in the hope that it will be useful,
 
18
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
19
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
20
 *  GNU General Public License for more details.
 
21
 *
 
22
 *  You should have received a copy of the GNU General Public License
 
23
 *  along with this program; if not, write to the Free Software
 
24
 *  Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
 
25
 */
 
26
 
 
27
#ifdef HAVE_CONFIG_H
 
28
#include <config.h>
 
29
#endif
 
30
 
 
31
#include "keydefs.h" // in core/ti_hw
 
32
 
 
33
/*
 
34
  Key mapping for skins
 
35
*/
 
36
 
 
37
const char sknKey92[] = 
 
38
{
 
39
    TIKEY_HAND,
 
40
    TIKEY_F1, TIKEY_F2, TIKEY_F3, TIKEY_F4, TIKEY_F5, TIKEY_F6, TIKEY_F7,
 
41
    TIKEY_F8,
 
42
    TIKEY_Q, TIKEY_W, TIKEY_E, TIKEY_R, TIKEY_T, TIKEY_Y, TIKEY_U, TIKEY_I,
 
43
    TIKEY_O,
 
44
    TIKEY_P,
 
45
    TIKEY_A, TIKEY_S, TIKEY_D, TIKEY_F, TIKEY_G, TIKEY_H, TIKEY_J, TIKEY_K,
 
46
    TIKEY_L,
 
47
    TIKEY_Z, TIKEY_X, TIKEY_C, TIKEY_V, TIKEY_B, TIKEY_N, TIKEY_M,
 
48
    TIKEY_THETA,
 
49
    TIKEY_SHIFT, TIKEY_ON, TIKEY_DIAMOND, TIKEY_2ND, TIKEY_STORE,
 
50
    TIKEY_SPACE,
 
51
    TIKEY_EQUALS,
 
52
    TIKEY_BACKSPACE, TIKEY_ENTER1, TIKEY_2ND, TIKEY_ESCAPE, TIKEY_MODE,
 
53
    TIKEY_CLEAR,
 
54
    TIKEY_LN,
 
55
    TIKEY_APPS, TIKEY_ENTER2, TIKEY_LEFT, TIKEY_RIGHT, TIKEY_UP,
 
56
    TIKEY_DOWN,
 
57
    TIKEY_SIN, TIKEY_COS, TIKEY_TAN, TIKEY_POWER, TIKEY_PALEFT,
 
58
    TIKEY_PARIGHT,
 
59
    TIKEY_COMMA,
 
60
    TIKEY_DIVIDE, TIKEY_7, TIKEY_8, TIKEY_9, TIKEY_MULTIPLY, TIKEY_4,
 
61
    TIKEY_5, TIKEY_6,
 
62
    TIKEY_MINUS,
 
63
    TIKEY_1, TIKEY_2, TIKEY_3, TIKEY_PLUS, TIKEY_0, TIKEY_PERIOD, TIKEY_NEGATE,
 
64
    TIKEY_ENTER1
 
65
};
 
66
 
 
67
const char sknKey89[] = 
 
68
{
 
69
    TIKEY_F1, TIKEY_F2, TIKEY_F3, TIKEY_F4, TIKEY_F5,
 
70
    TIKEY_2ND, TIKEY_SHIFT, TIKEY_ESCAPE, TIKEY_LEFT, TIKEY_RIGHT,
 
71
    TIKEY_UP, TIKEY_DOWN, TIKEY_DIAMOND, TIKEY_ALPHA, TIKEY_APPS,
 
72
    TIKEY_HOME, TIKEY_MODE, TIKEY_CATALOG, TIKEY_BACKSPACE, TIKEY_CLEAR,
 
73
    TIKEY_X, TIKEY_Y, TIKEY_Z, TIKEY_T, TIKEY_POWER,
 
74
    TIKEY_EQUALS, TIKEY_PALEFT, TIKEY_PARIGHT, TIKEY_COMMA, TIKEY_DIVIDE,
 
75
    TIKEY_PIPE, TIKEY_7, TIKEY_8, TIKEY_9, TIKEY_MULTIPLY,
 
76
    TIKEY_EE, TIKEY_4, TIKEY_5, TIKEY_6, TIKEY_MINUS,
 
77
    TIKEY_STORE, TIKEY_1, TIKEY_2, TIKEY_3, TIKEY_PLUS,
 
78
    TIKEY_ON, TIKEY_0, TIKEY_PERIOD, TIKEY_NEGATE, TIKEY_ENTER1
 
79
};