blob: 68058187a390d39c6ff6328068f2067c9edd453d (
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 a keystroke
int translate_keysym(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__
|