Files
OpenCellular/common
Nicolas Boichat 65d87bf9f0 whiskers: Expose a switch for tablet mode
With this, whiskers exposes a tablet mode switch to inform the
lid when the base is flipped around.

We take this opportunity to clean up a bit whiskers/keyboard
code:
 - Use tablet mode switch instead of lid switch
 - Refactor usb_hid_keyboard.c to accept either assistant key
   or tablet mode switch, or both.
 - Remove bit-field usage in HID report struct, and instead,
   generalize with an "extra" field that can be used for
   additional key/switches.

BRANCH=none
BUG=b:73133611
TEST=Flash whiskers, see that tablet mode events are sent when
     a magnet approaches the hall sensor.

Change-Id: Ibf43bb04fdc867d18d9f318388d1ebd17b49d47f
Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1077915
Reviewed-by: Wei-Han Chen <stimim@chromium.org>
2018-06-06 05:00:49 -07:00
..
2017-12-28 14:50:29 -08:00
2018-04-10 19:13:11 -07:00
2018-04-03 18:47:12 -07:00
2015-05-19 02:46:27 +00:00
2018-01-10 12:58:55 -08:00
2018-06-04 17:23:27 -07:00
2016-11-15 17:41:53 -08:00
2017-12-28 12:35:08 -08:00
2017-09-11 11:14:24 -07:00
2016-03-02 13:39:47 -08:00
2017-06-02 10:38:57 -07:00
2017-10-31 13:04:59 -07:00
2018-03-20 19:30:06 -07:00
2014-05-17 20:14:17 +00:00
2018-03-01 12:39:05 -08:00
2016-03-21 16:35:33 -07:00
2017-05-09 23:20:07 -07:00
2017-11-06 13:48:38 -08:00
2017-08-10 22:47:24 -07:00
2018-04-11 04:39:07 -07:00
2018-06-04 17:23:27 -07:00
2018-05-09 14:40:02 -07:00
2018-05-21 18:19:29 -07:00
2017-12-18 20:32:58 -08:00
2018-03-20 19:30:17 -07:00
2017-09-22 10:18:50 -07:00