Fix KT3 input device

It's a zforce2 IR grid...

Fix #2195
pull/2196/head
NiLuJe 8 years ago
parent 37d39759e4
commit 2f7e32fa20

@ -119,11 +119,10 @@ local KindleOasis = Kindle:new{
touch_dev = "/dev/input/by-path/platform-imx-i2c.1-event", touch_dev = "/dev/input/by-path/platform-imx-i2c.1-event",
} }
-- FIXME: To be confirmed!
local KindleBasic2 = Kindle:new{ local KindleBasic2 = Kindle:new{
model = "KindleBasic2", model = "KindleBasic2",
isTouchDevice = yes, isTouchDevice = yes,
touch_dev = "/dev/input/event1", touch_dev = "/dev/input/event0",
} }
function Kindle2:init() function Kindle2:init()
@ -347,7 +346,6 @@ function KindleOasis:init()
self.input.open("fake_events") self.input.open("fake_events")
end end
-- TODO: Confirm that this is accurate!
function KindleBasic2:init() function KindleBasic2:init()
self.screen = require("ffi/framebuffer_mxcfb"):new{device = self, debug = DEBUG} self.screen = require("ffi/framebuffer_mxcfb"):new{device = self, debug = DEBUG}
self.powerd = require("device/kindle/powerd"):new{ self.powerd = require("device/kindle/powerd"):new{

Loading…
Cancel
Save