From c9083542f68faaa6329f71bfaf90ee44d7b1ae39 Mon Sep 17 00:00:00 2001 From: Dmitrii Morozov Date: Sun, 23 Nov 2025 16:11:19 +0100 Subject: Update README and adjust to new WebOS CLI --- README.md | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 0ba6fa6..eeb88cf 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,13 @@ # magic4linux +A snoopdesigns's fork of [mafredi/magic4linux](https://github.com/mafredri/magic4linux). + Allows you to use the magic remote on your webOS LG TV as a keyboard/mouse for your ~~PC~~ Linux machine. This is a Linux implementation of the [Wouterdek/magic4pc](https://github.com/Wouterdek/magic4pc) client. A virtual keyboard and mouse is created via the `/dev/uinput` interface, as provided by the [bendahl/uinput](https://github.com/bendahl/uinput) library. For non-root usage, please add udev rules as instructed in the [`uinput`](https://github.com/bendahl/uinput#uinput-----) documentation. -## Installation - -```shell -go install github.com/mafredri/magic4linux/cmd/magic4linux -``` - ## Usage There are no options yet. @@ -20,10 +16,21 @@ There are no options yet. magic4linux ``` -## Building for other platforms +## Building ```shell -git clone https://github.com/mafredri/magic4linux -cd magic4linux/cmd/magic4linux -GOOS=linux GOARCH=arm64 go build +GOOS=linux go build ``` + +Built executable placed in $(/usr/bin/go env GOPATH)/bin + +## Some tips from snoopdesigns +WebOS CLI install: +```shell +npm install -g @webos-tools/cli +``` +Some usefull CLI commands: +```shell +ares-setup-device - username 'prisoner' port 9922 +ares-device -i - device info +``` \ No newline at end of file -- cgit v1.2.3