| 223 | } |
| 224 | |
| 225 | float AS_GetMoveYAxis(int controller_id) { |
| 226 | PlayerInput* controller = Input::Instance()->GetController(controller_id); |
| 227 | |
| 228 | if (controller == NULL) { |
| 229 | return 0.0f; |
| 230 | } |
| 231 | |
| 232 | float up_depth = controller->key_down["up"].depth; |
| 233 | float down_depth = controller->key_down["down"].depth; |
| 234 | return down_depth - up_depth; |
| 235 | } |
| 236 | |
| 237 | static bool AS_GetInputDownFiltered(int controller_id, const std::string& which_key, uint32_t filter) { |
| 238 | PlayerInput* controller = Input::Instance()->GetController(controller_id); |
nothing calls this directly
no test coverage detected