Commit Graph

5 Commits (53b8ba3f5bd122be6eda56c3bf662509cb84d491)

Author SHA1 Message Date
Slávek Banko 2f2ed5c1ae
tdehwlib: Add a read of the current switch state before invoking
a switchChanged() signal for an EV_SW input event.

This resolves the detection of closing the lid on some hardware.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 8bfa123fb6)
5 years ago
Slávek Banko 2c730f70a6 Optimize watching switches on input event devices
This relates to Bugs 1992 and 2052
11 years ago
Timothy Pearson cb9c3ed914 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
12 years ago
Timothy Pearson edb0581f34 Fix human readable display of ACPI buttons 12 years ago
Golubev Alexander e7708ec743 complete tdehardwaredevices split 12 years ago