https://github.com/mafredri/magic4linux
Allows you to use the magic remote on your webOS LG TV as a keyboard/mouse for your Linux machine
https://github.com/mafredri/magic4linux
cursor input kodi lg linux remote-control webos webos-tv
Last synced: 11 months ago
JSON representation
Allows you to use the magic remote on your webOS LG TV as a keyboard/mouse for your Linux machine
- Host: GitHub
- URL: https://github.com/mafredri/magic4linux
- Owner: mafredri
- License: mit
- Created: 2022-02-07T18:49:15.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-06-25T14:07:26.000Z (almost 3 years ago)
- Last Synced: 2025-05-27T01:41:15.862Z (about 1 year ago)
- Topics: cursor, input, kodi, lg, linux, remote-control, webos, webos-tv
- Language: Go
- Homepage:
- Size: 10.7 KB
- Stars: 24
- Watchers: 5
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.
```shell
magic4linux
```
## Building for other platforms
```shell
git clone https://github.com/mafredri/magic4linux
cd magic4linux/cmd/magic4linux
GOOS=linux GOARCH=arm64 go build
```