| 147 | } |
| 148 | |
| 149 | bool GamePad::lAxisXPressed(GP_AxisDirection direction) |
| 150 | { |
| 151 | return direction == GPA_LEFT ? (lAxisX_state[input_state] < 0 && |
| 152 | lAxisX_state[input_state ^ 1] >= 0) |
| 153 | : (lAxisX_state[input_state] > 0 && |
| 154 | lAxisX_state[input_state ^ 1] <= 0); |
| 155 | } |
| 156 | |
| 157 | bool GamePad::lAxisXReleased(GP_AxisDirection direction) |
| 158 | { |
nothing calls this directly
no outgoing calls
no test coverage detected