From c6f6e75021ffbae3d8abfff9040fe79cb051ce3a Mon Sep 17 00:00:00 2001 From: Frans de Jonge Date: Sun, 12 Jul 2026 22:09:04 +0200 Subject: [PATCH] Revert "[Kindle Scribe] Add support for kindle scribe stylus events (#14908)" (#15675) This reverts commit 9f7a0e420d3337e3cc1c3a371177d3d760ce35ba. --- 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 2d44d5eff..81fb73857 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, 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) + -- 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) 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