GitHub 火线榜

GitHub 火线榜 · 仓库档案

Simon34545/lginputhook

Allows for remapping remote buttons on LG WebOS TVs. (简介来自仓库自身文档。)

数据截至 10月27日Simon34545

最好成绩

#149

被忽视榜 · 活跃却无人问津

100

累计 Star

7

Fork 总数

2

近 30 天在榜天数

项目状态许可证: BSD-3-Clause最近 push: 10月11日Open Issues(含 PR): 12

自 2026-10-25 起采集;未知 = 尚未采集到

把上榜徽章放进你的 README · Simon34545/lginputhook[![把上榜徽章放进你的 README](https://git.vaiox.xyz/api/badge/Simon34545/lginputhook.svg)](https://git.vaiox.xyz/zh/repo/Simon34545/lginputhook)

Badge · 任何仓库都可以挂 —— 未上榜的仓库显示灰章,上完榜会自动点亮。

<a href="https://git.vaiox.xyz/zh/repo/Simon34545/lginputhook"><img src="https://git.vaiox.xyz/api/badge/Simon34545/lginputhook.svg" alt="把上榜徽章放进你的 README" height="20"></a>

项目文档

lginputhook

Allows for remapping remote buttons on LG WebOS TVs.

The homebrew channel with root access is required for this to work!

How to use

The app needs to be launched at least once for it to begin working. Afterwards it will persist even across reboots.

To remap a button, press Add keybind in the interface.

Set the ID to the ID of the button you want to remap

Next, choose what you want to do with this button. To disable the button, choose Disable. To make the button execute a command, choose Execute, and enter the command. To replace the button with another button, choose Replace, and fill in the ID of the button you want to replace it with.

When you are done, press Save changes. The changes should be automatically applied.

To find the ID of a button, view the log files in the interface, press a button, and see what pops up. You should see something like id => 1. The first number is the ID of the button.

The log files you should view, depend on your WebOS version and what remote you are using. Each log is described in the dropdown menu.

Alternatively, I have collected the button IDs for every button on this IR remote, which you can find listed here. I also created a list of all keycodes from a decompiled function in network-input-service.

How to install

Method 1, using webos dev manager:

  1. Download the ipk file from the releases.
  2. Download webos-dev-manager, and open it
  3. Press add device
  4. Fill in your TVs information, Authentication Method should be password, Username should be root, and password should be alpine. The host address is the IP address of the TV.
  5. In the Apps menu, click the Install button in the upper right corner.
  6. Choose the ipk file you downloaded earlier.
  7. The app should now be installed and should show up in the list. Press Launch to launch it

Method 2, using the webos CLI:

  1. Download the ipk file from the releases.
  2. Install the webos CLI
  3. Run the following command with the CLI, but with the IP address of your tv, and a device name: ares-setup-device --add deviceName -i "host=ip_address" -i "port=22" -i "username=root" -i "password=alpine" For example: ares-setup-device --add livingRoomTV -i "host=192.168.1.129" -i "port=22" -i "username=root" -i "password=alpine"
  4. Run this command, with the path of the ipk file, to install it. ares-install --device deviceName /path/to/file.ipk
  5. The app should now be installed. Run ares-launch --device deviceName org.webosbrew.inputhook to launch it.

How to build

  1. Clone the repository
  2. Run the following commands (assuming NPM is installed):
npm install
npm run build
npm run package
  1. This will produce an ipk file. See the instructions above for installing it.

Credits

smx-smx - Created ezinject / hookfactory, which is used to inject the inputhook into the various processes.

Informatic - Created the original inputhook script.

Sundermann - Created inputhookpp

Rembihnutur#6877 (717868262058360833) - Created the icon

当前上榜

  • 149

    被忽视榜 · 活跃却无人问津

    100 星 · 7 fork · 累计 Star(升序)

    被忽视 →

近 30 天势头

累计 Star 走势

名次走势

同榜竞速 · 名次近邻 · 被忽视

← 回到榜单

GitHub 火线榜往日榜Discover