Last active
March 3, 2023 19:59
-
-
Save zwim/e5f9a12922f645fdf390faaadfeb5ac7 to your computer and use it in GitHub Desktop.
Don't show keyboard shortcut on KOReader devices which have a keyboard. (see https://gist.github.com/zwim/b0d46fa83d9dbb853324f3e0c17562b5)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 2-no-keyboard-shortcuts.lua | |
-- | |
-- Hides keyboard shortcuts on devices with keyboard. | |
local Device = require("device") | |
Device.hasKeyboard = function () return false end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment