Unbreak Kindle init on devices w/o keys

Thanks to @mergen3107 for cathing that one ;).
reviewable/pr11807/r4
NiLuJe 3 weeks ago
parent 0a6f22828d
commit deff23fc7c

@ -293,6 +293,11 @@ function Kindle:init()
self.canDeepSleep = false
end
-- If the device-specific init hasn't done so already (devices without keys don't), instantiate Input.
if not self.input then
self.input = require("device/input"):new{ device = self }
end
-- Auto-detect & open input devices
self:openInputDevices()

Loading…
Cancel
Save