GamepadSettings.ixx File
Configuration settings for gamepad input processing. More...
Included Headers
#include <algorithm>
Namespaces Index
| namespace | helios |
| namespace | input |
|
Input handling and management. More... | |
| namespace | gamepad |
|
Gamepad input handling and configuration. More... | |
Classes Index
| class | GamepadSettings |
|
Configuration class for gamepad input normalization and axis behavior. More... | |
Description
Configuration settings for gamepad input processing.
File Listing
The file content with the documentation metadata removed is:
11export namespace helios::input::gamepad {
37 class GamepadSettings {
74 ~GamepadSettings() = default;
79 GamepadSettings() = default;
88 GamepadSettings& setLeftStickDeadzone(float deadzone) noexcept {
101 GamepadSettings& setRightStickDeadzone(float deadzone) noexcept {
114 GamepadSettings& setInvertLeftX(bool invert) noexcept {
126 GamepadSettings& setInvertLeftY(bool invert) noexcept {
138 GamepadSettings& setInvertRightX(bool invert) noexcept {
150 GamepadSettings& setInvertRightY(bool invert) noexcept {
160 [[nodiscard]] float leftStickDeadzone() const noexcept {
169 [[nodiscard]] float rightStickDeadzone() const noexcept {
178 [[nodiscard]] bool invertLeftX() const noexcept {
187 [[nodiscard]] bool invertLeftY() const noexcept {
196 [[nodiscard]] bool invertRightX() const noexcept {
205 [[nodiscard]] bool invertRightY() const noexcept {
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.