| 9 | using Poseidon::Foundation::UITime; |
| 10 | |
| 11 | void MouseState::BufferButton(int btn, bool down) |
| 12 | { |
| 13 | if (btnCount_ >= kButtonBufferSize) |
| 14 | return; |
| 15 | btnBuffer_[btnCount_++] = {btn, down}; |
| 16 | } |
| 17 | |
| 18 | void MouseState::BufferMotion(float dx, float dy) |
| 19 | { |
no outgoing calls
no test coverage detected