{"action":"created","issue":{"url":"https://api.github.com/repos/altf4/SmashBot/issues/51","repository_url":"https://api.github.com/repos/altf4/SmashBot","labels_url":"https://api.github.com/repos/altf4/SmashBot/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/altf4/SmashBot/issues/51/comments","events_url":"https://api.github.com/repos/altf4/SmashBot/issues/51/events","html_url":"https://github.com/altf4/SmashBot/issues/51","id":142855371,"number":51,"title":"Latency on controller input?","user":{"login":"altf4","id":609563,"avatar_url":"https://avatars.githubusercontent.com/u/609563?v=3","gravatar_id":"","url":"https://api.github.com/users/altf4","html_url":"https://github.com/altf4","followers_url":"https://api.github.com/users/altf4/followers","following_url":"https://api.github.com/users/altf4/following{/other_user}","gists_url":"https://api.github.com/users/altf4/gists{/gist_id}","starred_url":"https://api.github.com/users/altf4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/altf4/subscriptions","organizations_url":"https://api.github.com/users/altf4/orgs","repos_url":"https://api.github.com/users/altf4/repos","events_url":"https://api.github.com/users/altf4/events{/privacy}","received_events_url":"https://api.github.com/users/altf4/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/altf4/SmashBot/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-23T04:13:49Z","updated_at":"2016-03-24T05:51:47Z","closed_at":null,"body":"Every once in a while, a button press won't have its intended effect right away, it will take a whole frame in extra latency. For instance, look at the following log:\r\n\r\n```\r\n850\tKillOpponent\tBait\tShowOff\tMultishine\t20.848515\t73.08757\t36.884499\t0.0001\t7\t24\t7\t2\t1\t0\t4\t4\t89\t0\t\"INFO: Button press: B\r\nINFO: Tilt analog: MAIN to 0.500000, 0.000000\"\r\n851\tKillOpponent\tBait\tShowOff\tMultishine\t19.575184\t68.302864\t36.884499\t2.1001\t7\t25\t8\t0\t1\t1\t4\t4\t89\t0\t\"INFO: Blank controller input\r\n852\tKillOpponent\tBait\tShowOff\tNothing\t20.673336\t63.4725\t36.884499\t2.1001\t7\t365\t9\t1\t1\t1\t4\t4\t89\t0\t\"INFO: Blank controller input\r\n```\r\n\r\nOn frame 850, SmashBot presses down-B. Frame 851, nothing happens and Fox begins to jump (he was in the knee bend animation). Then on Frame 852, the shine happens. \r\n\r\nI suspect that there is some variable latency with our controller input subsystem..."},"comment":{"url":"https://api.github.com/repos/altf4/SmashBot/issues/comments/200684652","html_url":"https://github.com/altf4/SmashBot/issues/51#issuecomment-200684652","issue_url":"https://api.github.com/repos/altf4/SmashBot/issues/51","id":200684652,"user":{"login":"altf4","id":609563,"avatar_url":"https://avatars.githubusercontent.com/u/609563?v=3","gravatar_id":"","url":"https://api.github.com/users/altf4","html_url":"https://github.com/altf4","followers_url":"https://api.github.com/users/altf4/followers","following_url":"https://api.github.com/users/altf4/following{/other_user}","gists_url":"https://api.github.com/users/altf4/gists{/gist_id}","starred_url":"https://api.github.com/users/altf4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/altf4/subscriptions","organizations_url":"https://api.github.com/users/altf4/orgs","repos_url":"https://api.github.com/users/altf4/repos","events_url":"https://api.github.com/users/altf4/events{/privacy}","received_events_url":"https://api.github.com/users/altf4/received_events","type":"User","site_admin":false},"created_at":"2016-03-24T05:51:47Z","updated_at":"2016-03-24T05:51:47Z","body":"Looks like the delays aren't random at all. They seem come in waves where EVERY input is delayed by 1 frame. I'm starting to suspect that this is an emulator issue, but I'm not positive."}}