diff --git a/base b/base index 0d8f7076c..c3448b704 160000 --- a/base +++ b/base @@ -1 +1 @@ -Subproject commit 0d8f7076c9904d2894c03b0a1db7c3f5a92e3267 +Subproject commit c3448b704dd858f8ea62f795182da52f5b9b6c63 diff --git a/frontend/device/pocketbook/device.lua b/frontend/device/pocketbook/device.lua index 873e95e27..49d13421a 100644 --- a/frontend/device/pocketbook/device.lua +++ b/frontend/device/pocketbook/device.lua @@ -228,6 +228,11 @@ function PocketBook:init() self.input:disableRotationMap() end + -- If InkView tells us this device has a gsensor enable the event based functionality + if inkview.QueryGSensor() ~= 0 then + self.hasGSensor = yes + end + -- In contrast to kobo/kindle, pocketbook-devices do not use linux/input events directly. -- To be able to use input.lua nevertheless, -- we make inkview-events look like linux/input events or handle them directly here.