| 163 | } |
| 164 | |
| 165 | bool GamePad::lAxisYPressed(GP_AxisDirection direction) |
| 166 | { |
| 167 | return direction == GPA_LEFT ? (lAxisY_state[input_state] < 0 && |
| 168 | lAxisY_state[input_state ^ 1] >= 0) |
| 169 | : (lAxisY_state[input_state] > 0 && |
| 170 | lAxisY_state[input_state ^ 1] <= 0); |
| 171 | } |
| 172 | |
| 173 | bool GamePad::lAxisYReleased(GP_AxisDirection direction) |
| 174 | { |
nothing calls this directly
no outgoing calls
no test coverage detected