{"action":"created","issue":{"url":"https://api.github.com/repos/pysco68/waveshare-hid/issues/6","repository_url":"https://api.github.com/repos/pysco68/waveshare-hid","labels_url":"https://api.github.com/repos/pysco68/waveshare-hid/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/pysco68/waveshare-hid/issues/6/comments","events_url":"https://api.github.com/repos/pysco68/waveshare-hid/issues/6/events","html_url":"https://github.com/pysco68/waveshare-hid/issues/6","id":192313799,"number":6,"title":"Waveshare LCD(C) support","user":{"login":"darth-llamah","id":586367,"avatar_url":"https://avatars.githubusercontent.com/u/586367?v=3","gravatar_id":"","url":"https://api.github.com/users/darth-llamah","html_url":"https://github.com/darth-llamah","followers_url":"https://api.github.com/users/darth-llamah/followers","following_url":"https://api.github.com/users/darth-llamah/following{/other_user}","gists_url":"https://api.github.com/users/darth-llamah/gists{/gist_id}","starred_url":"https://api.github.com/users/darth-llamah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darth-llamah/subscriptions","organizations_url":"https://api.github.com/users/darth-llamah/orgs","repos_url":"https://api.github.com/users/darth-llamah/repos","events_url":"https://api.github.com/users/darth-llamah/events{/privacy}","received_events_url":"https://api.github.com/users/darth-llamah/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-29T15:32:48Z","updated_at":"2016-11-29T19:14:54Z","closed_at":null,"body":"Waveshare LCD(C)- which has a 1024x600 LCD- works fine with current firmware. All touch events were registered in proper places.\r\nTested:\r\n-RPi 2: Raspbian, OpenElec\r\n-PC: Windows 10 x64, WIndows 7 x86, Debian Stretch\r\n\r\nTouchscreen hardware seems not  suited for using higher resolution. After modifying resolution from 800x480 to 1024x600 (for both touch IC initialization and USB descriptor):\r\n-hardware starts and is properly enumerated on the host side\r\n-Y-axis: physical touch on the bottom of the touchscreen is registered by all systems as a touch on the top of the screen, most visible when sliding the touch down\r\n-X-axis- seems to work fine but I didn't test it as much as Y-axis\r\n\r\nOnce more thank you for your work"},"comment":{"url":"https://api.github.com/repos/pysco68/waveshare-hid/issues/comments/263668545","html_url":"https://github.com/pysco68/waveshare-hid/issues/6#issuecomment-263668545","issue_url":"https://api.github.com/repos/pysco68/waveshare-hid/issues/6","id":263668545,"user":{"login":"pysco68","id":90577,"avatar_url":"https://avatars.githubusercontent.com/u/90577?v=3","gravatar_id":"","url":"https://api.github.com/users/pysco68","html_url":"https://github.com/pysco68","followers_url":"https://api.github.com/users/pysco68/followers","following_url":"https://api.github.com/users/pysco68/following{/other_user}","gists_url":"https://api.github.com/users/pysco68/gists{/gist_id}","starred_url":"https://api.github.com/users/pysco68/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pysco68/subscriptions","organizations_url":"https://api.github.com/users/pysco68/orgs","repos_url":"https://api.github.com/users/pysco68/repos","events_url":"https://api.github.com/users/pysco68/events{/privacy}","received_events_url":"https://api.github.com/users/pysco68/received_events","type":"User","site_admin":false},"created_at":"2016-11-29T19:14:54Z","updated_at":"2016-11-29T19:14:54Z","body":"Hello,\r\n\r\nI think I have of clue at what is happening here. If you have a look at https://github.com/pysco68/waveshare-hid/blob/master/src/gt811.c#L513 to https://github.com/pysco68/waveshare-hid/blob/master/src/gt811.c#L517 you'll see that I'm making some calculations there in order to fix the upside down mounted touch digitizer coordinate.\r\n\r\nMaybe you could give changing the constant there a try.\r\n\r\n"}}
{"actor":{"display_login":"pysco68"}}