chamesle

chamesle.org: the site of Chamesle, a small Linux distribution
git clone https://github.com/tortr-rs/chamesle
Log | Files | Refs | README

commit 6296e5a641c30efd7402a4d3ad6a94dcb3df68b2
parent ad780dc0075c8efcac080d252583c50d7830dec0
Author: torter <koubbamohamedrayan@gmail.com>
Date:   Sun,  8 Nov 2026 20:46:33 +0000

x8664: mice and touchpads through libinput

Diffstat:
Mdocs/index.html | 2+-
Mdocs/x8664.html | 11+++++++++--
2 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/docs/index.html b/docs/index.html @@ -94,7 +94,7 @@ breaks something you pick "before the update" in the boot menu and you're back.< can be as smooth as Wayland. By the evening it built on today's compiler and ran dwm, and by night it drew on a screen through the kernel. By the afternoon it had keyboards, page flips (no more tearing) and the Present extension, so programs can draw in time with the monitor, and then compositing, so window shadows and -see-through windows work. <a href="x8664.html">See it</a>. Nothing to +see-through windows work. In the evening mice and touchpads went over to libinput. <a href="x8664.html">See it</a>. Nothing to download yet.</dd> <dd>No more weekly updates. The package repo now moves forward every six months, so things stop changing under you. Security fixes still go out straight away.</dd> diff --git a/docs/x8664.html b/docs/x8664.html @@ -77,7 +77,14 @@ on.</p> <h2>News</h2> <dl class="news"> -<dt>November 8, 2026, 4 pm <span class="new">NEW</span></dt> +<dt>November 8, 2026, 8 pm <span class="new">NEW</span></dt> +<dd>Mice and touchpads go through libinput now, like keyboards already did through the kernel. Before, the server +read <code>/dev/input/mice</code>, where the kernel makes every pointer look like a PS/2 mouse from the nineties: +a touchpad moved the pointer and that was all. With libinput you get tap to click, two finger scrolling, palm +detection and the rest, set up the way every other desktop sets them up. Scrolling turns into the wheel buttons X +has always used, sideways too. In the virtual machine the mouse moves and the wheel scrolls. A real touchpad is +next, on real hardware, which is where the rest of step 2 happens.</dd> +<dt>November 8, 2026, 4 pm</dt> <dd>Compositing works, which is step 4. Windows can draw into pictures of their own, and a compositor puts them on the screen however it likes: with shadows, see-through, fading in and out. Below is xcompmgr, the small compositor from X.Org, drawing shadows under dwm's windows on X8664, in the virtual machine. @@ -163,7 +170,7 @@ happen until it runs. <b>Done</b> November 8.</td></tr> <tr><td>2</td><td><b>Real screens through the kernel.</b> Kernel mode-setting (KMS) for every graphics card, and libinput for keyboards, mice and touchpads.</td><td>XFree86's drivers program the graphics chip themselves, the 2008 way. Today the kernel does that, for every card, and does it right. <i>Doing this now:</i> screens and keyboards -work in a virtual machine. Touchpads, and mice beyond the basic kind, are next.</td></tr> +work in a virtual machine, and mice and touchpads go through libinput. Real hardware is next.</td></tr> <tr><td>3</td><td><b>Every frame on time.</b> Page flips that wait for the screen's refresh, so nothing ever tears, and the Present extension so programs know when their frame was shown.</td><td>This is most of what "smooth" means. Tearing is the thing people notice first. <b>Done</b> November 8, in a virtual machine.