Merge pull request #4017 from HiassofT/le10-v4lutils-drop-repeat-config

use new evrepeat tool to configure input repeat settings of non-rc-core devices
This commit is contained in:
MilhouseVH 2019-11-29 21:44:56 +00:00 committed by GitHub
commit 1a42c8208e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 6 deletions

View File

@ -0,0 +1,12 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="evrepeat"
PKG_VERSION="0.0.1"
PKG_SHA256="f1d14a12d700b9650562f8ec8ca593e6033f2e18b3d1fd1f44af29875152547e"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/HiassofT/evrepeat"
PKG_URL="https://github.com/HiassofT/evrepeat/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Tool to view and change linux input device repeat settings"

View File

@ -9,10 +9,6 @@ ATTRS{name}=="eventlircd", GOTO="end"
SUBSYSTEMS=="rc", GOTO="end" SUBSYSTEMS=="rc", GOTO="end"
# set default repeat delay to 500ms like rc remotes # set default repeat delay to 500ms like rc remotes
RUN+="/usr/bin/ir-keytable --delay=500 --device=$devnode" RUN+="/usr/bin/evrepeat -d 500 $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" LABEL="end"

View File

@ -7,6 +7,6 @@ PKG_VERSION="1"
PKG_LICENSE="GPL" PKG_LICENSE="GPL"
PKG_SITE="http://www.openelec.tv" PKG_SITE="http://www.openelec.tv"
PKG_URL="" PKG_URL=""
PKG_DEPENDS_TARGET="toolchain eventlircd libirman v4l-utils" PKG_DEPENDS_TARGET="toolchain eventlircd libirman v4l-utils evrepeat"
PKG_SECTION="virtual" PKG_SECTION="virtual"
PKG_LONGDESC="Meta package for installing various tools needed for remote support" PKG_LONGDESC="Meta package for installing various tools needed for remote support"