mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-03 16:07:51 +00:00
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:
commit
1a42c8208e
12
packages/sysutils/evrepeat/package.mk
Normal file
12
packages/sysutils/evrepeat/package.mk
Normal 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"
|
||||||
|
|
@ -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"
|
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user