rm-stylus

June 13, 2026 ยท View on GitHub

rm1 rm2 rmpp rmppm vellum

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

PropertyTypeDescription
buttonHeldboolTrue while BTN_STYLUS is physically held
button2HeldboolTrue while BTN_STYLUS2 is physically held
rubberActiveboolTrue while the eraser end is in use

Installation

Via Vellum package manager

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.