Change SW rotation to HW rotation only

reviewable/pr11809/r1
mergen3107 3 weeks ago committed by GitHub
parent 7042c60a68
commit 1c1b1a6174
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1409,11 +1409,12 @@ function KindleScribe:init()
rotation_mode = self.screen.DEVICE_ROTATED_COUNTER_CLOCKWISE
end
end
if rotation_mode > 0 then
self.screen.native_rotation_mode = rotation_mode
end
self.screen:setRotationMode(rotation_mode)
-- if rotation_mode > 0 then
-- self.screen.native_rotation_mode = rotation_mode
-- end
-- self.screen:setRotationMode(rotation_mode)
lipc_handle:close()
self.screen:setHWRotation(3) -- somehow this is "U", not "D".
end
end
-- put awesome back to sleep

Loading…
Cancel
Save