{"action":"created","issue":{"url":"https://api.github.com/repos/oyvindhg/Byggern/issues/1","repository_url":"https://api.github.com/repos/oyvindhg/Byggern","labels_url":"https://api.github.com/repos/oyvindhg/Byggern/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/oyvindhg/Byggern/issues/1/comments","events_url":"https://api.github.com/repos/oyvindhg/Byggern/issues/1/events","html_url":"https://github.com/oyvindhg/Byggern/issues/1","id":181818628,"number":1,"title":"Joystick direction scrolling on menu","user":{"login":"PerKjelsvik","id":21362776,"avatar_url":"https://avatars.githubusercontent.com/u/21362776?v=3","gravatar_id":"","url":"https://api.github.com/users/PerKjelsvik","html_url":"https://github.com/PerKjelsvik","followers_url":"https://api.github.com/users/PerKjelsvik/followers","following_url":"https://api.github.com/users/PerKjelsvik/following{/other_user}","gists_url":"https://api.github.com/users/PerKjelsvik/gists{/gist_id}","starred_url":"https://api.github.com/users/PerKjelsvik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PerKjelsvik/subscriptions","organizations_url":"https://api.github.com/users/PerKjelsvik/orgs","repos_url":"https://api.github.com/users/PerKjelsvik/repos","events_url":"https://api.github.com/users/PerKjelsvik/events{/privacy}","received_events_url":"https://api.github.com/users/PerKjelsvik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-08T10:32:11Z","updated_at":"2016-10-13T07:55:29Z","closed_at":null,"body":"If we register a movement in **UP/DOWN direction** of the joystick, the menu should be written on the screen with the corresponding change of selection. However, if we have a **fast enough delay** inbetween screen writes, the selection scrolls on its own constantly. Or we get the problem of the selection **preferring one direction over the other**. The issue is probably in our joystick_driver when returning direction, or in the way we have built logic for printing the menu. "},"comment":{"url":"https://api.github.com/repos/oyvindhg/Byggern/issues/comments/253441275","html_url":"https://github.com/oyvindhg/Byggern/issues/1#issuecomment-253441275","issue_url":"https://api.github.com/repos/oyvindhg/Byggern/issues/1","id":253441275,"user":{"login":"PerKjelsvik","id":21362776,"avatar_url":"https://avatars.githubusercontent.com/u/21362776?v=3","gravatar_id":"","url":"https://api.github.com/users/PerKjelsvik","html_url":"https://github.com/PerKjelsvik","followers_url":"https://api.github.com/users/PerKjelsvik/followers","following_url":"https://api.github.com/users/PerKjelsvik/following{/other_user}","gists_url":"https://api.github.com/users/PerKjelsvik/gists{/gist_id}","starred_url":"https://api.github.com/users/PerKjelsvik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PerKjelsvik/subscriptions","organizations_url":"https://api.github.com/users/PerKjelsvik/orgs","repos_url":"https://api.github.com/users/PerKjelsvik/repos","events_url":"https://api.github.com/users/PerKjelsvik/events{/privacy}","received_events_url":"https://api.github.com/users/PerKjelsvik/received_events","type":"User","site_admin":false},"created_at":"2016-10-13T07:55:29Z","updated_at":"2016-10-13T07:55:29Z","body":"So we've identified the issue more clearly: seems like our **volatile typedef struct** for position, that contains ints x and y, is read wrong. Exactly why we don't know yet, but we've decided to let it be for now since a quickfix by using two ints instead solved the problem. So now we can scroll without problems! "}}
{"actor":{"display_login":"PerKjelsvik"}}