~ubuntu-branches/ubuntu/precise/primrose/precise

« back to all changes in this revision

Viewing changes to minorGems/graphics/keyCodes.h

  • Committer: Bazaar Package Importer
  • Author(s): Paul Wise
  • Date: 2009-04-06 19:26:56 UTC
  • Revision ID: james.westby@ubuntu.com-20090406192656-cri7503gebyvfl8t
Tags: upstream-5+dfsg1
ImportĀ upstreamĀ versionĀ 5+dfsg1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Jason Rohrer
 
2
// keyCodes.h
 
3
 
 
4
/**
 
5
*
 
6
*       Header for defining key codes for various platforms
 
7
*
 
8
*
 
9
*       Created 12-15-99
 
10
*       Mods:   
 
11
*               Jason Rohrer    3-23-2000       Added more key codes
 
12
*
 
13
*/
 
14
 
 
15
 
 
16
#ifdef WINDOWS_KEY_CODES
 
17
 
 
18
        #define M_KEY   0x4D
 
19
        #define N_KEY   0x4E
 
20
        
 
21
        #define S_KEY   0x53
 
22
        
 
23
        #define Q_KEY   0x51
 
24
        
 
25
        #define L_KEY   0x4C
 
26
        
 
27
        #define R_KEY   0x52
 
28
        
 
29
        #define T_KEY   0x54
 
30
 
 
31
#endif
 
32
 
 
33
 
 
34
 
 
35
 
 
36
#ifdef MAC_KEY_CODES
 
37
 
 
38
        #define M_KEY   0x2E
 
39
        #define N_KEY   0x2D
 
40
        
 
41
        #define S_KEY   0x01
 
42
        
 
43
        #define Q_KEY   0x0C
 
44
        
 
45
        
 
46
        #define L_KEY   0x25
 
47
        
 
48
        #define R_KEY   0x0F
 
49
        
 
50
        #define T_KEY   0x11
 
51
 
 
52
#endif
 
 
b'\\ No newline at end of file'