#include <action_map.hpp>
|
auto | get_analog_value (const action_id_t &action, const input_device &device) const -> float |
|
auto | get_digital_value (const action_id_t &action, const input_device &device) const -> bool |
|
auto | is_pressed (const action_id_t &action, const input_device &device) const -> bool |
|
auto | is_released (const action_id_t &action, const input_device &device) const -> bool |
|
auto | is_down (const action_id_t &action, const input_device &device) const -> bool |
|
void | map (const action_id_t &action, gamepad_axis axis, axis_range range=axis_range::full, float min_analog_value=-1.0f, float max_analog_value=1.0f) |
|
void | map (const action_id_t &action, gamepad_button button) |
|
void | map (const action_id_t &action, key_code key, float analog_value=1.0f) |
|
void | map (const action_id_t &action, key_code key, const std::vector< key_code > &modifiers, float analog_value=1.0f) |
|
void | map (const action_id_t &action, mouse_axis axis, axis_range range=axis_range::full) |
|
void | map (const action_id_t &action, mouse_button button) |
|
Definition at line 12 of file action_map.hpp.
◆ get_analog_value()
auto input::action_map::get_analog_value |
( |
const action_id_t & | action, |
|
|
const input_device & | device ) const -> float |
◆ get_digital_value()
auto input::action_map::get_digital_value |
( |
const action_id_t & | action, |
|
|
const input_device & | device ) const -> bool |
◆ is_down()
◆ is_pressed()
◆ is_released()
◆ map() [1/6]
◆ map() [2/6]
◆ map() [3/6]
void input::action_map::map |
( |
const action_id_t & | action, |
|
|
key_code | key, |
|
|
const std::vector< key_code > & | modifiers, |
|
|
float | analog_value = 1.0f ) |
◆ map() [4/6]
void input::action_map::map |
( |
const action_id_t & | action, |
|
|
key_code | key, |
|
|
float | analog_value = 1.0f ) |
◆ map() [5/6]
◆ map() [6/6]
◆ operator==
◆ gamepad_map
◆ keyboard_map
◆ mouse_map
The documentation for this class was generated from the following files:
- C:/Workspace/github/UnravelEngine/UnravelEngine/engine/engine/input/action_map/action_map.hpp
- C:/Workspace/github/UnravelEngine/UnravelEngine/engine/engine/input/action_map/action_map.cpp