| 393 | } |
| 394 | |
| 395 | float AS_GetLookYAxis(int controller_id) { |
| 396 | PlayerInput* controller = Input::Instance()->GetController(controller_id); |
| 397 | |
| 398 | if (controller == NULL) { |
| 399 | return 0.0f; |
| 400 | } |
| 401 | |
| 402 | float up_depth = controller->key_down["look_up"].depth; |
| 403 | float down_depth = controller->key_down["look_down"].depth; |
| 404 | return down_depth - up_depth; |
| 405 | } |
| 406 | |
| 407 | void AS_SetGrabMouse(bool grab) { |
| 408 | return Input::Instance()->SetGrabMouse(grab); |
nothing calls this directly
no test coverage detected