~ubuntu-branches/ubuntu/trusty/python-enable/trusty

« back to all changes in this revision

Viewing changes to enthought/enable/vtk_backend/constants.py

  • Committer: Bazaar Package Importer
  • Author(s): Varun Hiremath
  • Date: 2010-10-17 23:10:41 UTC
  • mto: (1.2.1 upstream) (8.1.1 experimental)
  • mto: This revision was merged to the branch mainline in revision 10.
  • Revision ID: james.westby@ubuntu.com-20101017231041-rziowhgl7zhxra2i
Tags: upstream-3.3.2
ImportĀ upstreamĀ versionĀ 3.3.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Map from VTK to enable key names
 
2
KEY_MAP = {
 
3
    "Esc": "Esc",
 
4
    "Tab": "Tab",
 
5
    "Backtab": "Backtab",
 
6
    "Backspace": "Backspace",
 
7
    "Return": "Enter",
 
8
    "Enter": "Enter",
 
9
    "Insert": "Insert",
 
10
    "Delete": "Delete",
 
11
    "Pause": "Pause",
 
12
    "Print": "Print",
 
13
    "Sysreq": "Sysreq",
 
14
    "Clear": "Clear",
 
15
    "Home": "Home",
 
16
    "End": "End",
 
17
    "Left": "Left",
 
18
    "Up": "Up",
 
19
    "Right": "Right",
 
20
    "Down": "Down",
 
21
    "Prior": "Page Up",
 
22
    "Next": "Page Down",
 
23
    "Meta": "Meta",
 
24
    "Caps_Lock": "Caps Lock",
 
25
    "Num_Lock": "Num Lock",
 
26
    "Scroll_Lock": "Scroll Lock",
 
27
    "F1": "F1",
 
28
    "F2": "F2",
 
29
    "F3": "F3",
 
30
    "F4": "F4",
 
31
    "F5": "F5",
 
32
    "F6": "F6",
 
33
    "F7": "F7",
 
34
    "F8": "F8",
 
35
    "F9": "F9",
 
36
    "F10": "F10",
 
37
    "F11": "F11",
 
38
    "F12": "F12",
 
39
}