From cb9c3ed914b0b1578a3fcaea3e35add08cc0bdfb Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 25 Aug 2013 15:59:43 -0500 Subject: Fix ACPI button event detection on machines with an independent ACPI event controller module such as Thinkpads Only detect the ACPI key press event, not the key release event --- tdecore/tdehw/tdeinputdevice.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tdecore/tdehw/tdeinputdevice.h') diff --git a/tdecore/tdehw/tdeinputdevice.h b/tdecore/tdehw/tdeinputdevice.h index 410ff3e1e..39ccc4404 100644 --- a/tdecore/tdehw/tdeinputdevice.h +++ b/tdecore/tdehw/tdeinputdevice.h @@ -27,7 +27,9 @@ enum TDEInputDeviceType { Unknown, ACPILidSwitch, ACPISleepButton, + ACPISuspendButton, ACPIPowerButton, + ACPIOtherInput, Other = 0x80000000 }; }; -- cgit v1.2.1