Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Side by Side Diff: ui/events/ozone/gamepad/gamepad_event.cc

Issue 2805793002: ozone: evdev: Add gamepad support (Closed)
Patch Set: Support Gamepad in Ozone. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "ui/events/ozone/gamepad/gamepad_event.h"
6 namespace ui {
scottmg 2017/05/01 18:20:52 Blank link before namespace open.
jkwang 2017/05/01 22:21:57 Done.
7
8 GamepadEvent::GamepadEvent(int device_id,
9 GamepadEventType type,
10 uint16_t code,
11 double value,
12 base::TimeTicks timestamp)
13 : device_id_(device_id),
14 type_(type),
15 code_(code),
16 value_(value),
17 timestamp_(timestamp) {}
18
19 }; // namespace ui
scottmg 2017/05/01 18:20:52 No ; after namespace declaration.
jkwang 2017/05/01 22:21:57 Done.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698