Record metrics for connected gamepads

Update the Gamepad.ConnectedDevice histogram when a device is
connected with a vendor and product ID pair matching a known
USB or Bluetooth gaming peripheral.

If the connected device is not recognized as a known gamepad, the
ID is not recorded. If the data fetcher that enumerated the
device has an independent means of verifying whether a device is
a gamepad, record an enum representing the data fetcher to the
Gamepad.UnknownGamepad histogram.


Change-Id: I7e7797ee1e99b2076aa331ee9e589d157016993b
Commit-Queue: Matt Reynolds <>
Reviewed-by: Reilly Grant <>
Reviewed-by: Robert Kaplow <>
Cr-Commit-Position: refs/heads/master@{#616905}
11 files changed