| 155 | } |
| 156 | |
| 157 | bool GamePad::lAxisXReleased(GP_AxisDirection direction) |
| 158 | { |
| 159 | return direction == GPA_LEFT ? (lAxisX_state[input_state] >= 0 && |
| 160 | lAxisX_state[input_state ^ 1] < 0) |
| 161 | : (lAxisX_state[input_state] <= 0 && |
| 162 | lAxisX_state[input_state ^ 1] > 0); |
| 163 | } |
| 164 | |
| 165 | bool GamePad::lAxisYPressed(GP_AxisDirection direction) |
| 166 | { |
nothing calls this directly
no outgoing calls
no test coverage detected