Separate text events from keyboard events in LuaContext