Chromium Code Reviews| Index: ui/events/event_constants.h |
| diff --git a/ui/events/event_constants.h b/ui/events/event_constants.h |
| index c7736622783d2335da227a73f470beeaa3012a38..2bac6b940cafbc4c0c0d1100d16d448c5fe24776 100644 |
| --- a/ui/events/event_constants.h |
| +++ b/ui/events/event_constants.h |
| @@ -39,6 +39,12 @@ enum EventType { |
| ET_POINTER_WHEEL_CHANGED, |
| ET_POINTER_CAPTURE_CHANGED, |
| + // GamepadEvent types |
| + ET_GAMEPAD_BTN_PRESSED, |
| + ET_GAMEPAD_BTN_RELEASED, |
| + ET_GAMEPAD_ABS_MOVED, |
| + ET_GAMEPAD_FRAME, |
|
sadrul
2017/04/10 18:14:05
What's GAMEPAD_FRAME event?
jkwang
2017/04/10 18:19:08
It's essentially a successful sync (syn_reported i
dtapuska
2017/04/10 19:13:35
Is this mapped to a vsync signal?
jkwang
2017/04/10 20:07:47
Sorry, I am not aware of vsync signal. Could you p
sadrul
2017/04/12 18:03:58
OK. Can this be handled from the evdev-handler? Fo
jkwang
2017/04/12 20:51:55
Yeah. I took a look at how Touch EV_SYN is handled
sadrul
2017/04/12 21:26:32
The spec says "A client is expected to accumulate
jkwang
2017/04/12 21:41:19
Sorry, there is no draft CL yet. But it will be ve
|
| + |
| // GestureEvent types |
| ET_GESTURE_SCROLL_BEGIN, |
| ET_GESTURE_TYPE_START = ET_GESTURE_SCROLL_BEGIN, |