Xcode-iOS/Demos/src/keyboard.c
changeset 7191 75360622e65f
parent 6654 2ecfb25be1e2
child 7290 36c04a8c6545
     1.1 --- a/Xcode-iOS/Demos/src/keyboard.c	Sat May 18 12:48:50 2013 -0700
     1.2 +++ b/Xcode-iOS/Demos/src/keyboard.c	Sat May 18 14:17:52 2013 -0700
     1.3 @@ -1,7 +1,7 @@
     1.4  /*
     1.5 - *	keyboard.c
     1.6 - *	written by Holmes Futrell
     1.7 - *	use however you want
     1.8 + *  keyboard.c
     1.9 + *  written by Holmes Futrell
    1.10 + *  use however you want
    1.11   */
    1.12  
    1.13  #import "SDL.h"
    1.14 @@ -97,14 +97,14 @@
    1.15  };
    1.16  
    1.17  /*
    1.18 -	This function maps an SDL_KeySym to an index in the bitmap font.
    1.19 -	It does so by scanning through the font mapping table one entry
    1.20 -	at a time.
    1.21 - 
    1.22 -	If a match is found (scancode and allowed modifiers), the proper
    1.23 -	index is returned.
    1.24 - 
    1.25 -	If there is no entry for the key, -1 is returned
    1.26 +    This function maps an SDL_KeySym to an index in the bitmap font.
    1.27 +    It does so by scanning through the font mapping table one entry
    1.28 +    at a time.
    1.29 +
    1.30 +    If a match is found (scancode and allowed modifiers), the proper
    1.31 +    index is returned.
    1.32 +
    1.33 +    If there is no entry for the key, -1 is returned
    1.34  */
    1.35  int
    1.36  keyToIndex(SDL_Keysym key)
    1.37 @@ -125,8 +125,8 @@
    1.38      return index;
    1.39  }
    1.40  
    1.41 -/* 
    1.42 -	This function returns and x,y position for a given character number.
    1.43 +/*
    1.44 +    This function returns and x,y position for a given character number.
    1.45      It is used for positioning each character of text
    1.46  */
    1.47  void