Comments (3)
Mystery solved. In addition to minimum and maximum we also should specify resolution:
device.enable(
libevdev.EV_ABS.ABS_TILT_X,
libevdev.InputAbsInfo(
minimum=-6400,
maximum=6400,
resolution=6400,
)
)
device.enable(
libevdev.EV_ABS.ABS_TILT_Y,
libevdev.InputAbsInfo(
minimum=-6400,
maximum=6400,
resolution=6400,
)
)
After that no dirty hack with rescaling are needed.
from remarkable_mouse.
On remarkable 2 the seem to be [-6400, 6400] where 64k correspond to a 90 degree angle.
There's a separate issue for rM2 support, but it's good to know the ranges are different.
But it looks like graphic editor ignores these ranges altogether and requires values in degrees: [-90, 90] range.
I'm surprised Krita doesn't automatically scale the tilt range or that evdev doesn't handle this automatically, as one of the steps in evdev.py is registering the min/max values. We would definitely need to dig deeper to verify that this is the case before adding an option for scaling.
from remarkable_mouse.
This should be fixed in 7.1.0
from remarkable_mouse.
Related Issues (20)
- doesn't run ... syntaxe error HOT 1
- 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
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.