I was trying to initiate the connection to the device using this line in main.lua, thinking that's how you access the singleton but it doesn't work like that:
Change this to the correct instruction in the main.lua.
require("device/kobo/device").input.open("/dev/input/event3")
I was trying to initiate the connection to the device using this line in main.lua, thinking that's how you access the singleton but it doesn't work like that:
Change this to the correct instruction in the main.lua. require("device/kobo/device").input.open("/dev/input/event3")