Ignore:
Timestamp:
Feb 25, 2013, 10:49:55 PM (10 years ago)
Author:
sam
Message:

mrpigeon: can now play using spacebar.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/input/input.h

    r2216 r2498  
    4343    {
    4444        /* ASCII mapped keys */
    45         Unknown = 0,
    46         First = 0,
    47         Backspace = 8,
    48         Tab = 9,
    49         Clear = 12,
    50         Return = 13,
    51         Pause = 19,
    52         Escape = 27,
    53         Space = 32,
    54         Exclaim = 33,
    55         DoubleQuote = 34,
    56         Hash = 35,
    57         Dollar = 36,
    58         Ampersand = 38,
    59         Quote = 39,
    60         LeftParen = 40,
    61         RightParen = 41,
    62         Asterisk = 42,
    63         Plus = 43,
    64         Comma = 44,
    65         Minus = 45,
    66         Period = 46,
    67         Slash = 47,
    68         K0 = 48,
    69         K1 = 49,
    70         K2 = 50,
    71         K3 = 51,
    72         K4 = 52,
    73         K5 = 53,
    74         K6 = 54,
    75         K7 = 55,
    76         K8 = 56,
    77         K9 = 57,
    78         Colon = 58,
    79         Semicolon = 59,
    80         Less = 60,
    81         Equals = 61,
    82         Greater = 62,
    83         Question = 63,
    84         At = 64,
     45        Unknown =     0,
     46        First =       0,
     47        Backspace =   8,
     48        Tab =         (int)'\t',
     49        Clear =       12,
     50        Return =      13,
     51        Pause =       19,
     52        Escape =      27,
     53        Space =       (int)' ',
     54        Exclaim =     (int)'!',
     55        DoubleQuote = (int)'"',
     56        Hash =        (int)'#',
     57        Dollar =      (int)'$',
     58        Ampersand =   (int)'&',
     59        Quote =       (int)'\'',
     60        LeftParen =   (int)'(',
     61        RightParen =  (int)')',
     62        Asterisk =    (int)'*',
     63        Plus =        (int)'+',
     64        Comma =       (int)',',
     65        Minus =       (int)'-',
     66        Period =      (int)'.',
     67        Slash =       (int)'/',
     68        K0 = (int)'0',
     69        K1 = (int)'1',
     70        K2 = (int)'2',
     71        K3 = (int)'3',
     72        K4 = (int)'4',
     73        K5 = (int)'5',
     74        K6 = (int)'6',
     75        K7 = (int)'7',
     76        K8 = (int)'8',
     77        K9 = (int)'9',
     78        Colon =        (int)':',
     79        Semicolon =    (int)';',
     80        Less =         (int)'<',
     81        Equals =       (int)'=',
     82        Greater =      (int)'>',
     83        Question =     (int)'?',
     84        At =           (int)'@',
    8585        /* XXX: SDL decides to skip uppercase characters */
    86         LeftBracket = 91,
    87         BackSlash = 92,
    88         RightBracket = 93,
    89         Caret = 94,
    90         Underscore = 95,
    91         Backquote = 96,
    92         A = 97,
    93         B = 98,
    94         C = 99,
    95         D = 100,
    96         E = 101,
    97         F = 102,
    98         G = 103,
    99         H = 104,
    100         I = 105,
    101         J = 106,
    102         K = 107,
    103         L = 108,
    104         M = 109,
    105         N = 110,
    106         O = 111,
    107         P = 112,
    108         Q = 113,
    109         R = 114,
    110         S = 115,
    111         T = 116,
    112         U = 117,
    113         V = 118,
    114         W = 119,
    115         X = 120,
    116         Y = 121,
    117         Z = 122,
     86        LeftBracket =  (int)'[',
     87        BackSlash =    (int)'\\',
     88        RightBracket = (int)']',
     89        Caret =        (int)'^',
     90        Underscore =   (int)'_',
     91        Backquote =    (int)'`',
     92        A = (int)'a',
     93        B = (int)'b',
     94        C = (int)'c',
     95        D = (int)'d',
     96        E = (int)'e',
     97        F = (int)'f',
     98        G = (int)'g',
     99        H = (int)'h',
     100        I = (int)'i',
     101        J = (int)'j',
     102        K = (int)'k',
     103        L = (int)'l',
     104        M = (int)'m',
     105        N = (int)'n',
     106        O = (int)'o',
     107        P = (int)'p',
     108        Q = (int)'q',
     109        R = (int)'r',
     110        S = (int)'s',
     111        T = (int)'t',
     112        U = (int)'u',
     113        V = (int)'v',
     114        W = (int)'w',
     115        X = (int)'x',
     116        Y = (int)'y',
     117        Z = (int)'z',
    118118        Delete = 127,
    119119
Note: See TracChangeset for help on using the changeset viewer.