{"action":"created","issue":{"url":"https://api.github.com/repos/koreader/koreader/issues/1387","labels_url":"https://api.github.com/repos/koreader/koreader/issues/1387/labels{/name}","comments_url":"https://api.github.com/repos/koreader/koreader/issues/1387/comments","events_url":"https://api.github.com/repos/koreader/koreader/issues/1387/events","html_url":"https://github.com/koreader/koreader/pull/1387","id":53871410,"number":1387,"title":"rump implementation for PocketBook devices, to be extended.","user":{"login":"hwhw","id":964349,"avatar_url":"https://avatars.githubusercontent.com/u/964349?v=3","gravatar_id":"","url":"https://api.github.com/users/hwhw","html_url":"https://github.com/hwhw","followers_url":"https://api.github.com/users/hwhw/followers","following_url":"https://api.github.com/users/hwhw/following{/other_user}","gists_url":"https://api.github.com/users/hwhw/gists{/gist_id}","starred_url":"https://api.github.com/users/hwhw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hwhw/subscriptions","organizations_url":"https://api.github.com/users/hwhw/orgs","repos_url":"https://api.github.com/users/hwhw/repos","events_url":"https://api.github.com/users/hwhw/events{/privacy}","received_events_url":"https://api.github.com/users/hwhw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-01-09T14:13:44Z","updated_at":"2015-01-12T03:35:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/koreader/koreader/pulls/1387","html_url":"https://github.com/koreader/koreader/pull/1387","diff_url":"https://github.com/koreader/koreader/pull/1387.diff","patch_url":"https://github.com/koreader/koreader/pull/1387.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/koreader/koreader/issues/comments/69527094","html_url":"https://github.com/koreader/koreader/pull/1387#issuecomment-69527094","issue_url":"https://api.github.com/repos/koreader/koreader/issues/1387","id":69527094,"user":{"login":"chrox","id":751535,"avatar_url":"https://avatars.githubusercontent.com/u/751535?v=3","gravatar_id":"","url":"https://api.github.com/users/chrox","html_url":"https://github.com/chrox","followers_url":"https://api.github.com/users/chrox/followers","following_url":"https://api.github.com/users/chrox/following{/other_user}","gists_url":"https://api.github.com/users/chrox/gists{/gist_id}","starred_url":"https://api.github.com/users/chrox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrox/subscriptions","organizations_url":"https://api.github.com/users/chrox/orgs","repos_url":"https://api.github.com/users/chrox/repos","events_url":"https://api.github.com/users/chrox/events{/privacy}","received_events_url":"https://api.github.com/users/chrox/received_events","type":"User","site_admin":false},"created_at":"2015-01-12T03:35:19Z","updated_at":"2015-01-12T03:35:19Z","body":"The above guess is true. After I press the physical page button at the right side of the reader:\r\n \r\n```\r\nread(5, \"\\335\\2\\0\\0\\312z\\3\\0\\1\\0\\236\\0\\1\\0\\0\\0\", 16) = 16\r\nwrite(3, \"1|158|1|733|228042\\n\", 19# got event: {\r\n\t[\"MTSlots\"] = {},\r\n\t[\"device\"] = {\r\n\t\t[\"display_dpi\"] = 212,\r\n\t\t[\"touch_dev\"] = \"/dev/input/event0\",\r\n\t\t[\"model\"] = \"KindlePaperWhite\",\r\n\t\t[\"screen\"] = {\r\n\t\t\t[\"dpi\"] = 212,\r\n\t\t\t[\"refresh_list\"] = {},\r\n\t\t\t[\"parent\"] = {\r\n\t\t\t\t[\"_wait_for_next\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"_wait_for_conflicting\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"parent\"] = {\r\n\t\t\t\t\t[\"close\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t[\"device_node\"] = \"/dev/fb0\",\r\n\t\t\t\t\t[\"fd\"] = -1,\r\n\t\t\t\t\t[\"init\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t[\"parent\"] = {\r\n\t\t\t\t\t\t[\"new\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getScreenWidth\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshUI\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"setDPI\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"scaleBySize\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshFull\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getScreenMode\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"setScreenMode\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshPartialImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"ORIENTATION_PORTRAIT_ROTATED\"] = 2,\r\n\t\t\t\t\t\t[\"refreshUIImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"setRotationMode\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getHeight\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"ORIENTATION_LANDSCAPE_ROTATED\"] = 3,\r\n\t\t\t\t\t\t[\"getScreenHeight\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"ORIENTATION_PORTRAIT\"] = 0,\r\n\t\t\t\t\t\t[\"shot\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"calculateRealCoordinates\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshFullImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshFastImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"__index\"] = nil --[[ LOOP:\r\n\t\t\t\t\t^------- ]],\r\n\t\t\t\t\t\t[\"restoreFromSavedBB\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"saveCurrentBB\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getRotationMode\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"toggleNightMode\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getDPI\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"init\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"ORIENTATION_LANDSCAPE\"] = 1,\r\n\t\t\t\t\t\t[\"refreshPartial\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"close\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getWidth\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshFast\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getSize\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"debug\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"setViewport\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"extend\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"scaleByDPI\"] = nil --[[ FUNCTION ]]\r\n\t\t\t\t\t},\r\n\t\t\t\t\t[\"__index\"] = nil --[[ LOOP:\r\n\t\t\t\t^------- ]]\r\n\t\t\t\t},\r\n\t\t\t\t[\"refreshFullImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"_find_free_marker\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"refreshFastImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"init\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"_get_marker\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"_wait_marker\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"max_marker\"] = 10,\r\n\t\t\t\t[\"__index\"] = nil --[[ LOOP:\r\n\t\t\t^------- ]],\r\n\t\t\t\t[\"wait_for_marker_fast\"] = false,\r\n\t\t\t\t[\"wait_for_marker_ui\"] = false,\r\n\t\t\t\t[\"refreshUIImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"refreshPartialImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"wait_for_marker_full\"] = true,\r\n\t\t\t\t[\"wait_for_marker_partial\"] = false\r\n\t\t\t},\r\n\t\t\t[\"update_mode_partial\"] = 0,\r\n\t\t\t[\"mech_wait_update_complete\"] = nil --[[ FUNCTION ]],\r\n\t\t\t[\"wait_for_marker_ui\"] = false,\r\n\t\t\t[\"wait_for_marker_fast\"] = false,\r\n\t\t\t[\"cur_rotation_mode\"] = 0,\r\n\t\t\t[\"waveform_ui\"] = 3,\r\n\t\t\t[\"native_rotation_mode\"] = 0,\r\n\t\t\t[\"screen_size\"] = {\r\n\t\t\t\t[\"h\"] = 1600,\r\n\t\t\t\t[\"w\"] = 1200\r\n\t\t\t},\r\n\t\t\t[\"debug\"] = {\r\n\t\t\t\t[\"traceback\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"turnOn\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"is_on\"] = true,\r\n\t\t\t\t[\"logEv\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"ev_log\"] = \r\n\t\t\t},\r\n\t\t\t[\"wait_for_marker_full\"] = true,\r\n\t\t\t[\"update_mode_fast\"] = 0,\r\n\t\t\t[\"bb\"] = ,\r\n\t\t\t[\"mech_refresh\"] = nil --[[ FUNCTION ]],\r\n\t\t\t[\"waveform_partial\"] = 6,\r\n\t\t\t[\"device\"] = nil --[[ LOOP:\r\n\t^------- ]],\r\n\t\t\t[\"blitbuffer_rotation_mode\"] = 0,\r\n\t\t\t[\"waveform_fast\"] = 4,\r\n\t\t\t[\"update_mode_ui\"] = 0,\r\n\t\t\t[\"update_mode_full\"] = 1,\r\n\t\t\t[\"data\"] = ,\r\n\t\t\t[\"waveform_full\"] = 2,\r\n\t\t\t[\"fd\"] = 4,\r\n\t\t\t[\"mech_wait_update_submission\"] = nil --[[ FUNCTION ]],\r\n\t\t\t[\"fb_size\"] = 1920000,\r\n\t\t\t[\"wait_for_marker_partial\"] = false\r\n\t\t},\r\n\t\t[\"isKindle\"] = nil --[[ FUNCTION ]],\r\n\t\t[\"powerd\"] = {\r\n\t\t\t[\"device\"] = nil --[[ LOOP:\r\n\t^------- ]]\r\n\t\t},\r\n\t\t[\"init\"] = nil --[[ FUNCTION ]],\r\n\t\t[\"input\"] = nil --[[ LOOP:\r\n^------- ]],\r\n\t\t[\"isTouchDevice\"] = nil --[[ FUNCTION ]]\r\n\t},\r\n\t[\"gesture_detector\"] = {\r\n\t)    = 19\r\nmmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40be7000\r\nwrite(1, \"# got event: {\\n\\t[\\\"MTSlots\\\"] = {}\"..., 4096) = 4096\r\nwrite(1, \"\\t[\\\"input\\\"] = nil --[[ LOOP:\\n^---\"..., 4096\t[\"input\"] = nil --[[ LOOP:\r\n^------- ]],\r\n\t\t[\"DOUBLE_TAP_DISTANCE\"] = 63.473053892216,\r\n\t\t[\"PAN_THRESHOLD\"] = 63.473053892216,\r\n\t\t[\"screen\"] = {\r\n\t\t\t[\"dpi\"] = 212,\r\n\t\t\t[\"refresh_list\"] = {},\r\n\t\t\t[\"parent\"] = {\r\n\t\t\t\t[\"_wait_for_next\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"_wait_for_conflicting\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"parent\"] = {\r\n\t\t\t\t\t[\"close\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t[\"device_node\"] = \"/dev/fb0\",\r\n\t\t\t\t\t[\"fd\"] = -1,\r\n\t\t\t\t\t[\"init\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t[\"parent\"] = {\r\n\t\t\t\t\t\t[\"new\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getScreenWidth\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshUI\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"setDPI\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"scaleBySize\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshFull\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getScreenMode\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"setScreenMode\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshPartialImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"ORIENTATION_PORTRAIT_ROTATED\"] = 2,\r\n\t\t\t\t\t\t[\"refreshUIImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"setRotationMode\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getHeight\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"ORIENTATION_LANDSCAPE_ROTATED\"] = 3,\r\n\t\t\t\t\t\t[\"getScreenHeight\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"ORIENTATION_PORTRAIT\"] = 0,\r\n\t\t\t\t\t\t[\"shot\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"calculateRealCoordinates\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshFullImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshFastImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"__index\"] = nil --[[ LOOP:\r\n\t\t\t\t\t^------- ]],\r\n\t\t\t\t\t\t[\"restoreFromSavedBB\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"saveCurrentBB\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getRotationMode\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"toggleNightMode\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getDPI\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"init\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"ORIENTATION_LANDSCAPE\"] = 1,\r\n\t\t\t\t\t\t[\"refreshPartial\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"close\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getWidth\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshFast\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getSize\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"debug\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"setViewport\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"extend\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"scaleByDPI\"] = nil --[[ FUNCTION ]]\r\n\t\t\t\t\t},\r\n\t\t\t\t\t[\"__index\"] = nil --[[ LOOP:\r\n\t\t\t\t^------- ]]\r\n\t\t\t\t},\r\n\t\t\t\t[\"refreshFullImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"_find_free_marker\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"refreshFastImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"init\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"_get_marker\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"_wait_marker\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"max_marker\"] = 10,\r\n\t\t\t\t[\"__index\"] = nil --[[ LOOP:\r\n\t\t\t^------- ]],\r\n\t\t\t\t[\"wait_for_marker_fast\"] = false,\r\n\t\t\t\t[\"wait_for_marker_ui\"] = false,\r\n\t\t\t\t[\"refreshUIImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"refreshPartialImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"wait_for_marker_full\"] = true,\r\n\t\t\t\t[\"wait_for_marker_partial\"] = false\r\n\t\t\t},\r\n\t\t\t[\"update_mode_partial\"] = 0,\r\n\t\t\t[\"mech_wait_update_complete\"] = nil --[[ FUNCTION ]],\r\n\t\t\t[\"wait_for_marker_ui\"] = false,\r\n\t\t\t[\"wait_for_marker_fast\"] = false,\r\n\t\t\t[\"cur_rotation_mode\"] = 0,\r\n\t\t\t[\"waveform_ui\"] = 3,\r\n\t\t\t[\"native_rotation_mode\"] = 0,\r\n\t\t\t[\"screen_size\"] = {\r\n\t\t\t\t[\"h\"] = 1600,\r\n\t\t\t\t[\"w\"] = 1200\r\n\t\t\t},\r\n\t\t\t[\"debug\"] = {\r\n\t\t\t\t[\"traceback\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"turnOn\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"is_on\"] = true,\r\n\t\t\t\t[\"logEv\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"ev_log\"] = \r\n\t\t\t},\r\n\t\t\t[\"wait_for_marker_full\"] = true,\r\n\t\t\t[\"update_mode_fast\"] = 0,\r\n\t\t\t[\"bb\"] = ,\r\n\t\t\t[\"mech_refresh\"] = nil --[[ FUNCTION ]],\r\n\t\t\t[\"waveform_partial\"] = 6,\r\n\t\t\t[\"device\"] = {\r\n\t\t\t\t[\"display_dpi\"] = 212,\r\n\t\t\t\t[\"touch_dev\"] = \"/dev/input/event0\",\r\n\t\t\t\t[\"model\"] = \"KindlePaperWhite\",\r\n\t\t\t\t[\"screen\"] = nil --[[ LOOP:\r\n\t\t^------- ]],\r\n\t\t\t\t[\"isKindle\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"powerd\"] = {\r\n\t\t\t\t\t[\"device\"] = nil --[[ LOOP:\r\n\t\t\t^------- ]]\r\n\t\t\t\t},\r\n\t\t\t\t[\"init\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"input\"] = nil --[[ LOOP:\r\n^------- ]],\r\n\t\t\t\t[\"isTouchDevice\"] = nil --[[ FUNCTION ]]\r\n\t\t\t},\r\n\t\t\t[\"blitbuffer_rotation_mode\"] = 0,\r\n\t\t\t[\"waveform_fast\"] = 4,\r\n\t\t\t[\"update_mode_ui\"] = 0,\r\n\t\t\t[\"update_mode_full\"] = 1,\r\n\t\t\t[\"data\"] = ,\r\n\t\t\t[\"waveform_full\"] = 2,\r\n\t\t\t[\"fd\"] = 4,\r\n\t\t\t[\"mech_wait_update_submission\"] = nil --[[ FUNCTION ]],\r\n\t\t\t[\"fb_size\"] = 1920000,\r\n\t\t\t[\"wait_for_marker_partial\"] = false\r\n\t\t},\r\n\t\t[\"TWO_FINGER_TAP_REGION\"] = 25.389221556886\r\n\t},\r\n\t[\"eventAdjustHook\"] = nil --[[ FUNCTION ]]\r\n}\r\n# key ev {\r\n\t[\"type\"] = 1,\r\n\t[\"time\"] = {\r\n\t\t[\"usec\"] = 228042,\r\n\t\t[\"sec\"] = 733\r\n\t},\r\n\t[\"code\"] = 158,\r\n\t[\"value\"] = 1\r\n}\r\n) = 4096\r\nwrite(1, \"nil --[[ FUNCTION ]],\\n\\t\\t\\t[\\\"fb_si\"..., 188) = 188\r\nwrite(1, \"# key ev {\\n\\t[\\\"type\\\"] = 1,\\n\\t[\\\"tim\"..., 115) = 115\r\ngettimeofday({1421033571, 574796}, NULL) = 0\r\ngettimeofday({1421033571, 574983}, NULL) = 0\r\nselect(7, [5 6], NULL, NULL, NULL)      = 1 (in [5])\r\nread(5, \"\\335\\2\\0\\0\\321z\\3\\0\\0\\0\\0\\0\\0\\0\\0\\0\", 16) = 16\r\nwrite(3, \"0|0|0|733|228049\\n\", 17)      = 17\r\nwrite(1, \"# got event: {\\n\\t[\\\"MTSlots\\\"] = {}\"..., 4096# got event: {\r\n\t[\"MTSlots\"] = {},\r\n\t[\"device\"] = {\r\n\t\t[\"display_dpi\"] = 212,\r\n\t\t\t\t\t\t\t\t[\"getSize\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"debug\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"setViewport\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"extend\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"scaleByDPI\"] = nil --[[ FUNCTION ]]\r\n\t\t\t\t\t},\r\n\t\t\t\t\t[\"__index\"] = nil --[[ LOOP:\r\n\t\t\t\t^------- ]]\r\n\t\t\t\t},\r\n\t\t\t\t[\"refreshFullImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"_find_free_marker\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"refreshFastImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"init\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"_get_marker\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"_wait_marker\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"max_marker\"] = 10,\r\n\t\t\t\t[\"__index\"] = nil --[[ LOOP:\r\n\t\t\t^------- ]],\r\n\t\t\t\t[\"wait_for_marker_fast\"] = false,\r\n\t\t\t\t[\"wait_for_marker_ui\"] = false,\r\n\t\t\t\t[\"refreshUIImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"refreshPartialImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"wait_for_marker_full\"] = true,\r\n\t\t\t\t[\"wait_for_marker_partial\"] = false\r\n\t\t\t},\r\n\t\t\t[\"update_mode_partial\"] = 0,\r\n\t\t\t[\"mech_wait_update_complete\"] = nil --[[ FUNCTION ]],\r\n\t\t\t[\"wait_for_marker_ui\"] = false,\r\n\t\t\t[\"wait_for_marker_fast\"] = false,\r\n\t\t\t[\"cur_rotation_mode\"] = 0,\r\n\t\t\t[\"waveform_ui\"] = 3,\r\n\t\t\t[\"native_rotation_mode\"] = 0,\r\n\t\t\t[\"screen_size\"] = {\r\n\t\t\t\t[\"h\"] = 1600,\r\n\t\t\t\t[\"w\"] = 1200\r\n\t\t\t},\r\n\t\t\t[\"debug\"] = {\r\n\t\t\t\t[\"traceback\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"turnOn\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"is_on\"] = true,\r\n\t\t\t\t[\"logEv\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"ev_log\"] = \r\n\t\t\t},\r\n\t\t\t[\"wait_for_marker_full\"] = true,\r\n\t\t\t[\"update_mode_fast\"] = 0,\r\n\t\t\t[\"bb\"] = ,\r\n\t\t\t[\"mech_refresh\"] = nil --[[ FUNCTION ]],\r\n\t\t\t[\"waveform_partial\"] = 6,\r\n\t\t\t[\"device\"] = {\r\n\t\t\t\t[\"display_dpi\"] = 212,\r\n\t\t\t\t[\"touch_dev\"] = \"/dev/input/event0\",\r\n\t\t\t\t[\"model\"] = \"KindlePaperWhite\",\r\n\t\t\t\t[\"screen\"] = nil --[[ LOOP:\r\n\t\t^------- ]],\r\n\t\t\t\t[\"isKindle\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"powerd\"] = {\r\n\t\t\t\t\t[\"device\"] = nil --[[ LOOP:\r\n\t\t\t^------- ]]\r\n\t\t\t\t},\r\n\t\t\t\t[\"init\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"input\"] = nil --[[ LOOP:\r\n^------- ]],\r\n\t\t\t\t[\"isTouchDevice\"] = nil --[[ FUNCTION ]]\r\n\t\t\t},\r\n\t\t\t[\"blitbuffer_rotation_mode\"] = 0,\r\n\t\t\t[\"waveform_fast\"] = 4,\r\n\t\t\t[\"update_mode_ui\"] = 0,\r\n\t\t\t[\"update_mode_full\"] = 1,\r\n\t\t\t[\"data\"] = ,\r\n\t\t\t[\"waveform_full\"] = 2,\r\n\t\t\t[\"fd\"] = 4,\r\n\t\t\t[\"mech_wait_update_submission\"] = nil --[[ FUNCTION ]],\r\n\t\t\t[\"fb_size\"] = 1920000,\r\n\t\t\t[\"wait_for_marker_partial\"] = false\r\n\t\t},\r\n\t\t[\"TWO_FINGER_TAP_REGION\"] = 25.389221556886\r\n\t},\r\n\t[\"eventAdjustHook\"] = nil --[[ FUNCTION ]]\r\n}\r\n) = 4096\r\nwrite(1, \"\\t[\\\"input\\\"] = nil --[[ LOOP:\\n^---\"..., 4096) = 4096\r\nwrite(1, \"nil --[[ FUNCTION ]],\\n\\t\\t\\t[\\\"fb_si\"..., 188) = 188\r\ngettimeofday({1421033571, 580804}, NULL) = 0\r\ngettimeofday({1421033571, 581324}, NULL) = 0\r\nselect(7, [5 6], NULL, NULL, NULL[\"touch_dev\"] = \"/dev/input/event0\",\r\n\t\t[\"model\"] = \"KindlePaperWhite\",\r\n\t\t[\"screen\"] = {\r\n\t\t\t[\"dpi\"] = 212,\r\n\t\t\t[\"refresh_list\"] = {},\r\n\t\t\t[\"parent\"] = {\r\n\t\t\t\t[\"_wait_for_next\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"_wait_for_conflicting\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"parent\"] = {\r\n\t\t\t\t\t[\"close\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t[\"device_node\"] = \"/dev/fb0\",\r\n\t\t\t\t\t[\"fd\"] = -1,\r\n\t\t\t\t\t[\"init\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t[\"parent\"] = {\r\n\t\t\t\t\t\t[\"new\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getScreenWidth\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshUI\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"setDPI\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"scaleBySize\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshFull\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getScreenMode\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"setScreenMode\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshPartialImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"ORIENTATION_PORTRAIT_ROTATED\"] = 2,\r\n\t\t\t\t\t\t[\"refreshUIImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"setRotationMode\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getHeight\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"ORIENTATION_LANDSCAPE_ROTATED\"] = 3,\r\n\t\t\t\t\t\t[\"getScreenHeight\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"ORIENTATION_PORTRAIT\"] = 0,\r\n\t\t\t\t\t\t[\"shot\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"calculateRealCoordinates\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshFullImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshFastImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"__index\"] = nil --[[ LOOP:\r\n\t\t\t\t\t^------- ]],\r\n\t\t\t\t\t\t[\"restoreFromSavedBB\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"saveCurrentBB\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getRotationMode\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"toggleNightMode\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getDPI\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"init\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"ORIENTATION_LANDSCAPE\"] = 1,\r\n\t\t\t\t\t\t[\"refreshPartial\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"close\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getWidth\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshFast\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getSize\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"debug\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"setViewport\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"extend\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"scaleByDPI\"] = nil --[[ FUNCTION ]]\r\n\t\t\t\t\t},\r\n\t\t\t\t\t[\"__index\"] = nil --[[ LOOP:\r\n\t\t\t\t^------- ]]\r\n\t\t\t\t},\r\n\t\t\t\t[\"refreshFullImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"_find_free_marker\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"refreshFastImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"init\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"_get_marker\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"_wait_marker\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"max_marker\"] = 10,\r\n\t\t\t\t[\"__index\"] = nil --[[ LOOP:\r\n\t\t\t^------- ]],\r\n\t\t\t\t[\"wait_for_marker_fast\"] = false,\r\n\t\t\t\t[\"wait_for_marker_ui\"] = false,\r\n\t\t\t\t[\"refreshUIImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"refreshPartialImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"wait_for_marker_full\"] = true,\r\n\t\t\t\t[\"wait_for_marker_partial\"] = false\r\n\t\t\t},\r\n\t\t\t[\"update_mode_partial\"] = 0,\r\n\t\t\t[\"mech_wait_update_complete\"] = nil --[[ FUNCTION ]],\r\n\t\t\t[\"wait_for_marker_ui\"] = false,\r\n\t\t\t[\"wait_for_marker_fast\"] = false,\r\n\t\t\t[\"cur_rotation_mode\"] = 0,\r\n\t\t\t[\"waveform_ui\"] = 3,\r\n\t\t\t[\"native_rotation_mode\"] = 0,\r\n\t\t\t[\"screen_size\"] = {\r\n\t\t\t\t[\"h\"] = 1600,\r\n\t\t\t\t[\"w\"] = 1200\r\n\t\t\t},\r\n\t\t\t[\"debug\"] = {\r\n\t\t\t\t[\"traceback\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"turnOn\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"is_on\"] = true,\r\n\t\t\t\t[\"logEv\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"ev_log\"] = \r\n\t\t\t},\r\n\t\t\t[\"wait_for_marker_full\"] = true,\r\n\t\t\t[\"update_mode_fast\"] = 0,\r\n\t\t\t[\"bb\"] = ,\r\n\t\t\t[\"mech_refresh\"] = nil --[[ FUNCTION ]],\r\n\t\t\t[\"waveform_partial\"] = 6,\r\n\t\t\t[\"device\"] = nil --[[ LOOP:\r\n\t^------- ]],\r\n\t\t\t[\"blitbuffer_rotation_mode\"] = 0,\r\n\t\t\t[\"waveform_fast\"] = 4,\r\n\t\t\t[\"update_mode_ui\"] = 0,\r\n\t\t\t[\"update_mode_full\"] = 1,\r\n\t\t\t[\"data\"] = ,\r\n\t\t\t[\"waveform_full\"] = 2,\r\n\t\t\t[\"fd\"] = 4,\r\n\t\t\t[\"mech_wait_update_submission\"] = nil --[[ FUNCTION ]],\r\n\t\t\t[\"fb_size\"] = 1920000,\r\n\t\t\t[\"wait_for_marker_partial\"] = false\r\n\t\t},\r\n\t\t[\"isKindle\"] = nil --[[ FUNCTION ]],\r\n\t\t[\"powerd\"] = {\r\n\t\t\t[\"device\"] = nil --[[ LOOP:\r\n\t^------- ]]\r\n\t\t},\r\n\t\t[\"init\"] = nil --[[ FUNCTION ]],\r\n\t\t[\"input\"] = nil --[[ LOOP:\r\n^------- ]],\r\n\t\t[\"isTouchDevice\"] = nil --[[ FUNCTION ]]\r\n\t},\r\n\t[\"gesture_detector\"] = {\r\n\t\t[\"input\"] = nil --[[ LOOP:\r\n^------- ]],\r\n\t\t[\"DOUBLE_TAP_DISTANCE\"] = 63.473053892216,\r\n\t\t[\"PAN_THRESHOLD\"] = 63.473053892216,\r\n\t\t[\"screen\"] = {\r\n\t\t\t[\"dpi\"] = 212,\r\n\t\t\t[\"refresh_list\"] = {},\r\n\t\t\t[\"parent\"] = {\r\n\t\t\t\t[\"_wait_for_next\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"_wait_for_conflicting\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"parent\"] = {\r\n\t\t\t\t\t[\"close\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t[\"device_node\"] = \"/dev/fb0\",\r\n\t\t\t\t\t[\"fd\"] = -1,\r\n\t\t\t\t\t[\"init\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t[\"parent\"] = {\r\n\t\t\t\t\t\t[\"new\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getScreenWidth\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshUI\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"setDPI\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"scaleBySize\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshFull\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getScreenMode\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"setScreenMode\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshPartialImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"ORIENTATION_PORTRAIT_ROTATED\"] = 2,\r\n\t\t\t\t\t\t[\"refreshUIImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"setRotationMode\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getHeight\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"ORIENTATION_LANDSCAPE_ROTATED\"] = 3,\r\n\t\t\t\t\t\t[\"getScreenHeight\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"ORIENTATION_PORTRAIT\"] = 0,\r\n\t\t\t\t\t\t[\"shot\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"calculateRealCoordinates\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshFullImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshFastImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"__index\"] = nil --[[ LOOP:\r\n\t\t\t\t\t^------- ]],\r\n\t\t\t\t\t\t[\"restoreFromSavedBB\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"saveCurrentBB\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getRotationMode\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"toggleNightMode\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getDPI\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"init\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"ORIENTATION_LANDSCAPE\"] = 1,\r\n\t\t\t\t\t\t[\"refreshPartial\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"close\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getWidth\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshFast\"] = nil --[[ FUNCTION ]],\r\n)      = 1 (in [5])\r\nread(5, \"\\335\\2\\0\\0\\232\\221\\5\\0\\1\\0\\236\\0\\0\\0\\0\\0\", 16) = 16\r\nwrite(3, \"1|158|0|733|364954\\n\", 19)    = 19\r\nwrite(1, \"# got event: {\\n\\t[\\\"MTSlots\\\"] = {}\"..., 4096# got event: {\r\n\t[\"MTSlots\"] = {},\r\n\t[\"device\"] = {\r\n\t\t[\"display_dpi\"] = 212,\r\n\t\t[\"touch_dev\"] = \"/dev/input/event0\",\r\n\t\t[\"model\"] = \"KindlePaperWhite\",\r\n\t\t[\"screen\"] = {\r\n\t\t\t[\"dpi\"] = 212,\r\n\t\t\t[\"refresh_list\"] = {},\r\n\t\t\t[\"parent\"] = {\r\n\t\t\t\t[\"_wait_for_next\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"_wait_for_conflicting\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"parent\"] = {\r\n\t\t\t\t\t[\"close\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t[\"device_node\"] = \"/dev/fb0\",\r\n\t\t\t\t\t[\"fd\"] = -1,\r\n\t\t\t\t\t[\"init\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t[\"parent\"] = {\r\n\t\t\t\t\t\t[\"new\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getScreenWidth\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshUI\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"setDPI\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"scaleBySize\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshFull\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getScreenMode\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"setScreenMode\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshPartialImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"ORIENTATION_PORTRAIT_ROTATED\"] = 2,\r\n\t\t\t\t\t\t[\"refreshUIImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"setRotationMode\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getHeight\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"ORIENTATION_LANDSCAPE_ROTATED\"] = 3,\r\n\t\t\t\t\t\t[\"getScreenHeight\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"ORIENTATION_PORTRAIT\"] = 0,\r\n\t\t\t\t\t\t[\"shot\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"calculateRealCoordinates\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshFullImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshFastImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"__index\"] = nil --[[ LOOP:\r\n\t\t\t\t\t^------- ]],\r\n\t\t\t\t\t\t[\"restoreFromSavedBB\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"saveCurrentBB\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getRotationMode\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"toggleNightMode\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getDPI\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"init\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"ORIENTATION_LANDSCAPE\"] = 1,\r\n\t\t\t\t\t\t[\"refreshPartial\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"close\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getWidth\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshFast\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getSize\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"debug\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"setViewport\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"extend\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"scaleByDPI\"] = nil --[[ FUNCTION ]]\r\n\t\t\t\t\t},\r\n\t\t\t\t\t[\"__index\"] = nil --[[ LOOP:\r\n\t\t\t\t^------- ]]\r\n\t\t\t\t},\r\n\t\t\t\t[\"refreshFullImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"_find_free_marker\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"refreshFastImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"init\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"_get_marker\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"_wait_marker\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"max_marker\"] = 10,\r\n\t\t\t\t[\"__index\"] = nil --[[ LOOP:\r\n\t\t\t^------- ]],\r\n\t\t\t\t[\"wait_for_marker_fast\"] = false,\r\n\t\t\t\t[\"wait_for_marker_ui\"] = false,\r\n\t\t\t\t[\"refreshUIImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"refreshPartialImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"wait_for_marker_full\"] = true,\r\n\t\t\t\t[\"wait_for_marker_partial\"] = false\r\n\t\t\t},\r\n\t\t\t[\"update_mode_partial\"] = 0,\r\n\t\t\t[\"mech_wait_update_complete\"] = nil --[[ FUNCTION ]],\r\n\t\t\t[\"wait_for_marker_ui\"] = false,\r\n\t\t\t[\"wait_for_marker_fast\"] = false,\r\n\t\t\t[\"cur_rotation_mode\"] = 0,\r\n\t\t\t[\"waveform_ui\"] = 3,\r\n\t\t\t[\"native_rotation_mode\"] = 0,\r\n\t\t\t[\"screen_size\"] = {\r\n\t\t\t\t[\"h\"] = 1600,\r\n\t\t\t\t[\"w\"] = 1200\r\n\t\t\t},\r\n\t\t\t[\"debug\"] = {\r\n\t\t\t\t[\"traceback\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"turnOn\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"is_on\"] = true,\r\n\t\t\t\t[\"logEv\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"ev_log\"] = \r\n\t\t\t},\r\n\t\t\t[\"wait_for_marker_full\"] = true,\r\n\t\t\t[\"update_mode_fast\"] = 0,\r\n\t\t\t[\"bb\"] = ,\r\n\t\t\t[\"mech_refresh\"] = nil --[[ FUNCTION ]],\r\n\t\t\t[\"waveform_partial\"] = 6,\r\n\t\t\t[\"device\"] = nil --[[ LOOP:\r\n\t^------- ]],\r\n\t\t\t[\"blitbuffer_rotation_mode\"] = 0,\r\n\t\t\t[\"waveform_fast\"] = 4,\r\n\t\t\t[\"update_mode_ui\"] = 0,\r\n\t\t\t[\"update_mode_full\"] = 1,\r\n\t\t\t[\"data\"] = ,\r\n\t\t\t[\"waveform_full\"] = 2,\r\n\t\t\t[\"fd\"] = 4,\r\n\t\t\t[\"mech_wait_update_submission\"] = nil --[[ FUNCTION ]],\r\n\t\t\t[\"fb_size\"] = 1920000,\r\n\t\t\t[\"wait_for_marker_partial\"] = false\r\n\t\t},\r\n\t\t[\"isKindle\"] = nil --[[ FUNCTION ]],\r\n\t\t[\"powerd\"] = {\r\n\t\t\t[\"device\"] = nil --[[ LOOP:\r\n\t^------- ]]\r\n\t\t},\r\n\t\t[\"init\"] = nil --[[ FUNCTION ]],\r\n\t\t[\"input\"] = nil --[[ LOOP:\r\n^------- ]],\r\n\t\t[\"isTouchDevice\"] = nil --[[ FUNCTION ]]\r\n\t},\r\n\t[\"gesture_detector\"] = {\r\n\t) = 4096\r\nwrite(1, \"\\t[\\\"input\\\"] = nil --[[ LOOP:\\n^---\"..., 4096\t[\"input\"] = nil --[[ LOOP:\r\n^------- ]],\r\n\t\t[\"DOUBLE_TAP_DISTANCE\"] = 63.473053892216,\r\n\t\t[\"PAN_THRESHOLD\"] = 63.473053892216,\r\n\t\t[\"screen\"] = {\r\n\t\t\t[\"dpi\"] = 212,\r\n\t\t\t[\"refresh_list\"] = {},\r\n\t\t\t[\"parent\"] = {\r\n\t\t\t\t[\"_wait_for_next\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"_wait_for_conflicting\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"parent\"] = {\r\n\t\t\t\t\t[\"close\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t[\"device_node\"] = \"/dev/fb0\",\r\n\t\t\t\t\t[\"fd\"] = -1,\r\n\t\t\t\t\t[\"init\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t[\"parent\"] = {\r\n\t\t\t\t\t\t[\"new\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getScreenWidth\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshUI\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"setDPI\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"scaleBySize\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshFull\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getScreenMode\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"setScreenMode\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshPartialImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"ORIENTATION_PORTRAIT_ROTATED\"] = 2,\r\n\t\t\t\t\t\t[\"refreshUIImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"setRotationMode\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getHeight\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"ORIENTATION_LANDSCAPE_ROTATED\"] = 3,\r\n\t\t\t\t\t\t[\"getScreenHeight\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"ORIENTATION_PORTRAIT\"] = 0,\r\n\t\t\t\t\t\t[\"shot\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"calculateRealCoordinates\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshFullImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshFastImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"__index\"] = nil --[[ LOOP:\r\n\t\t\t\t\t^------- ]],\r\n\t\t\t\t\t\t[\"restoreFromSavedBB\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"saveCurrentBB\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getRotationMode\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"toggleNightMode\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getDPI\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"init\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"ORIENTATION_LANDSCAPE\"] = 1,\r\n\t\t\t\t\t\t[\"refreshPartial\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"close\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getWidth\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshFast\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getSize\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"debug\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"setViewport\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"extend\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"scaleByDPI\"] = nil --[[ FUNCTION ]]\r\n\t\t\t\t\t},\r\n\t\t\t\t\t[\"__index\"] = nil --[[ LOOP:\r\n\t\t\t\t^------- ]]\r\n\t\t\t\t},\r\n\t\t\t\t[\"refreshFullImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"_find_free_marker\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"refreshFastImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"init\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"_get_marker\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"_wait_marker\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"max_marker\"] = 10,\r\n\t\t\t\t[\"__index\"] = nil --[[ LOOP:\r\n\t\t\t^------- ]],\r\n\t\t\t\t[\"wait_for_marker_fast\"] = false,\r\n\t\t\t\t[\"wait_for_marker_ui\"] = false,\r\n\t\t\t\t[\"refreshUIImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"refreshPartialImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"wait_for_marker_full\"] = true,\r\n\t\t\t\t[\"wait_for_marker_partial\"] = false\r\n\t\t\t},\r\n\t\t\t[\"update_mode_partial\"] = 0,\r\n\t\t\t[\"mech_wait_update_complete\"] = nil --[[ FUNCTION ]],\r\n\t\t\t[\"wait_for_marker_ui\"] = false,\r\n\t\t\t[\"wait_for_marker_fast\"] = false,\r\n\t\t\t[\"cur_rotation_mode\"] = 0,\r\n\t\t\t[\"waveform_ui\"] = 3,\r\n\t\t\t[\"native_rotation_mode\"] = 0,\r\n\t\t\t[\"screen_size\"] = {\r\n\t\t\t\t[\"h\"] = 1600,\r\n\t\t\t\t[\"w\"] = 1200\r\n\t\t\t},\r\n\t\t\t[\"debug\"] = {\r\n\t\t\t\t[\"traceback\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"turnOn\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"is_on\"] = true,\r\n\t\t\t\t[\"logEv\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"ev_log\"] = \r\n\t\t\t},\r\n\t\t\t[\"wait_for_marker_full\"] = true,\r\n\t\t\t[\"update_mode_fast\"] = 0,\r\n\t\t\t[\"bb\"] = ,\r\n\t\t\t[\"mech_refresh\"] = nil --[[ FUNCTION ]],\r\n\t\t\t[\"waveform_partial\"] = 6,\r\n\t\t\t[\"device\"] = {\r\n\t\t\t\t[\"display_dpi\"] = 212,\r\n\t\t\t\t[\"touch_dev\"] = \"/dev/input/event0\",\r\n\t\t\t\t[\"model\"] = \"KindlePaperWhite\",\r\n\t\t\t\t[\"screen\"] = nil --[[ LOOP:\r\n\t\t^------- ]],\r\n\t\t\t\t[\"isKindle\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"powerd\"] = {\r\n\t\t\t\t\t[\"device\"] = nil --[[ LOOP:\r\n\t\t\t^------- ]]\r\n\t\t\t\t},\r\n\t\t\t\t[\"init\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"input\"] = nil --[[ LOOP:\r\n^------- ]],\r\n\t\t\t\t[\"isTouchDevice\"] = nil --[[ FUNCTION ]]\r\n\t\t\t},\r\n\t\t\t[\"blitbuffer_rotation_mode\"] = 0,\r\n\t\t\t[\"waveform_fast\"] = 4,\r\n\t\t\t[\"update_mode_ui\"] = 0,\r\n\t\t\t[\"update_mode_full\"] = 1,\r\n\t\t\t[\"data\"] = ,\r\n\t\t\t[\"waveform_full\"] = 2,\r\n\t\t\t[\"fd\"] = 4,\r\n\t\t\t[\"mech_wait_update_submission\"] = ) = 4096\r\nwrite(1, \"nil --[[ FUNCTION ]],\\n\\t\\t\\t[\\\"fb_si\"..., 188\t},\r\n\t\t\t\t[\"refreshFullImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"_find_free_marker\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"refreshFastImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"init\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"_get_marker\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"_wait_marker\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"max_marker\"] = 10,\r\n\t\t\t\t[\"__index\"] = nil --[[ LOOP:\r\n\t\t\t^------- ]],\r\n\t\t\t\t[\"wait_for_marker_fast\"] = false,\r\n\t\t\t\t[\"wait_for_marker_ui\"] = false,\r\n\t\t\t\t[\"refreshUIImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"refreshPartialImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"wait_for_marker_full\"] = true,\r\n\t\t\t\t[\"wait_for_marker_partial\"] = false\r\n\t\t\t},\r\n\t\t\t[\"update_mode_partial\"] = 0,\r\n\t\t\t[\"mech_wait_update_complete\"] = nil --[[ FUNCTION ]],\r\n\t\t\t[\"wait_for_marker_ui\"] = false,\r\n\t\t\t[\"wait_for_marker_fast\"] = false,\r\n\t\t\t[\"cur_rotation_mode\"] = 0,\r\n\t\t\t[\"waveform_ui\"] = 3,\r\n\t\t\t[\"native_rotation_mode\"] = 0,\r\n\t\t\t[\"screen_size\"] = {\r\n\t\t\t\t[\"h\"] = 1600,\r\n\t\t\t\t[\"w\"] = 1200\r\n\t\t\t},\r\n\t\t\t[\"debug\"] = {\r\n\t\t\t\t[\"traceback\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"turnOn\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"is_on\"] = true,\r\n\t\t\t\t[\"logEv\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"ev_log\"] = \r\n\t\t\t},\r\n\t\t\t[\"wait_for_marker_full\"] = true,\r\n\t\t\t[\"update_mode_fast\"] = 0,\r\n\t\t\t[\"bb\"] = ,\r\n\t\t\t[\"mech_refresh\"] = nil --[[ FUNCTION ]],\r\n\t\t\t[\"waveform_partial\"] = 6,\r\n\t\t\t[\"device\"] = {\r\n\t\t\t\t[\"display_dpi\"] = 212,\r\n\t\t\t\t[\"touch_dev\"] = \"/dev/input/event0\",\r\n\t\t\t\t[\"model\"] = \"KindlePaperWhite\",\r\n\t\t\t\t[\"screen\"] = nil --[[ LOOP:\r\n\t\t^------- ]],\r\n\t\t\t\t[\"isKindle\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"powerd\"] = {\r\n\t\t\t\t\t[\"device\"] = nil --[[ LOOP:\r\n\t\t\t^------- ]]\r\n\t\t\t\t},\r\n\t\t\t\t[\"init\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"input\"] = nil --[[ LOOP:\r\n^------- ]],\r\n\t\t\t\t[\"isTouchDevice\"] = nil --[[ FUNCTION ]]\r\n\t\t\t},\r\n\t\t\t[\"blitbuffer_rotation_mode\"] = 0,\r\n\t\t\t[\"waveform_fast\"] = 4,\r\n\t\t\t[\"update_mode_ui\"] = 0,\r\n\t\t\t[\"update_mode_full\"] = 1,\r\n\t\t\t[\"data\"] = ,\r\n\t\t\t[\"waveform_full\"] = 2,\r\n\t\t\t[\"fd\"] = 4,\r\n\t\t\t[\"mech_wait_update_submission\"] = nil --[[ FUNCTION ]],\r\n\t\t\t[\"fb_size\"] = 1920000,\r\n\t\t\t[\"wait_for_marker_partial\"] = false\r\n\t\t},\r\n\t\t[\"TWO_FINGER_TAP_REGION\"] = 25.389221556886\r\n\t},\r\n\t[\"eventAdjustHook\"] = nil --[[ FUNCTION ]]\r\n}\r\n) = 4096\r\nwrite(1, \"nil --[[ FUNCTION ]],\\n\\t\\t\\t[\\\"fb_si\"..., 188) = 188\r\ngettimeofday({1421033571, 717652}, NULL) = 0\r\ngettimeofday({1421033571, 718034}, NULL) = 0\r\nselect(7, [5 6], NULL, NULL, NULLnil --[[ FUNCTION ]],\r\n\t\t\t[\"fb_size\"] = 1920000,\r\n\t\t\t[\"wait_for_marker_partial\"] = false\r\n\t\t},\r\n\t\t[\"TWO_FINGER_TAP_REGION\"] = 25.389221556886\r\n\t},\r\n\t[\"eventAdjustHook\"] = nil --[[ FUNCTION ]]\r\n}\r\n# key ev {\r\n\t[\"type\"] = 1,\r\n\t[\"time\"] = {\r\n\t\t[\"usec\"] = 364954,\r\n\t\t[\"sec\"] = 733\r\n\t},\r\n\t[\"code\"] = 158,\r\n\t[\"value\"] = 0\r\n}\r\n# got event: {\r\n\t[\"MTSlots\"] = {},\r\n\t[\"device\"] = {\r\n\t\t[\"display_dpi\"] = 212,\r\n\t\t[\"touch_dev\"] = \"/dev/input/event0\",\r\n\t\t[\"model\"] = \"KindlePaperWhite\",\r\n\t\t[\"screen\"] = {\r\n\t\t\t[\"dpi\"] = 212,\r\n\t\t\t[\"refresh_list\"] = {},\r\n\t\t\t[\"parent\"] = {\r\n\t\t\t\t[\"_wait_for_next\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"_wait_for_conflicting\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"parent\"] = {\r\n\t\t\t\t\t[\"close\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t[\"device_node\"] = \"/dev/fb0\",\r\n\t\t\t\t\t[\"fd\"] = -1,\r\n\t\t\t\t\t[\"init\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t[\"parent\"] = {\r\n\t\t\t\t\t\t[\"new\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getScreenWidth\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshUI\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"setDPI\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"scaleBySize\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshFull\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getScreenMode\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"setScreenMode\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshPartialImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"ORIENTATION_PORTRAIT_ROTATED\"] = 2,\r\n\t\t\t\t\t\t[\"refreshUIImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"setRotationMode\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getHeight\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"ORIENTATION_LANDSCAPE_ROTATED\"] = 3,\r\n\t\t\t\t\t\t[\"getScreenHeight\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"ORIENTATION_PORTRAIT\"] = 0,\r\n\t\t\t\t\t\t[\"shot\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"calculateRealCoordinates\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshFullImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshFastImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"__index\"] = nil --[[ LOOP:\r\n\t\t\t\t\t^------- ]],\r\n\t\t\t\t\t\t[\"restoreFromSavedBB\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"saveCurrentBB\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getRotationMode\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"toggleNightMode\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getDPI\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"init\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"ORIENTATION_LANDSCAPE\"] = 1,\r\n\t\t\t\t\t\t[\"refreshPartial\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"close\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getWidth\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshFast\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getSize\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"debug\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"setViewport\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"extend\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"scaleByDPI\"] = nil --[[ FUNCTION ]]\r\n\t\t\t\t\t},\r\n\t\t\t\t\t[\"__index\"] = nil --[[ LOOP:\r\n\t\t\t\t^------- ]]\r\n\t\t\t\t},\r\n\t\t\t\t[\"refreshFullImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"_find_free_marker\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"refreshFastImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"init\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"_get_marker\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"_wait_marker\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"max_marker\"] = 10,\r\n\t\t\t\t[\"__index\"] = nil --[[ LOOP:\r\n\t\t\t^------- ]],\r\n\t\t\t\t[\"wait_for_marker_fast\"] = false,\r\n\t\t\t\t[\"wait_for_marker_ui\"] = false,\r\n\t\t\t\t[\"refreshUIImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"refreshPartialImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"wait_for_marker_full\"] = true,\r\n\t\t\t\t[\"wait_for_marker_partial\"] = false\r\n\t\t\t},\r\n\t\t\t[\"update_mode_partial\"] = 0,\r\n\t\t\t[\"mech_wait_update_complete\"] = nil --[[ FUNCTION ]],\r\n\t\t\t[\"wait_for_marker_ui\"] = false,\r\n\t\t\t[\"wait_for_marker_fast\"] = false,\r\n\t\t\t[\"cur_rotation_mode\"] = 0,\r\n\t\t\t[\"waveform_ui\"] = 3,\r\n\t\t\t[\"native_rotation_mode\"] = 0,\r\n\t\t\t[\"screen_size\"] = {\r\n\t\t\t\t[\"h\"] = 1600,\r\n\t\t\t\t[\"w\"] = 1200\r\n\t\t\t},\r\n\t\t\t[\"debug\"] = {\r\n\t\t\t\t[\"traceback\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"turnOn\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"is_on\"] = true,\r\n\t\t\t\t[\"logEv\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"ev_log\"] = \r\n\t\t\t},\r\n\t\t\t[\"wait_for_marker_full\"] = true,\r\n\t\t\t[\"update_mode_fast\"] = 0,\r\n\t\t\t[\"bb\"] = ,\r\n\t\t\t[\"mech_refresh\"] = nil --[[ FUNCTION ]],\r\n\t\t\t[\"waveform_partial\"] = 6,\r\n\t\t\t[\"device\"] = nil --[[ LOOP:\r\n\t^------- ]],\r\n\t\t\t[\"blitbuffer_rotation_mode\"] = 0,\r\n\t\t\t[\"waveform_fast\"] = 4,\r\n\t\t\t[\"update_mode_ui\"] = 0,\r\n\t\t\t[\"update_mode_full\"] = 1,\r\n\t\t\t[\"data\"] = ,\r\n\t\t\t[\"waveform_full\"] = 2,\r\n\t\t\t[\"fd\"] = 4,\r\n\t\t\t[\"mech_wait_update_submission\"] = nil --[[ FUNCTION ]],\r\n\t\t\t[\"fb_size\"] = 1920000,\r\n\t\t\t[\"wait_for_marker_partial\"] = false\r\n\t\t},\r\n\t\t[\"isKindle\"] = nil --[[ FUNCTION ]],\r\n\t\t[\"powerd\"] = {\r\n\t\t\t[\"device\"] = nil --[[ LOOP:\r\n\t^------- ]]\r\n\t\t},\r\n\t\t[\"init\"] = nil --[[ FUNCTION ]],\r\n\t\t[\"input\"] = nil --[[ LOOP:\r\n^------- ]],\r\n\t\t[\"isTouchDevice\"] = nil --[[ FUNCTION ]]\r\n\t},\r\n\t[\"gesture_detector\"] = {\r\n\t) = 188\r\nwrite(1, \"# key ev {\\n\\t[\\\"type\\\"] = 1,\\n\\t[\\\"tim\"..., 115) = 115\r\ngettimeofday({1421033571, 711784}, NULL) = 0\r\ngettimeofday({1421033571, 712191}, NULL) = 0\r\nselect(7, [5 6], NULL, NULL, NULL)      = 1 (in [5])\r\nread(5, \"\\335\\2\\0\\0\\237\\221\\5\\0\\0\\0\\0\\0\\0\\0\\0\\0\", 16) = 16\r\nwrite(3, \"0|0|0|733|364959\\n\", 17)      = 17\r\nwrite(1, \"# got event: {\\n\\t[\\\"MTSlots\\\"] = {}\"..., 4096) = 4096\r\nwrite(1, \"\\t[\\\"input\\\"] = nil --[[ LOOP:\\n^---\"..., 4096\t[\"input\"] = nil --[[ LOOP:\r\n^------- ]],\r\n\t\t[\"DOUBLE_TAP_DISTANCE\"] = 63.473053892216,\r\n\t\t[\"PAN_THRESHOLD\"] = 63.473053892216,\r\n\t\t[\"screen\"] = {\r\n\t\t\t[\"dpi\"] = 212,\r\n\t\t\t[\"refresh_list\"] = {},\r\n\t\t\t[\"parent\"] = {\r\n\t\t\t\t[\"_wait_for_next\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"_wait_for_conflicting\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t[\"parent\"] = {\r\n\t\t\t\t\t[\"close\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t[\"device_node\"] = \"/dev/fb0\",\r\n\t\t\t\t\t[\"fd\"] = -1,\r\n\t\t\t\t\t[\"init\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t[\"parent\"] = {\r\n\t\t\t\t\t\t[\"new\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getScreenWidth\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshUI\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"setDPI\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"scaleBySize\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshFull\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getScreenMode\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"setScreenMode\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshPartialImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"ORIENTATION_PORTRAIT_ROTATED\"] = 2,\r\n\t\t\t\t\t\t[\"refreshUIImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"setRotationMode\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getHeight\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"ORIENTATION_LANDSCAPE_ROTATED\"] = 3,\r\n\t\t\t\t\t\t[\"getScreenHeight\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"ORIENTATION_PORTRAIT\"] = 0,\r\n\t\t\t\t\t\t[\"shot\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"calculateRealCoordinates\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshFullImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshFastImp\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"__index\"] = nil --[[ LOOP:\r\n\t\t\t\t\t^------- ]],\r\n\t\t\t\t\t\t[\"restoreFromSavedBB\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"saveCurrentBB\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getRotationMode\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"toggleNightMode\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getDPI\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"init\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"ORIENTATION_LANDSCAPE\"] = 1,\r\n\t\t\t\t\t\t[\"refreshPartial\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"close\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getWidth\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"refreshFast\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"getSize\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"debug\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"setViewport\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"extend\"] = nil --[[ FUNCTION ]],\r\n\t\t\t\t\t\t[\"scaleByDPI\"] = nil --[[ FUNCTION ]]\r\n\t\t\t\t\t},\r\n\t\t\t\t\t[\"__index\"] = nil --[[ LOOP:\r\n\t\t\t\t^------- ]]\r\n\t\t\t\r\n```\r\nthe `select` returns."}}