#include "joystick_controller.h"#include "keys.h"#include "settings.h"#include "porting.h"#include "util/string.h"#include "util/numeric.h"Macros | |
| #define | JLO_B_PB(A, B, C) |
| #define | JLO_A_PB(A, B, C, D) |
Functions | |
| JoystickLayout | create_default_layout () |
| JoystickLayout | create_xbox_layout () |
| JoystickLayout | create_ps5_layout () |
| JoystickLayout | create_dragonrise_gamecube_layout () |
| #define JLO_A_PB | ( | A, | |
| B, | |||
| C, | |||
| D ) |
Referenced by create_default_layout(), create_dragonrise_gamecube_layout(), create_ps5_layout(), and create_xbox_layout().
| #define JLO_B_PB | ( | A, | |
| B, | |||
| C ) |
Referenced by create_default_layout(), create_dragonrise_gamecube_layout(), create_ps5_layout(), and create_xbox_layout().
| JoystickLayout create_default_layout | ( | ) |
References KeyType::AUX1, JoystickLayout::axes, JoystickLayout::axes_deadzone, KeyType::BACKWARD, KeyType::DIG, KeyType::DROP, KeyType::ESC, KeyType::FORWARD, g_settings, KeyType::HOTBAR_NEXT, KeyType::HOTBAR_PREV, JA_COUNT, JLO_A_PB, JLO_B_PB, KeyType::JUMP, KeyType::LEFT, KeyType::PLACE, KeyType::RIGHT, and KeyType::SNEAK.
Referenced by JoystickController::setLayoutFromControllerName().
| JoystickLayout create_dragonrise_gamecube_layout | ( | ) |
References KeyType::AUX1, JoystickLayout::axes, JoystickLayout::axes_deadzone, KeyType::BACKWARD, KeyType::DIG, KeyType::DROP, KeyType::ESC, KeyType::FORWARD, KeyType::HOTBAR_NEXT, KeyType::HOTBAR_PREV, KeyType::INVENTORY, JA_COUNT, JLO_A_PB, JLO_B_PB, KeyType::JUMP, KeyType::LEFT, KeyType::PLACE, KeyType::RIGHT, and KeyType::SNEAK.
Referenced by JoystickController::setLayoutFromControllerName().
| JoystickLayout create_ps5_layout | ( | ) |
References KeyType::AUTOFORWARD, KeyType::AUX1, JoystickLayout::axes, JoystickLayout::axes_deadzone, KeyType::CAMERA_MODE, KeyType::DIG, KeyType::DROP, KeyType::ESC, KeyType::FASTMOVE, KeyType::FREEMOVE, KeyType::HOTBAR_NEXT, KeyType::HOTBAR_PREV, KeyType::INVENTORY, JA_COUNT, JLO_A_PB, JLO_B_PB, KeyType::JUMP, KeyType::MINIMAP, KeyType::PLACE, KeyType::SNEAK, and KeyType::ZOOM.
Referenced by JoystickController::setLayoutFromControllerName().
| JoystickLayout create_xbox_layout | ( | ) |
References KeyType::AUX1, JoystickLayout::axes, JoystickLayout::axes_deadzone, KeyType::BACKWARD, KeyType::DIG, KeyType::DROP, KeyType::ESC, KeyType::FORWARD, KeyType::FREEMOVE, KeyType::HOTBAR_NEXT, KeyType::HOTBAR_PREV, KeyType::INVENTORY, JA_COUNT, JLO_A_PB, JLO_B_PB, KeyType::JUMP, KeyType::LEFT, KeyType::PLACE, KeyType::RIGHT, KeyType::SCREENSHOT, KeyType::SNEAK, and KeyType::ZOOM.
Referenced by JoystickController::setLayoutFromControllerName().