From 9f7a0e420d3337e3cc1c3a371177d3d760ce35ba Mon Sep 17 00:00:00 2001 From: k4rnaj1k <71838534+k4rnaj1k@users.noreply.github.com> Date: Sun, 8 Mar 2026 12:37:23 +0100 Subject: [PATCH] [Kindle Scribe] Add support for kindle scribe stylus events (#14908) --- frontend/device/kindle/device.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/device/kindle/device.lua b/frontend/device/kindle/device.lua index cb6caa2db..e3ea106d4 100644 --- a/frontend/device/kindle/device.lua +++ b/frontend/device/kindle/device.lua @@ -541,8 +541,8 @@ function Kindle:openInputDevices() FBInkInput = { fbink_input_scan = function() end } end local dev_count = ffi.new("size_t[1]") - -- We care about: the touchscreen, a properly scaled stylus, pagination buttons, a home button, a fiveway; and the fancy "tap on frame" stuff. - local match_mask = bit.bor(C.INPUT_TOUCHSCREEN, C.INPUT_SCALED_TABLET, C.INPUT_PAGINATION_BUTTONS, C.INPUT_HOME_BUTTON, C.INPUT_DPAD, C.INPUT_KINDLE_FRAME_TAP) + -- We care about: the touchscreen, the raw WacomDigitizer tablet, a properly scaled stylus, pagination buttons, a home button, a fiveway; and the fancy "tap on frame" stuff. + local match_mask = bit.bor(C.INPUT_TOUCHSCREEN, C.INPUT_TABLET, C.INPUT_SCALED_TABLET, C.INPUT_PAGINATION_BUTTONS, C.INPUT_HOME_BUTTON, C.INPUT_DPAD, C.INPUT_KINDLE_FRAME_TAP) local devices = FBInkInput.fbink_input_scan(match_mask, 0, 0, dev_count) if devices ~= nil then for i = 0, tonumber(dev_count[0]) - 1 do