| 701 | } |
| 702 | |
| 703 | void SetJoystickMapping(int key, unsigned int joystickButton) |
| 704 | { |
| 705 | assert(s_currWindowCtx); |
| 706 | assert(key >= ImGuiKey_NamedKey_BEGIN); |
| 707 | assert(key < ImGuiKey_NamedKey_END); |
| 708 | assert(joystickButton < sf::Joystick::ButtonCount); |
| 709 | s_currWindowCtx->joystickMapping[joystickButton] = static_cast<ImGuiKey>(key); |
| 710 | } |
| 711 | |
| 712 | void SetDPadXAxis(sf::Joystick::Axis dPadXAxis, bool inverted) |
| 713 | { |
no outgoing calls
no test coverage detected