|
| float | deadzone (float input, float deadzone) const |
| |
| void | render (const ImVec4 &button_active_color, const ImVec4 &button_inactive_color, const ImVec2 &buttonSize, bool hold_active, double joypadDeadzone, const std::vector< float > &joypadAxisValues, const std::vector< bool > &joypadButtonValues, std::vector< double > &outputValues) |
| |
Definition at line 57 of file KeyboardJoypad.cpp.
◆ deadzone()
| float ButtonState::deadzone |
( |
float |
input, |
|
|
float |
deadzone |
|
) |
| const |
|
inline |
◆ render()
| void ButtonState::render |
( |
const ImVec4 & |
button_active_color, |
|
|
const ImVec4 & |
button_inactive_color, |
|
|
const ImVec2 & |
buttonSize, |
|
|
bool |
hold_active, |
|
|
double |
joypadDeadzone, |
|
|
const std::vector< float > & |
joypadAxisValues, |
|
|
const std::vector< bool > & |
joypadButtonValues, |
|
|
std::vector< double > & |
outputValues |
|
) |
| |
|
inline |
◆ active
| bool ButtonState::active { false } |
◆ alias
| std::string ButtonState::alias |
◆ buttonPressed
| bool ButtonState::buttonPressed { false } |
◆ col
| int ButtonState::col { 0 } |
◆ joypadAxisInputs
◆ joypadButtonIndices
| std::vector<int> ButtonState::joypadButtonIndices |
◆ keys
| std::vector<ImGuiKey> ButtonState::keys |
◆ type
◆ values
The documentation for this struct was generated from the following file:
- opt-modules/yarp-device-keyboard-joypad-iit/src/devices/keyboard-joypad/KeyboardJoypad.cpp