useDPadAsExtraButtons introduced

pull/11749/head
SomeGuy 3 weeks ago committed by GitHub
parent d377a50cff
commit dbcce600b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -44,6 +44,7 @@ local Device = {
hasPageUpDownKeys = no,
canKeyRepeat = no,
hasDPad = no,
useDPadAsExtraButtons = no,
hasExitOptions = yes,
hasFewKeys = no,
hasWifiToggle = yes,
@ -232,6 +233,10 @@ function Device:init()
end
end
if not Device:hasKeyboard() and Device:hasDPad() and Device:hasPageUpDownKeys() then
self.useDpadAsExtraButtons = yes
end
if self:hasGSensor() then
-- Setup our standard gyro event handler (EV_MSC:MSC_GYRO)
if G_reader_settings:nilOrFalse("input_ignore_gsensor") then

Loading…
Cancel
Save