Skyline Lua API
Version 1.0
Lua Script Reference for Skyline Game Engine.
Main Page
Classes
Files
File List
LUA_API_Input.h
Go to the documentation of this file.
1
// | _ ____ __ _
2
// | / \ _ _ _ __ __ _/ ___| ___ / _| |_
3
// | / _ \| | | | '__/ _` \___ \ / _ \| |_| __|
4
// | / ___ \ |_| | | | (_| |___) | (_) | _| |_
5
// | /_/ \_\__,_|_| \__,_|____/ \___/|_| \__|
6
// |
7
// | Aurasoft UK 2008 - 2018 http://www.aurasoft.co.uk
8
// |
9
// | Skyline Game Engine Lua API Documentation
10
// |
11
// | This file belongs to Aurasoft UK for the Skyline Game Engine of all versions.
12
// | This file is not for use in any other software that is not owned by Aurasoft UK and cannot be used by any other
13
// | person outside of the Skyline Game Engine development team.
14
// |
15
// | © Copyright - Aurasoft UK & Skyline Game Engine 2008 - 2018
16
// |
17
18
// SKYLINE LUA CLASS FOR API DOCUMENTATION
19
27
class
input
28
{
29
public
:
30
49
int
keyDown
( String Key );
50
68
int
keyHit
( String Key );
69
90
int
releaseKey
( String Key );
91
109
int
mouseDown
(
int
button );
110
127
int
mouseHit
(
int
button );
128
144
getFromMap
(
int
id
,
string
keyMapName);
145
146
147
148
149
150
151
};
input::releaseKey
int releaseKey(String Key)
Use this function to free an key that is held down and is being monitored by the keyDown(key) method...
input
Definition:
LUA_API_Input.h:27
input::mouseHit
int mouseHit(int button)
Detect if the specified mouse button is clicked.
input::getFromMap
getFromMap(int id, string keyMapName)
getFromMap(int id, string keyMapName).
input::mouseDown
int mouseDown(int button)
Detect if the specified mouse button is pressed.
input::keyHit
int keyHit(String Key)
This function can be used to detect keys that are pressd once or want to trigger code only once...
input::keyDown
int keyDown(String Key)
This function can be used to detect keys that are held down.
LUA_API_Input.h
Generated on Mon Feb 19 2018 12:57:58 for Skyline Lua API by
1.8.11