Make the smart cover thing work.  This was originally by Roman Birg <roman@cyngn.com>
by way of Slayher for another device.