| 211 | } |
| 212 | |
| 213 | float AS_GetMoveXAxis(int controller_id) { |
| 214 | PlayerInput* controller = Input::Instance()->GetController(controller_id); |
| 215 | |
| 216 | if (controller == NULL) { |
| 217 | return 0.0f; |
| 218 | } |
| 219 | |
| 220 | float left_depth = controller->key_down["left"].depth; |
| 221 | float right_depth = controller->key_down["right"].depth; |
| 222 | return right_depth - left_depth; |
| 223 | } |
| 224 | |
| 225 | float AS_GetMoveYAxis(int controller_id) { |
| 226 | PlayerInput* controller = Input::Instance()->GetController(controller_id); |
nothing calls this directly
no test coverage detected