| 143 | } |
| 144 | |
| 145 | static float QueryMouseButton(const Input& in, int index, bool checkFocus) |
| 146 | { |
| 147 | if (checkFocus && in.gameFocusLost > 0) |
| 148 | return 0; |
| 149 | if (index < 0 || index >= N_MOUSE_BUTTONS) |
| 150 | return 0; |
| 151 | return in.mouse.buttons[index]; |
| 152 | } |
| 153 | |
| 154 | static float QueryDoubleTapMouseButton(const Input& in, int index, bool checkFocus) |
| 155 | { |
no outgoing calls
no test coverage detected