| 144 | // -------------------------------------------------------- |
| 145 | |
| 146 | struct XInputMap_Joystick { |
| 147 | constexpr XInputMap_Joystick(uint8_t xl, uint8_t xh, uint8_t yl, uint8_t yh) |
| 148 | : x_low(xl), x_high(xh), y_low(yl), y_high(yh) {} |
| 149 | static const XInputController::Range range; |
| 150 | const uint8_t x_low; |
| 151 | const uint8_t x_high; |
| 152 | const uint8_t y_low; |
| 153 | const uint8_t y_high; |
| 154 | }; |
| 155 | |
| 156 | const XInputController::Range XInputMap_Joystick::range = { -32768, 32767 }; // int16_t |
| 157 |
nothing calls this directly
no outgoing calls
no test coverage detected