Skip to content

UScreen 1.2.2 — USB second monitor for Linux with S Pen support

Choose a tag to compare

@majmichu1 majmichu1 released this 14 Sep 22:57
· 26 commits to main since this release

A small release answering what came back from the last one.

The pen's tilt axes were the wrong way round

Android reports the stylus direction as an angle measured clockwise from the
top of the screen, and the app decomposed that into x from the cosine and y
from the sine — which is the wrong way round. libinput wants tilt_x positive
towards the right edge and tilt_y positive towards the user, so the y
component needed its sign as well. A pen leaning to the right arrived in Krita
or GIMP as a pen leaning towards you.

Spotted with a Lenovo Tab Pen Plus in
#11. Pressure, the eraser
end and the stylus button were never affected. If you draw with tilt, this is
worth the update — and please say in that issue whether it now matches your
hand, because the direction is easy to be confident about and hard to prove
without a second pair of eyes.

uscreen doctor can tell two tablets from one

Two adb entries used to be reported as one tablet "reachable 2 ways", which is
true when adb tcpip is in use and quite wrong when two Android devices are
plugged in — two USB serials are two devices. The daemon drives the first one
adb lists and launches the app there, so the other one sits black next to it
while everything looks healthy. doctor now names both, with their model, and
says which one is being used.

Found while working through a black-screen report,
#10, which is still open.

Confirmed since 1.2.1

  • KDE Neon, Plasma 6.7.5, AMD — touch lands on the tablet's own screen
    after the KWin fix, confirmed by the reporter of
    #9.
  • Lenovo Tab K11 with Android 15 — works, 60–70 frames/s.

Both are in docs/compatibility.md now.

Update both halves together. Files: .deb, .rpm, PKGBUILD archive,
portable tarball, uscreen.apk, SHA256SUMS.