rm-stylus
June 13, 2026 ยท View on GitHub
An xovi extension that exposes stylus button events as a QML type for reMarkable tablets.
Registers RmStylus as a QML component that QMD extensions can import and use to react to raw stylus button press/release events.
Inspired by mb1986/remarkable-stylus
QML API
import net.rmitchellscott.RmStylus 1.0
RmStylus {
// BTN_STYLUS
onButtonPressed: { }
onButtonReleased: { }
// BTN_STYLUS2
onButton2Pressed: { }
onButton2Released: { }
// BTN_TOOL_RUBBER=
onRubberActivated: { }
onRubberDeactivated: { }
}
Properties
| Property | Type | Description |
|---|---|---|
buttonHeld | bool | True while BTN_STYLUS is physically held |
button2Held | bool | True while BTN_STYLUS2 is physically held |
rubberActive | bool | True while the eraser end is in use |
Installation
vellum add rm-stylus
Manually
Download from the latest release and copy to ~/xovi/extensions.d/
Building
Requires eeems/remarkable-toolchain Docker image:
make all
License
Copyright (C) 2026 Mitchell Scott
Licensed under the GNU General Public License v3.0.