mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-03 16:07:51 +00:00
eventlircd: add acpi powerbutton handling
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
c634a539d8
commit
bf06a26a69
@ -0,0 +1,2 @@
|
|||||||
|
# Power Button (ACPI)
|
||||||
|
KEY_POWER = KEY_POWER
|
@ -57,6 +57,13 @@ SUBSYSTEMS=="rc", \
|
|||||||
ENV{eventlircd_enable}="true", \
|
ENV{eventlircd_enable}="true", \
|
||||||
ENV{eventlircd_evmap}="ircore.evmap"
|
ENV{eventlircd_evmap}="ircore.evmap"
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
|
# Ask eventlircd to handle power button.
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
|
SUBSYSTEMS=="acpi", ATTRS{hid}=="LNXPWRBN", \
|
||||||
|
ENV{eventlircd_enable}="true", \
|
||||||
|
ENV{eventlircd_evmap}="power.evmap"
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
# Ask eventlircd to handle USB HID devices that show up as event devices and are
|
# Ask eventlircd to handle USB HID devices that show up as event devices and are
|
||||||
# known to be remote controls. For simplicity, the event map file names have the
|
# known to be remote controls. For simplicity, the event map file names have the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user