Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Lamy pen #49

Open
fikovnik opened this issue Feb 10, 2021 · 4 comments
Open

Support for Lamy pen #49

fikovnik opened this issue Feb 10, 2021 · 4 comments

Comments

@fikovnik
Copy link

I'm using the Lamy pen with my rM1 and it works great. It has an extra button that is mapped to eraser tool in rM. I was wondering if it would be possible to use it also for the remarkable_mouse?

From remarkable-hacks#19 I got this info:

In /dev/input/event0 you get:

    type: 1 code: 331 value: 1 on button down
    type: 1 code: 331 value: 0 on button up

Would it be possible to support these events so in xournal++ I can map it to an eraser tool as well.

@Evidlo
Copy link
Owner

Evidlo commented Feb 11, 2021

Have you tried it with the --evdev option?

@fikovnik
Copy link
Author

I tried, but that does not work at all:

sudo remarkable-mouse --key ~/.ssh/remarkable --evdev
[sudo] password for krikava:
connected to 10.11.99.1
Created virtual input device '/dev/input/event18'
Error setting orientation: b'unable to find device reMarkable tablet stylus\n'
Error setting monitor: b"unable to find device 'reMarkable tablet stylus'\n"
Error setting pressure threshold: b'unable to find device reMarkable tablet stylus\n'
Error setting fit: b'unable to find device reMarkable tablet stylus\n'

Without evdev it works.

@Evidlo
Copy link
Owner

Evidlo commented Feb 11, 2021

Is this on Wayland? --evdev only works on X11 right now.

@fikovnik
Copy link
Author

fikovnik commented Feb 11, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants