orx  1.14
Portable Game Engine
orxKeyboard.h
Go to the documentation of this file.
1 /* Orx - Portable Game Engine
2  *
3  * Copyright (c) 2008-2022 Orx-Project
4  *
5  * This software is provided 'as-is', without any express or implied
6  * warranty. In no event will the authors be held liable for any damages
7  * arising from the use of this software.
8  *
9  * Permission is granted to anyone to use this software for any purpose,
10  * including commercial applications, and to alter it and redistribute it
11  * freely, subject to the following restrictions:
12  *
13  * 1. The origin of this software must not be misrepresented; you must not
14  * claim that you wrote the original software. If you use this software
15  * in a product, an acknowledgment in the product documentation would be
16  * appreciated but is not required.
17  *
18  * 2. Altered source versions must be plainly marked as such, and must not be
19  * misrepresented as being the original software.
20  *
21  * 3. This notice may not be removed or altered from any source
22  * distribution.
23  */
24 
43 #ifndef _orxKEYBOARD_H_
44 #define _orxKEYBOARD_H_
45 
46 #include "orxInclude.h"
47 #include "plugin/orxPluginCore.h"
48 
49 
52 typedef enum __orxKEYBOARD_KEY_t
53 {
176 
178 
179  orxKEYBOARD_KEY_NONE = orxENUM_NONE
180 
182 
183 
184 /***************************************************************************
185  * Functions directly implemented by orx core
186  ***************************************************************************/
187 
190 extern orxDLLAPI void orxFASTCALL orxKeyboard_Setup();
191 
192 
193 /***************************************************************************
194  * Functions extended by plugins
195  ***************************************************************************/
196 
199 extern orxDLLAPI orxSTATUS orxFASTCALL orxKeyboard_Init();
200 
203 extern orxDLLAPI void orxFASTCALL orxKeyboard_Exit();
204 
209 extern orxDLLAPI orxBOOL orxFASTCALL orxKeyboard_IsKeyPressed(orxKEYBOARD_KEY _eKey);
210 
215 extern orxDLLAPI const orxSTRING orxFASTCALL orxKeyboard_GetKeyDisplayName(orxKEYBOARD_KEY _eKey);
216 
220 extern orxDLLAPI orxKEYBOARD_KEY orxFASTCALL orxKeyboard_ReadKey();
221 
225 extern orxDLLAPI const orxSTRING orxFASTCALL orxKeyboard_ReadString();
226 
229 extern orxDLLAPI void orxFASTCALL orxKeyboard_ClearBuffer();
230 
235 extern orxDLLAPI const orxSTRING orxFASTCALL orxKeyboard_GetKeyName(orxKEYBOARD_KEY _eKey);
236 
241 extern orxDLLAPI orxSTATUS orxFASTCALL orxKeyboard_Show(orxBOOL _bShow);
242 
243 #endif /* _orxKEYBOARD_H_ */
244 
orxDLLAPI const orxSTRING orxFASTCALL orxKeyboard_ReadString()
orxDLLAPI const orxSTRING orxFASTCALL orxKeyboard_GetKeyName(orxKEYBOARD_KEY _eKey)
orxDLLAPI void orxFASTCALL orxKeyboard_Setup()
orxDLLAPI orxSTATUS orxFASTCALL orxKeyboard_Show(orxBOOL _bShow)
orxKEYBOARD_KEY
Definition: orxKeyboard.h:52
orxDLLAPI orxKEYBOARD_KEY orxFASTCALL orxKeyboard_ReadKey()
orxDLLAPI const orxSTRING orxFASTCALL orxKeyboard_GetKeyDisplayName(orxKEYBOARD_KEY _eKey)
orxDLLAPI orxBOOL orxFASTCALL orxKeyboard_IsKeyPressed(orxKEYBOARD_KEY _eKey)
orxDLLAPI void orxFASTCALL orxKeyboard_ClearBuffer()
orxDLLAPI orxSTATUS orxFASTCALL orxKeyboard_Init()
orxDLLAPI void orxFASTCALL orxKeyboard_Exit()
orxSTATUS
Definition: orxType.h:256
#define orxDLLAPI
Definition: orxDecl.h:370

Generated for orx by doxygen 1.8.11