Giter VIP home page Giter VIP logo

remouseable's People

Contributors

kevinconway avatar utopiah avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

remouseable's Issues

public key based ssh still needs a password?

Hi
i'm using my remarkable2 on a fixed IP address with public/private keypair login and without an additional password on the private ssh key. So ssh remarkable just connects to my device without any further ado...

If i am using remousable, then i need to specify an additional password like so:
./remousable --event-file /dev/input/event1 --ssh-ip="192.168.3.30:22" --ssh-user="root" --ssh-password="secret" --orientation="right" --screen-height=1440 --screen-width=2560 --pressure-threshold=300

which is... not really needed (see above, pub/priv keypair is setup properly)

Without the ssh-password parameter, i get the error message
Enter Password: panic: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain

Any idea how to fix this? (am i missing something?)

(and maybe add a 'cosmetic' fix: if the user does not specify a port with the param ssh-ip, just assume portnumber 22 instead of insisting to specify a port?
Error message reads:
panic: dial tcp: address 192.168.3.30: missing port in address)

Improve name of binaries in the release tab

Hello there,
I just discovered your project yesterday, with a friend/colleague of mine.
It worked fine!! For Windows as well as on Ubuntu (GNU/Linux). Congrats and thanks ๐Ÿ‘ for this nice project!

However, we found that the names of the binaries are very confusing, in the "release" tab.
Could you consider improving them? Here aremy suggestions:

  • linux => remouseable_linux.bin
  • osx => remouseable_osx.bin
  • windows.exe => remouseable_windows.exe

Also, the documentation says nothing about the first steps:

  1. go to the release page,
  2. download the binary for your platform,
  3. rename it, make it executable, store it somewhere smart (e.g. on Ubuntu, ~/.local/bin/remouseable_linux.bin),
  4. etc.

Thanks in advance, and kind regards from France. -- @Naereen

Support for Wayland (wlroots/sway) on Linux?

Hi there, I wonder if you know whether it is possible to get remouseable to work with the Sway window manager on Linux, which uses libinput? I note the dependence on Xorg headers in the Linux build instructions...

Pressure sensitivity

Hi! I just tried reMouseable in my computer and I was mind-blown, this works perfectly! Thanks for creating this!

I was wondering if you think it is possible to add pressure sensitivity support, so that it can be used with drawing programs that support it (Photoshop / Photopea, etc), since the reMarkable itself does have it.

Do you think it would work?

No longer providing support or reviewing pull requests

Hey folks, I don't have time anymore to provide support or review pull requests for this project.

The project works for Remarkable 1 and 2 tablets and I'll keep the releases available. I'm no longer taking feature requests or code changes, though. I've updated the README to reflect this here: https://github.com/kevinconway/remouseable#project-status.

If you want to implement changes then please fork the project. If you are maintaining a fork and would like to have a link to it on my version's README then open a PR that changes this section of the README. Note that I will likely be slow to respond.

I'm going to lock all open issues but I will leave them available since they contain ideas and suggestions for changes you might want to make in your fork. I've also added technical documentation that details how the application works, what each code component does, and suggestions for how you can modify the project.

If all you need is to convert your Remarkable 1 or 2 into a mouse then this project should continue to do that for you.

Windows: panic: dial unix: missing address with ssh pass

Hey, i have the same problem, but using a ssh-password on windows:
(Worked once, then i closed the cmd nad then it showed this, also after reboot of the tablet and the pc)

remouseable.exe --ssh-ip="192.168.254.61:22 --ssh-password="therootpassword"
panic: dial unix: missing address

goroutine 1 [running]:
main.main()
        /home/travis/gopath/src/github.com/kevinconway/remouseable/main.go:68 +0x135d

or

remouseable0.4.exe --ssh-ip="192.168.254.61:22 --ssh-password="therootpassword"
panic: dial unix: missing address

goroutine 1 [running]:
main.main()
        C:/Users/kc/code/kevinconway/remouseable/main.go:71 +0x1fc5`

with ver. 0.4

Edit: IP and Pass is right, also sharing the same wlan, but it can't connect. Using usb, it works. So the error message is always coming, when it is not finding the tablet?

Unable to "install" on Windows

Hey Kevin, thanks for your work on this project.
I am currently unable to use it in Windows, probably due to a lack of technical know-how (I'd rather use Linux, but it's on Windows that I have the most use for the tablet features...)
Here's what I get when trying to run the .exe, and then remouseable:

C:\Users\artur\Downloads>windows.exe
panic: dial unix: missing address

goroutine 1 [running]:
main.main()
        /home/travis/gopath/src/github.com/kevinconway/remouseable/main.go:68 +0x135d
C:\Users\artur\Downloads>remouseable
'remouseable' is not recognized as an internal or external command,
operable program or batch file.

panic: ssh: handshake failed: EOF

Hi, I'm getting this error when trying out my remarkable2 both on MacOS Monterrey and Ubuntu 22.04.

$ ./remousable --ssh-password="myPass" --event-file="/dev/input/event1"
panic: ssh: handshake failed: EOF

goroutine 1 [running]:
main.main()
	/mnt/c/Users/kc/code/kevinconway/remouseable/main.go:88 +0x1fb3

ssh is working fine on both OSs. My remarkable OS version is 3.0.4.1305, could it be an incompatibility issue with the new 3.x release?

edit: https://github.com/Evidlo/remarkable_mouse works fine so I guess it's related to golang's ssh package

panic: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain

Using a ReMarkable 2, this is the code I have in my terminal:


panic: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain

goroutine 1 [running]:
main.main()
	/Users/kevinconway/code/kconwayinvision/remouseable/main.go:88 +0x1f85

I was originally getting the error panic: ssh: handshake failed: EOF, but fixed it thanks to this thread. How do I stop it from panicking?

Distinguish "eraser" and "pen" sides of the Marker Plus

The Marker Plus has a pen tip on one end and a pressure-sensitive eraser on the other. Currently, both ends are treated the same by remouseable - they both move the mouse and click the left button, using the same pressure threshold. This presents a couple problems:

  1. The pressure readings from the eraser end are lower than the pen end, so it requires more actual pressure to generate a click from the eraser end.
  2. Drawing with the eraser end should probably do something different anyway. Maybe a right click?

Here are some debug event logs with marks made by the pen and eraser side. I don't see anything in there that would help distinguish the two ends, though.

pen.txt
eraser.txt

SSH key authentication for Windows

This message comes from both the released pre-built binary, and from my own attempt at building the solution. I'm on a windows box, using an rsa key which I have placed in authorized_keys on the device. Connecting to the remarkable using ssh works fine.

main --ssh-ip="10.11.99.1"
panic: dial unix /tmp/ssh-cicSZVtNN2OJ/agent.1270: connect: A socket operation encountered a dead network.

goroutine 1 [running]:
main.main()
        C:/Users/oyste/Downloads/remouseable/main.go:71 +0x1fc5

What can I do to solve this?

Not working.

Despite remouseable reporting "connected and running," there is no cursor movement on the Mac and no indication of tablet mode on the Remarkable. I have ensured the SSH connection is stable and verified input events are being generated on the Remarkable.

System Information:

Mac OS Version: 14.4
Remarkable Version: 3.11.2.5
Remouseable Version: Mar 9, 2021
Network Configuration: Both devices are on the same local network

Additional Information:

SSH authentication: Password-based
Permissions: Verified correct permissions for key files and input event file
Reboot: Rebooted both devices multiple times
Logs: No specific error messages observed in the console
Questions:

Are there any additional configuration steps required to enable cursor movement and tablet mode?
Could there be an issue with the specific version of remouseable or the Remarkable software?
Are there any known compatibility issues with Mac OS version [Your Mac OS version]?

Question: What app should be foreground on the tablet?

This app works great (aside from not being able to choose the monitor to use), however I'm not sure what app/UI screen to bring up on the reMarkable tablet to avoid tapping on things that cause problems. Is there a "blank screen" app somewhere that can be launched on the tablet so it's just empty?

Cheers

Drawing issue on Mac OS

Hi there

I have a funky issue on Mac OS. When I start drawing, the drawing application only intercepts the point where I start the drawing and when I lift the pen again. Everything in between is not drawn. The result is that circles shows as small straight lines.

I have attached a screen recording here
https://youtu.be/J0pd1F-aPnQ

Thanks in advance for any help

[EDIT]
I have tried several drawing applications with same result

Kevin's home directory hardcoded into release file.

Hi,

Looks like the author's home directory is hard coded into the prebuilt release. Here's an error message I'm getting on Windows.

remouseable connected and running.
panic: EOF

goroutine 1 [running]:
main.main()
        C:/Users/kc/code/kevinconway/remouseable/main.go:188 +0x1e93

Support manual selection for multiple displays

Hi,
i'm using a 2 monitor setup, one 2560x1440 and the other 3840x2160.
I can use remousable without problem on the first monitor, so scaling is correct (circles remain circles). But, i cannot do the same on the second screen, giving 6400x2160 in screen-height/width distorts the whole drawing. Just giving 3840x2160 would be fine, but i can only use a fraction of the second screen.
So, scaling seems ok if i restrict myself to screen 1 or 2, but ... we need an offset. In my case this would be
screen1: --screen-height=1440 --screen-width=2560
screen2: --screen-height=2160 --screen-width=2560+3840 ## 2560 being the offset

I think, depending on your monitor setup (left-right or on top of each other) - such an offset on both axis would come handy

Could you try implementing this feature, please?

Not working on Remarkable 2

Have tried running with both default options and --event-file /dev/input/event1 (MacOS). Outputs "remouseable connected and running." (no errors), but input still has no effect on the mouse.

issue connecting on arch

when i try to connect it doesnt seem to work, it outputs this error after around 2 mins sitting silent:

 panic: dial tcp 10.11.99.1:22: connect: connection timed out

 goroutine 1 [running]:
 main.main()

the command i use is, ./remouseable --event-file /dev/input/event1 --ssh-ip="10.11.99.1:22" --ssh-password="(the password)", and i have been using it for a while and it has worked, but just today i switched to arch linux and it decided to stop working. i tried installing all the things for it to build but that didnt seem to help, any ideas? (also yes it is connected, checked through ip link or whatever it is)

Touchpad-like relative mouse position

Great script, thanks for creating this.
Nice improvement would be to add "relative mode", such that it saves the last position before the pen was lifted up from the screen and then calculates only the relative position to this one. Thus the reMarkable screen would not be mapped to the whole monitor, but just to its part. Sort of a Touchpad behavior. This would solve the problem with high sensitive motion on big screens and a problem with more monitors.

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.