onyxsdk-pen
- Artifact:
com.onyx.android.sdk:onyxsdk-pen:1.4.12- Root package:
com.onyx.android.sdk.pen- Last release:
February 2026
Provides hardware-accelerated stylus input for Boox devices. Routes pen events
directly from the Wacom digitizer driver, bypassing the Android MotionEvent
stack for sub-20 ms latency and native A2 e-ink waveform rendering during
stroke.
Classes
Class |
Responsibility |
Package |
|---|---|---|
Primary entry point. Creates and manages the hardware pen input session for a single view: region setup, lifecycle, stroke appearance, render/input toggles. |
|
|
Abstract callback. Implement to receive per-point move events, completed stroke lists, eraser events, and pen hover. |
|
|
Ordered list of |
|
|
Integer constants for the SDK’s built-in stroke styles (pencil, fountain, marker, brush, charcoal, dash). |
|
|
Configuration object for the native NeoPen renderer: pen type, colour, width, tilt, and pressure curve. |
|
|
Manages pen input across multiple view regions simultaneously.
Routes callbacks to the correct |
|
|
Associates a |
|