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

« back to all changes in this revision

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