[gamepad] Use threshold for pressed buttons on Android.
This matches the threshold applied on other platforms in ValueToButton. Also set the touched state for all non-zero values, and fix a typo in the comments. BUG=1073130 Change-Id: Ied8db827b098c95b6a697f1df8a940de1a501166 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2245484Reviewed-by:Matt Reynolds <mattreynolds@chromium.org> Commit-Queue: Andrew Walbran <qwandor@google.com> Cr-Commit-Position: refs/heads/master@{#781281}
Showing
Please register or sign in to comment