{"action":"created","issue":{"url":"https://api.github.com/repos/snaptortoise/konami-js/issues/24","repository_url":"https://api.github.com/repos/snaptortoise/konami-js","labels_url":"https://api.github.com/repos/snaptortoise/konami-js/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/snaptortoise/konami-js/issues/24/comments","events_url":"https://api.github.com/repos/snaptortoise/konami-js/issues/24/events","html_url":"https://github.com/snaptortoise/konami-js/issues/24","id":137647544,"number":24,"title":"Broken on mobile","user":{"login":"joan","id":471627,"avatar_url":"https://avatars.githubusercontent.com/u/471627?v=3","gravatar_id":"","url":"https://api.github.com/users/joan","html_url":"https://github.com/joan","followers_url":"https://api.github.com/users/joan/followers","following_url":"https://api.github.com/users/joan/following{/other_user}","gists_url":"https://api.github.com/users/joan/gists{/gist_id}","starred_url":"https://api.github.com/users/joan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joan/subscriptions","organizations_url":"https://api.github.com/users/joan/orgs","repos_url":"https://api.github.com/users/joan/repos","events_url":"https://api.github.com/users/joan/events{/privacy}","received_events_url":"https://api.github.com/users/joan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-01T18:14:13Z","updated_at":"2016-03-02T13:00:38Z","closed_at":null,"body":"A call is made to `konami.touchCapture`, but it exists as `konami.iphone.touchCapture`.\r\nMoreover, when logging `result at the end of `check_direction`, the result for a UP gesture is UP, DOWN, idem for a DOWN gesture, and the result for a TAP is LEFT.\r\nDon't know if it's in relation, but doesn't work at all on any mobile device.\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/snaptortoise/konami-js/issues/comments/191229993","html_url":"https://github.com/snaptortoise/konami-js/issues/24#issuecomment-191229993","issue_url":"https://api.github.com/repos/snaptortoise/konami-js/issues/24","id":191229993,"user":{"login":"remino","id":29999,"avatar_url":"https://avatars.githubusercontent.com/u/29999?v=3","gravatar_id":"","url":"https://api.github.com/users/remino","html_url":"https://github.com/remino","followers_url":"https://api.github.com/users/remino/followers","following_url":"https://api.github.com/users/remino/following{/other_user}","gists_url":"https://api.github.com/users/remino/gists{/gist_id}","starred_url":"https://api.github.com/users/remino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remino/subscriptions","organizations_url":"https://api.github.com/users/remino/orgs","repos_url":"https://api.github.com/users/remino/repos","events_url":"https://api.github.com/users/remino/events{/privacy}","received_events_url":"https://api.github.com/users/remino/received_events","type":"User","site_admin":false},"created_at":"2016-03-02T13:00:38Z","updated_at":"2016-03-02T13:00:38Z","body":"I don't know how to fix that code, but I've hit the same problem. I see the last commit is causing the issue and it was simply a minor refactor. What I did instead was the downgrade my `konami.js` to the previous commit: https://github.com/snaptortoise/konami-js/blob/1ac35c58e5a4554d60cfc0e174dcf4816a6207d6/konami.js\r\n\r\nActually, it never worked for me on mobile (only on desktop), but at least now it stopped breaking the whole site."}}