Trade-offs and warnings
Consult the linked header for this operation’s ownership, lifetime and failure behavior.
EPOK RUNTIME
Method · 1 overload
Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.
Performs `bind axis` as part of the gameplay control module.
static bool bind_axis(GameplayAction action,Axis axis,Button negative,Button positive,uint32_t port)Performs `bind axis` as part of the gameplay control module.
| Parameter | Type | Meaning |
|---|---|---|
action | GameplayAction | Not documented; consult the linked header. |
axis | Axis | Not documented; consult the linked header. |
negative | Button | Not documented; consult the linked header. |
positive | Button | Not documented; consult the linked header. |
port | uint32_t | Not documented; consult the linked header. |
Returns: bool. Consult the linked header for its meaning.
#include "gameplay_control.hpp"
// Assume these named values have been initialized with valid data:
// GameplayAction action
// Axis axis
// Button negative
// Button positive
// uint32_t port
auto result = epok::GameplayInputLibrary::bind_axis(action, axis, negative, positive, port);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/gameplay_control.hpp:284
all_actionsPerforms `all actions` as part of the gameplay control module.MethodaxisPerforms `axis` as part of the gameplay control module.Methodaxis_rawPerforms `axis raw` as part of the gameplay control module.Methodaxis_valuePerforms `axis value` as part of the gameplay control module.Methodbind_buttonPerforms `bind button` as part of the gameplay control module.Methodbutton_frame_pressedPerforms `button frame pressed` as part of the gameplay control module.Methodbutton_heldPerforms `button held` as part of the gameplay control module.Methodbutton_pressedPerforms `button pressed` as part of the gameplay control module.MethodcapturePerforms `capture` as part of the gameplay control module.MethodcapturedPerforms `captured` as part of the gameplay control module.Methodcontext_samplePerforms `context sample` as part of the gameplay control module.Methodcontext_take_pressedPerforms `context take pressed` as part of the gameplay control module.Method