[CrOS Settings] Expose pointing stick presence to device settings pages
This will be used to show or hide a separate set of settings for pointing sticks. For now, the visibility logic is modified to show mouse settings if either a mouse or pointing stick is connected, to preserve existing behaviour. To test, you can use a Python script [0] to create a fake pointing stick with uinput. [0]: https://gist.github.com/HarryCutts/e17783d9475e45abcc4b73b9e7aabb7a Bug: 1114828 Test: check `hasPointingStick` value with and without a pointing stick Change-Id: I917c8ead69a126280752a9a1a4b4bea609c7e33c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2427888 Auto-Submit: Harry Cutts <hcutts@chromium.org> Reviewed-by:Yaron Friedman <yfriedman@chromium.org> Reviewed-by:
Michael Spang <spang@chromium.org> Reviewed-by:
Kyle Horimoto <khorimoto@chromium.org> Commit-Queue: Yaron Friedman <yfriedman@chromium.org> Cr-Commit-Position: refs/heads/master@{#812790}
Showing
Please register or sign in to comment