include/SDL_keycode.h
changeset 7191 75360622e65f
parent 6885 700f1b25f77f
child 8149 681eb46b8ac4
     1.1 --- a/include/SDL_keycode.h	Sat May 18 12:48:50 2013 -0700
     1.2 +++ b/include/SDL_keycode.h	Sat May 18 14:17:52 2013 -0700
     1.3 @@ -21,7 +21,7 @@
     1.4  
     1.5  /**
     1.6   *  \file SDL_keycode.h
     1.7 - *  
     1.8 + *
     1.9   *  Defines constants which identify keyboard keys and modifiers.
    1.10   */
    1.11  
    1.12 @@ -33,7 +33,7 @@
    1.13  
    1.14  /**
    1.15   *  \brief The SDL virtual key representation.
    1.16 - *  
    1.17 + *
    1.18   *  Values of this type are used to represent keyboard keys using the current
    1.19   *  layout of the keyboard.  These values include Unicode values representing
    1.20   *  the unmodified character that would be generated by pressing the key, or
    1.21 @@ -42,7 +42,7 @@
    1.22  typedef Sint32 SDL_Keycode;
    1.23  
    1.24  #define SDLK_SCANCODE_MASK (1<<30)
    1.25 -#define SDL_SCANCODE_TO_KEYCODE(X)	(X | SDLK_SCANCODE_MASK)
    1.26 +#define SDL_SCANCODE_TO_KEYCODE(X)  (X | SDLK_SCANCODE_MASK)
    1.27  
    1.28  enum
    1.29  {
    1.30 @@ -85,7 +85,7 @@
    1.31      SDLK_GREATER = '>',
    1.32      SDLK_QUESTION = '?',
    1.33      SDLK_AT = '@',
    1.34 -    /* 
    1.35 +    /*
    1.36         Skip uppercase letters
    1.37       */
    1.38      SDLK_LEFTBRACKET = '[',
    1.39 @@ -331,10 +331,10 @@
    1.40      KMOD_RESERVED = 0x8000
    1.41  } SDL_Keymod;
    1.42  
    1.43 -#define KMOD_CTRL	(KMOD_LCTRL|KMOD_RCTRL)
    1.44 -#define KMOD_SHIFT	(KMOD_LSHIFT|KMOD_RSHIFT)
    1.45 -#define KMOD_ALT	(KMOD_LALT|KMOD_RALT)
    1.46 -#define KMOD_GUI	(KMOD_LGUI|KMOD_RGUI)
    1.47 +#define KMOD_CTRL   (KMOD_LCTRL|KMOD_RCTRL)
    1.48 +#define KMOD_SHIFT  (KMOD_LSHIFT|KMOD_RSHIFT)
    1.49 +#define KMOD_ALT    (KMOD_LALT|KMOD_RALT)
    1.50 +#define KMOD_GUI    (KMOD_LGUI|KMOD_RGUI)
    1.51  
    1.52  #endif /* _SDL_keycode_h */
    1.53