Skip to content

v0.1.25

Choose a tag to compare

@github-actions github-actions released this 25 Oct 22:55
· 68 commits to main since this release

Four changes: the 1K dongle's DPI range was the wrong mouse's, a stage the driver cannot show is no longer written back at its own ceiling, the Nordic family's firmware string was formatted wrong, and a banner stopped blaming a mouse that was awake. Found and measured by @f-o-o-g-s on a Pulsar X3 and @bluesceada on a Pulsar Xlite V3.

The 1K dongle's DPI range

It was 26000 in steps of 100, inherited from x2a.py — the X2A Wired's PAW3395 ceiling, on a dongle that does not carry that mouse. Every mouse Pulsar sells the Dongle Kit for (Xlite v4, X2 v3, X2H v3, X2A v3, X3) has the XS-1 at 32,000 DPI in 10-unit steps, and an X3 keeps 26010, 31990 and 32000 exactly through that dongle. It is now 32000 in steps of 10.

That ceiling was not only a display limit. The window's stage rows stop at dpi_max, so a stage set above it on the cable read back as 26000 and the next Apply through the dongle wrote 26000 over it, with "Settings applied" — the real GUI against an X3 with stages at 12345, 26010 and 32000 lost the last two. 12345 survived, which is how it was clear the step was never the problem: the mouse is sent the absolute value, so dpi_step only sets how far those rows move per click.

A DPI stage the app cannot show is no longer written back

The general half of the same fault, for every driver. A stage the mouse holds above the driver's ceiling cannot be displayed, so the row showed the cap and Apply wrote that. Now it counts as a field that did not come back, which stops the page from being applied at all — the rule v0.1.23 gave the lift-off distance.

Above the cap only: a value below dpi_min is clamped the same way, but a driver that reads its stages out of a memory map can report an unconfigured stage as 0, and that is not a reason to call a page unread.

The firmware version on the Nordic family

The X2A Wireless, Xlite V3 and X2 V2 Mini answer with two packed-decimal bytes, and the second was being read as a number — so an Xlite V3 on 02 18 was shown as 2.24 where Fusion says "Mouse V0218" and Pulsar's own updater says V2.18. The X2 CrazyLight's 03 05 reads as 3.05 either way, which is why it went unnoticed.

A banner that blamed a mouse that was awake

A field dropped because the driver cannot name the value is not a field the mouse failed to answer, but both put up "Nothing could be read from the mouse — it may be asleep; wake it and this will fill itself". It will not fill itself: the mouse answered, and the answer is one the page cannot show. Those now say so instead — "The mouse is set to a lift-off distance this app cannot show, so nothing can be applied" — which is still reachable today for an X3 set to 0.7 mm on its cable and read through a dongle that can only name 1 and 2.


Also in this release, from @bluesceada's read-only dump of an Xlite V3 over both its cable and its dongle (#30): the driver's X2A-measured DPI encoding, polling rates and lift-off values all decode correctly on that mouse, its right-hand thumb slots hold DPI-type actions rather than bindings, and what the protocol's unexplained commands answer — none of which identifies the model — is now written down in nordic.py so the dead ends are not walked again.

Full attribution is in the README.