diff options
Diffstat (limited to 'chromium/components/exo/gaming_seat.cc')
-rw-r--r-- | chromium/components/exo/gaming_seat.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chromium/components/exo/gaming_seat.cc b/chromium/components/exo/gaming_seat.cc index 8a8a3dbdf86..c578348c3d1 100644 --- a/chromium/components/exo/gaming_seat.cc +++ b/chromium/components/exo/gaming_seat.cc @@ -97,11 +97,10 @@ void GamingSeat::OnGamepadEvent(const ui::GamepadEvent& event) { switch (event.type()) { case ui::GamepadEventType::BUTTON: - it->second->OnButton(event.code(), event.raw_code(), event.value(), - event.value()); + it->second->OnButton(event.code(), event.value()); break; case ui::GamepadEventType::AXIS: - it->second->OnAxis(event.code(), event.raw_code(), event.value()); + it->second->OnAxis(event.code(), event.value()); break; case ui::GamepadEventType::FRAME: it->second->OnFrame(); |