pass device object to input FFI module

this is needed (for now) on Android, since the FFI module triggers
screen updates.
pull/1217/head
Hans-Werner Hilse 10 years ago
parent 57a27f8f24
commit 39d061fd3a

@ -120,6 +120,8 @@ function Input:init()
screen = self.device.screen,
input = self,
}
-- allow access to device object in FFI API
input.device = self.device
-- set up fake event map
self.event_map[10000] = "IntoSS" -- go into screen saver

Loading…
Cancel
Save