File: keys.h

package info (click to toggle)
komi 1.03-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,924 kB
  • ctags: 472
  • sloc: ansic: 4,694; makefile: 75
file content (23 lines) | stat: -rw-r--r-- 590 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* Keys for Komi. Adjust at will (then recompile). For key-names see:
        http://sdldoc.csn.ul.ie/sdlkey.php
*/

// You can use any of these keys to go left...
int LeftKey1 = SDLK_LEFT;
int LeftKey2 = SDLK_KP4;
int LeftKey3 = SDLK_q;

// You can use any of these keys to go right...
int RightKey1 = SDLK_RIGHT;
int RightKey2 = SDLK_KP6;
int RightKey3 = SDLK_w;

// Extend the tongue...
int FireKey1 = SDLK_SPACE;
int FireKey2 = SDLK_RETURN;

// Utility functions...
int PauseKey = SDLK_p;
int ScreenshotKey = SDLK_F12;

int LevelSkip = SDLK_KP_PLUS;    // Only works if cheats enabled.