commit | c490e7acdeaf682275cb687684e82ac984ab4a61 | [log] [tgz] |
---|---|---|
author | Siarhei Vishniakou <svv@google.com> | Mon Dec 09 16:58:29 2019 -0800 |
committer | Siarhei Vishniakou <svv@google.com> | Tue Dec 10 13:47:08 2019 -0800 |
tree | 11a5b0a8a9113e852ff79b8c4daee1a60839025a | |
parent | 9a02feacd280ac57ae3d1b4e9df5ba4190b0d0d1 [diff] |
Use switch statement for report types We are adding new report types, and it is easier to use switch statements to ensure that the default case is handled. Also, expand the diagnostic messaging for SET_REPORT type, because it is useful to see the actual data. Bug: none Test: atest NintendoSwitchProTest Change-Id: I330e3b1464ae8e35a57d448e460cdb55ebbf6260