mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Merge pull request #1323 from Kwiboo/lirc-repeat
input: change input repeat config
This commit is contained in:
commit
91d7ffa374
@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<advancedsettings>
|
||||
<showexitbutton>false</showexitbutton>
|
||||
<remotedelay>0</remotedelay>
|
||||
<cputempcommand>cputemp</cputempcommand>
|
||||
<gputempcommand>gputemp</gputempcommand>
|
||||
<video>
|
||||
|
22
packages/mediacenter/kodi/patches/kodi-999.99-PR11663.patch
Normal file
22
packages/mediacenter/kodi/patches/kodi-999.99-PR11663.patch
Normal file
@ -0,0 +1,22 @@
|
||||
From adecb3af2e3eb5a2715e6f1264fe3047dd209318 Mon Sep 17 00:00:00 2001
|
||||
From: Jonas Karlman <jonas@kwiboo.se>
|
||||
Date: Sun, 12 Feb 2017 16:31:29 +0100
|
||||
Subject: [PATCH] [settings] change allowed remotedelay range to inlcude zero
|
||||
|
||||
---
|
||||
xbmc/settings/AdvancedSettings.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/xbmc/settings/AdvancedSettings.cpp b/xbmc/settings/AdvancedSettings.cpp
|
||||
index cc37998..1c00eda 100644
|
||||
--- a/xbmc/settings/AdvancedSettings.cpp
|
||||
+++ b/xbmc/settings/AdvancedSettings.cpp
|
||||
@@ -1010,7 +1010,7 @@ void CAdvancedSettings::ParseSettingsFile(const std::string &file)
|
||||
}
|
||||
}
|
||||
|
||||
- XMLUtils::GetInt(pRootElement, "remotedelay", m_remoteDelay, 1, 20);
|
||||
+ XMLUtils::GetInt(pRootElement, "remotedelay", m_remoteDelay, 0, 20);
|
||||
XMLUtils::GetFloat(pRootElement, "controllerdeadzone", m_controllerDeadzone, 0.0f, 1.0f);
|
||||
XMLUtils::GetUInt(pRootElement, "fanartres", m_fanartRes, 0, 1080);
|
||||
XMLUtils::GetUInt(pRootElement, "imageres", m_imageRes, 0, 1080);
|
@ -194,9 +194,6 @@ ENV{eventlircd_evmap}="osmc_rf.evmap"
|
||||
|
||||
LABEL="end-usb"
|
||||
|
||||
# Set default delays (1000ms for first repeat, to avoid multiple keypresses).
|
||||
RUN+="/usr/bin/ir-keytable --delay=1000 --device=$devnode"
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Ask eventlircd to handle Bluetooth HID devices that show up as event devices
|
||||
# and are known to be remote controls. For simplicity, the event map file names
|
||||
|
18
packages/sysutils/v4l-utils/udev.d/70-input-repeat.rules
Normal file
18
packages/sysutils/v4l-utils/udev.d/70-input-repeat.rules
Normal file
@ -0,0 +1,18 @@
|
||||
ACTION=="add", SUBSYSTEM=="input", KERNEL=="event[0-9]*", GOTO="start"
|
||||
GOTO="end"
|
||||
LABEL="start"
|
||||
|
||||
# don't change eventlircd device settings
|
||||
ATTRS{name}=="eventlircd", GOTO="end"
|
||||
|
||||
# don't change settings of rc remotes
|
||||
SUBSYSTEMS=="rc", GOTO="end"
|
||||
|
||||
# set default repeat delay to 500ms like rc remotes
|
||||
RUN+="/usr/bin/ir-keytable --delay=500 --device=$devnode"
|
||||
|
||||
# make lircd-uinput use same repeat period like keyboards in kodi
|
||||
ATTRS{name}=="lircd-uinput", \
|
||||
RUN+="/usr/bin/ir-keytable --period=80 --device=$devnode"
|
||||
|
||||
LABEL="end"
|
@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<advancedsettings>
|
||||
<showexitbutton>false</showexitbutton>
|
||||
<remotedelay>0</remotedelay>
|
||||
|
||||
<fanartres>720</fanartres>
|
||||
<imageres>540</imageres>
|
||||
|
@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<advancedsettings>
|
||||
<showexitbutton>false</showexitbutton>
|
||||
<remotedelay>0</remotedelay>
|
||||
|
||||
<fanartres>720</fanartres>
|
||||
<imageres>540</imageres>
|
||||
|
@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<advancedsettings>
|
||||
<showexitbutton>false</showexitbutton>
|
||||
<remotedelay>0</remotedelay>
|
||||
|
||||
<samba>
|
||||
<clienttimeout>30</clienttimeout>
|
||||
|
@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<advancedsettings>
|
||||
<showexitbutton>false</showexitbutton>
|
||||
<remotedelay>0</remotedelay>
|
||||
|
||||
<samba>
|
||||
<clienttimeout>30</clienttimeout>
|
||||
|
@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<advancedsettings>
|
||||
<showexitbutton>false</showexitbutton>
|
||||
<remotedelay>0</remotedelay>
|
||||
|
||||
<samba>
|
||||
<clienttimeout>30</clienttimeout>
|
||||
|
@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<advancedsettings>
|
||||
<showexitbutton>false</showexitbutton>
|
||||
<remotedelay>0</remotedelay>
|
||||
|
||||
<samba>
|
||||
<clienttimeout>30</clienttimeout>
|
||||
|
@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<advancedsettings>
|
||||
<showexitbutton>false</showexitbutton>
|
||||
<remotedelay>0</remotedelay>
|
||||
<samba>
|
||||
<clienttimeout>30</clienttimeout>
|
||||
</samba>
|
||||
|
Loading…
x
Reference in New Issue
Block a user