Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
blob: 10953c96122f96111e72cbbdd172529cca9563ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
   client/keyboard.h
   This file is part of the Osirion project and is distributed under
   the terms and conditions of the GNU General Public License version 2
*/

#ifndef __INCLUDED_CLIENT_KEYS_H__
#define __INCLUDED_CLIENT_KEYS_H__

#include "SDL/SDL.h"

namespace client {

/// convert SDL_keysym to an ascii character
char keysym_to_char(const SDL_keysym &keysym);

/// set the keyboard input mode
/** @param input true for console input, false for game input
 */
void setkeyboardmode(bool input);

} // namespace client

#endif // __INCLUDED_CLIENT_KEYS_H__