{"action":"created","issue":{"url":"https://api.github.com/repos/littlevgl/lvgl/issues/388","repository_url":"https://api.github.com/repos/littlevgl/lvgl","labels_url":"https://api.github.com/repos/littlevgl/lvgl/issues/388/labels{/name}","comments_url":"https://api.github.com/repos/littlevgl/lvgl/issues/388/comments","events_url":"https://api.github.com/repos/littlevgl/lvgl/issues/388/events","html_url":"https://github.com/littlevgl/lvgl/issues/388","id":355513125,"node_id":"MDU6SXNzdWUzNTU1MTMxMjU=","number":388,"title":"raspberry pi 3 and littlegvl with framebuffer","user":{"login":"epikao","id":26655950,"node_id":"MDQ6VXNlcjI2NjU1OTUw","avatar_url":"https://avatars0.githubusercontent.com/u/26655950?v=4","gravatar_id":"","url":"https://api.github.com/users/epikao","html_url":"https://github.com/epikao","followers_url":"https://api.github.com/users/epikao/followers","following_url":"https://api.github.com/users/epikao/following{/other_user}","gists_url":"https://api.github.com/users/epikao/gists{/gist_id}","starred_url":"https://api.github.com/users/epikao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epikao/subscriptions","organizations_url":"https://api.github.com/users/epikao/orgs","repos_url":"https://api.github.com/users/epikao/repos","events_url":"https://api.github.com/users/epikao/events{/privacy}","received_events_url":"https://api.github.com/users/epikao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2018-08-30T10:00:12Z","updated_at":"2018-09-07T09:27:57Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\naccording my attached image you can see left side the \"linux_frame_buffer\" folder and structure.\r\nI added in the empty folders \"lv_drivers, Lv_examples, lvgl\" the corresponding files.\r\nThen I've tried to compile with \"gcc -Wall -phtread -o main main.c and I got some errors.\r\n\r\nFirst I needed to change in fbdev.h #include **lvgl**/lv_misc/lv_color.h to #include **../../lvgl**/lv_misc/lv_color.h + in demo.h  #include ../../../lv_ **ex** _conf.h to  #include ../../../lv_ **drv**_conf.h\r\n\r\nBut I still have an error as you see, whats wrong?\r\n![image](https://user-images.githubusercontent.com/26655950/44844853-3b77d080-ac4c-11e8-8b86-f7ff99f58204.png)\r\n\r\n\r\nAdditional, with g++ I get follow error:\r\n![image](https://user-images.githubusercontent.com/26655950/44845172-1e8fcd00-ac4d-11e8-8861-1f797fc3c3d0.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/littlevgl/lvgl/issues/comments/419380540","html_url":"https://github.com/littlevgl/lvgl/issues/388#issuecomment-419380540","issue_url":"https://api.github.com/repos/littlevgl/lvgl/issues/388","id":419380540,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTM4MDU0MA==","user":{"login":"kisvegabor","id":7599318,"node_id":"MDQ6VXNlcjc1OTkzMTg=","avatar_url":"https://avatars1.githubusercontent.com/u/7599318?v=4","gravatar_id":"","url":"https://api.github.com/users/kisvegabor","html_url":"https://github.com/kisvegabor","followers_url":"https://api.github.com/users/kisvegabor/followers","following_url":"https://api.github.com/users/kisvegabor/following{/other_user}","gists_url":"https://api.github.com/users/kisvegabor/gists{/gist_id}","starred_url":"https://api.github.com/users/kisvegabor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kisvegabor/subscriptions","organizations_url":"https://api.github.com/users/kisvegabor/orgs","repos_url":"https://api.github.com/users/kisvegabor/repos","events_url":"https://api.github.com/users/kisvegabor/events{/privacy}","received_events_url":"https://api.github.com/users/kisvegabor/received_events","type":"User","site_admin":false},"created_at":"2018-09-07T09:27:57Z","updated_at":"2018-09-07T09:27:57Z","author_association":"MEMBER","body":"Great, if you are in [0,1023] range then in the read function just do this:\r\n```\r\nlast_x = (x_act * MONITOR_HOR_RES) / 1024;\r\nlast_y = (y_act * MONITOR_VER_RES) / 1024;\r\n```\r\nWhere `x_act` and `y_act` are the curent coordinates.\r\n\r\nFor the point 2) I meant it's a possible feature. There no defines for it now. \r\n\r\n> would it be a 3rd possibilty to read the touch-data and use your function as below?\r\nbool my_tp_read(lv_indev_data_t *data)\r\n\r\nHow do you mean it? `my_tp_read` is your current touchpad read function, isn't it?\r\n"}}
{"actor":{"display_login":"kisvegabor"}}