Additional explanation
there is no gamepad/joystic protocol on wayland because of several reasons. (please refer to this ML, https://lists.freedesktop.org/archives/wayland-devel/2016-March/027288.html)
so, we need to read/process the evdev event in the chromium itself.
for example, libsdl2 also reads the evdev for gamepad although libsdl2 get the keyboard/mouse event from wayland.
Is your feature request related to a problem? Please describe. xinput gamepad does not work on web application.
Describe the solution you'd like
Additional explanation there is no gamepad/joystic protocol on wayland because of several reasons. (please refer to this ML, https://lists.freedesktop.org/archives/wayland-devel/2016-March/027288.html) so, we need to read/process the evdev event in the chromium itself. for example, libsdl2 also reads the evdev for gamepad although libsdl2 get the keyboard/mouse event from wayland.