RigsofRods
Soft-body Physics Simulation
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Functions
_
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
g
i
k
l
m
n
p
r
s
t
u
v
w
Typedefs
a
c
d
e
f
g
l
m
n
o
p
r
s
t
v
w
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
a
b
c
d
g
h
l
m
n
o
p
r
s
t
v
Enumerator
a
b
c
d
f
g
h
l
m
n
o
r
s
t
v
Related Functions
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
Enumerator
k
o
Macros
_
a
b
c
d
e
f
h
i
l
m
n
o
p
r
s
t
x
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
doc
angelscript
Script2Game
InputEngineClass.h
Go to the documentation of this file.
1
2
namespace
Script2Game
{
3
16
class
InputEngineClass
17
{
18
public
:
19
22
26
void
setEventSimulatedValue
(
inputEvents
ev,
float
val);
27
29
32
36
string
getEventCommand
(
inputEvents
ev);
37
41
string
getEventCommandTrimmed
(
inputEvents
ev);
42
44
47
51
bool
getEventBoolValue
(
inputEvents
ev);
52
57
bool
getEventBoolValueBounce
(
inputEvents
ev,
float
time=0.2);
58
62
bool
isKeyDownEffective
(keyCodes keycode);
63
67
bool
isKeyDownValueBounce
(keyCodes keycode,
float
time = 0.2f);
68
70
73
74
bool
isKeyDown
(keyCodes keycode);
75
77
78
};
79
82
83
}
//namespace Script2Game
Script2Game::InputEngineClass::getEventCommand
string getEventCommand(inputEvents ev)
Script2Game
Pseudo-namespace; it doesn't exist in code or script runtime, only in this documentation.
Definition:
BeamClass.h:2
Script2Game::InputEngineClass::isKeyDownValueBounce
bool isKeyDownValueBounce(keyCodes keycode, float time=0.2f)
Get the safe "was key pressed?" value, optionally specifying the repeat ('bounce') interval.
Script2Game::InputEngineClass::isKeyDownEffective
bool isKeyDownEffective(keyCodes keycode)
Tells if the game recognizes the key as pressed (not blocked by game state or obscured by GUI).
Script2Game::InputEngineClass::setEventSimulatedValue
void setEventSimulatedValue(inputEvents ev, float val)
Set a permanent (you must also clear it!) override for an input event; Value can be between -1 and 1;...
Script2Game::InputEngineClass::isKeyDown
bool isKeyDown(keyCodes keycode)
Script2Game::inputEvents
inputEvents
Definition:
globals.h:130
Script2Game::InputEngineClass::getEventBoolValue
bool getEventBoolValue(inputEvents ev)
Script2Game::InputEngineClass
Binding of RoR::InputEngine; Manages input devices, their configuration (input.map ....
Definition:
InputEngineClass.h:16
Script2Game::InputEngineClass::getEventCommandTrimmed
string getEventCommandTrimmed(inputEvents ev)
Script2Game::InputEngineClass::getEventBoolValueBounce
bool getEventBoolValueBounce(inputEvents ev, float time=0.2)
Generated by
1.8.17