[feat] Add Device:hasFewKeys() (#6193)

This will allow to behave subtly different in certain instances.
Cf. <https://github.com/koreader/koreader/issues/4029>.
reviewable/pr6195/r1
Frans de Jonge 4 years ago committed by GitHub
parent 528e993eb3
commit 0fb9113078
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -29,6 +29,7 @@ local Device = {
hasKeyboard = no,
hasKeys = no,
hasDPad = no,
hasFewKeys = no,
hasWifiToggle = yes,
hasWifiManager = no,
isHapticFeedbackEnabled = no,

@ -217,6 +217,7 @@ local PocketBook515 = PocketBook:new{
isTouchDevice = no,
hasWifiToggle = no,
hasDPad = yes,
hasFewKeys = yes,
}
-- PocketBoot 613 Basic
@ -226,6 +227,7 @@ local PocketBook613 = PocketBook:new{
isTouchDevice = no,
hasWifiToggle = no,
hasDPad = yes,
hasFewKeys = yes,
}
-- PocketBook Basic Lux 2
@ -235,6 +237,7 @@ local PocketBook616 = PocketBook:new{
isTouchDevice = no,
hasWifiToggle = no,
hasDPad = yes,
hasFewKeys = yes,
}
-- PocketBook Lux 4

Loading…
Cancel
Save