Giter Club home page Giter Club logo

magic4linux's People

Contributors

mafredri avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

netham45

magic4linux's Issues

Scrolling is too fast

Hello and thank you for this great piece of software! Everything works great, except from the scrolling speed of the wheel that is way too fast, which makes it practically unusable.

Synchronization with TV cursor when mouse acceleration != 1

Hi there,

many thanks for your nice app!

I had some discussion on the server project (Wouterdek/magic4pc#25) about the position of the TV cursor (which seemingly cannot be turned off) and the mouse pointer. It turned out that I had mouse acceleration at factor 2 which made the two pointers moving at different speed.

I found this a bit unexpected as your code emulates a touchpad and sets absolute positions. But I assume that this has something to do how the mouse acceleration is implemented in the Desktop / X11 window system.

So this is rather not a bug. Maybe this could be documented in the README.md.

No mouse clicks nor scroll wheel

Have it all moving the mouse, and a magic green button for the space bar (found by mistake)... problem is that I have no clicky clicks?

Use behind a firewall

Is there a known setting how to configure the firewall to make this work -- without turning the firewall off?

Thank you!

Left and right mouse button clicks not possible?

TV info:
Model: LG OLED55C11LB
WebOS version: 6.2.0-35 (kisscurl-kavir)
System version: 3.21.20
Rooted with https://rootmy.tv/

PC info:
Some little older desktop PC with i7-4770 and Archlinux

First of all thanks for great app.
Unfortunately, these are only 3 things which are working for me out of box:

  1. Cursor moving by moving remote as usual
  2. UP/DOWN/LEFT/RIGHT via big circle on remote
  3. PageUP/PageDOWN via Channel +/- on remote

From my point of view, just Left Click/Right Click are missing here. I mean, this cannot be fully comfortable experience as with real keyboard and mouse, but on the other hand you will not programming or 3d modeling on TV 😂, so I suppose for most of the people would be sufficient to have scrolling, left/right click, and some key shortcut/macro to call virtual on-screen keyboard, while using PC as media center.

I was try to remap middle button on remote to be left click, but without success. This middle button on remote is sending ENTER event (Return). I tried with Linux Input Remapper. I can see in Input Remapper that your app is creating 3 virtual devices - keyboard, mouse and touchpad, but it seems it is not possible to assign mouse event (BTN_LEFT) to keyboard button (Return). I mean, it is possible to assign and apply it inside Input Remapper, but it has no effect. Just for note: I can assign some keyboard event to this middle button, e.g. if I assign letter "a", this is working - clicking on remote middle button is typing "a" on PC screen, but assigning BTN_LEFT is not working - keyboard continues to "typing" default option - ENTER.

image

image

If I run sudo evtest ....

image

..... there is no BTN_xxxx events, as supported for magic4linux-keyboard

BTN_xxxx events could be found in magic4linux-mouse, but unfortunately, magic4linux-mouse is not sending any event on any remote button click.

image

Sorry if this post is confused, in short: Is it anyhow possible to enable left and right mouse clicks on remote?

Many thanks.

Doesn't build with go 1.19

(deck@steamdeck go)$ go install github.com/mafredri/magic4linux/cmd/magic4linux@latest
go: github.com/mafredri/magic4linux/cmd/magic4linux@latest (in github.com/mafredri/[email protected]):
        The go.mod file for the module providing named packages contains one or
        more replace directives. It must not contain directives that would cause
        it to be interpreted differently than if it were the main module.

[Question] - Support for android TV

Hi! I am interested to recreate the same for android TV.

  1. What protocol/connections are you using to send messages between the LG service? Websockets?
  2. Do you have any suggestions on where to get started?

Thank you!

[Question] - Orangepi5b arm64 - failed to create virtual keyboard device: could not open device file

Hi, I am trying to run this on organipi5b arm64, followed the steps from readme.

My go version is - go version go1.20.5 linux/arm64

Build from source

git clone https://github.com/mafredri/magic4linux.git
cd magic4linux/cmd/magic4linux 
GOOS=linux GOARCH=arm64 go build

Output:
image

Running the app

╭─orangepi@orangepi5b in ~/Downloads/magic4linux/cmd/magic4linux on main ✔ (origin/main)
╰$ ./magic4linux   
panic: failed to create virtual keyboard device: could not open device file

goroutine 1 [running]:
main.main()
	/home/orangepi/Downloads/magic4linux/cmd/magic4linux/main.go:28 +0xd8

Any idea what I could be missing? Also I wonder if I should pass in the ip address of my TV or anything? Any advice is massively appreciated.!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.