Searched defs:InputEventBufferImpl (Results 1 – 1 of 1) sorted by relevance
50 struct InputEventBufferImpl : public InputEventBuffer { struct51 InputEventBufferImpl() { in InputEventBufferImpl() function54 void AddEvent(uint16_t type, uint16_t code, int32_t value) override { in AddEvent()57 T *data() { return buffer_.data(); } in data()58 const void *data() const override { return buffer_.data(); } in data()59 std::size_t size() const override { return buffer_.size() * sizeof(T); } in size()62 std::vector<T> buffer_;