kevinconway / remouseable Goto Github PK
View Code? Open in Web Editor NEWUse a reMarkable tablet as a mouse.
License: GNU General Public License v3.0
Use a reMarkable tablet as a mouse.
License: GNU General Public License v3.0
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
)
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:
~/.local/bin/remouseable_linux.bin
),Thanks in advance, and kind regards from France. -- @Naereen
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...
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?
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.
where are the pre-built binaries?
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?
When I connect my reMarkable to my two-monitor setup, everything is a bit stretched, probably because remouseable gets confused with the resolutions.
It would be great to, perhaps, have a command-line argument like --monitor NUM
(which is how remarkable_mouse does it), or something like --range left,top,width,height
(in px).
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.
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
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?
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:
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.
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?
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]?
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
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
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
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?
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.
Hi, amazing work making this tool! I just wanted to share some work I did with Applescript to make a wrapper for reMouseable so it works more like an application than a CLI tool. Maybe some other macOS users will find it useful!
https://github.com/isaacwisdom/reMouseableApp
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)
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.