OSDN Git Service

add WMI hotkey support
authorKyle Evans <kevans@android-x86.org>
Tue, 12 Feb 2013 18:38:26 +0000 (13:38 -0500)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 21 Feb 2013 10:14:24 +0000 (18:14 +0800)
commitdfe0f773b5c65f77a878336f11964be6f16ffd38
treeb58850c46bd34b702f5984094ba5a0a1aef90ac2
parent5b664be3ab52b73e175f52d51c595183498e5fce
add WMI hotkey support

SW_TABLET_MODE & KEY_DIRECTION, these are two events common to tablet
PC's. The first detects when the laptop is entering tablet mode and
rotates the screen to 90 if not already rotated, then back to 0 when
returning to laptop mode. The second is just a single button rotation
that can still be used when the keyboard is covered up.
kbdsensor.cpp