Comments (8)
Adding the following lines to /lib/udev/hwdb.d/60-evdev.hwdb
:
evdev:input:b0018v056Ap0000*
EVDEV_ABS_00=::20
EVDEV_ABS_01=::20
Followed by:
$ sudo systemd-hwdb update
$ sudo udevadm trigger /dev/input/event5
And finally restarting remouse
fixes the problem.
Two important notes:
- the value after
evdev:input
is the modalias of the tablet. You might want to check how it appears on your system:cat /sys/devices/virtual/input/input58/modalias
- I'm not sure about the actual resolution of the tablet, but 20 units/mm seems not too far off (the resulting behaviour of the tablet was ok)
from remarkable_mouse.
I hate to be a bother, but I'm having this issue as well and it's been a while since this was touched.
from remarkable_mouse.
Maybe something like this is the right approach?
Can someome try adding this in evdev.py
?
device.absinfo[libevdev.EV_ABS.ABS_X] = InputAbsInfo(resolution=2531)
device.absinfo[libevdev.EV_ABS.ABS_Y] = InputAbsInfo(resolution=2531)
Not sure if these resolutions are correct. In the example it seems like the resolution is in dpi, which I manually computed. Does the error go away at least?
from remarkable_mouse.
Where would I put it?
from remarkable_mouse.
from remarkable_mouse.
I stuck it over here:
...
# Enable position, tilt, distance and pressure change events
device.enable(
libevdev.EV_ABS.ABS_X,
libevdev.InputAbsInfo(
minimum=0,
maximum=MAX_ABS_X,
resolution=2531 # <----
)
)
device.enable(
libevdev.EV_ABS.ABS_Y,
libevdev.InputAbsInfo(
minimum=0,
maximum=MAX_ABS_Y,
resolution=2531 # <----
)
)
...
from remarkable_mouse.
Further testing revealed a slight lack of alignment, but that was fixed with --mode fill
. So it seems to have worked (yay)!
from remarkable_mouse.
@Evidlo mmm... it seems like the alignment issues persist, so either the resolution is wrong, or there is something wrong with remap()
from remarkable_mouse.
Related Issues (20)
- Assign Lamy button to some other key
- Warranty concerns HOT 1
- Specifying --password seems to have no effect HOT 3
- problem connecting to rm2 HOT 11
- Tablet active area HOT 7
- Only RSA keys work
- Default should be ssh config HOT 1
- Crash after connection HOT 3
- remouse does not start on Macos HOT 2
- Broken on Windows since version 7 HOT 1
- --orientation doesn't work with --evdev enabled HOT 4
- Another connection issue HOT 10
- remouse: argument of type 'NoneType' is not iterable HOT 1
- Windows 10 and beta 3.0: only straight lines HOT 5
- Paramiko exception, unless I specify --key
- No return for MacOS HOT 1
- What do you do to prevent doing random things on tablet? HOT 1
- Support for older hardware
- remouse won't connect on linux mint HOT 1
- OSError: [Errno 101] Network is unreachable
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from remarkable_mouse.