{"action":"created","issue":{"url":"https://api.github.com/repos/godotengine/godot/issues/26880","repository_url":"https://api.github.com/repos/godotengine/godot","labels_url":"https://api.github.com/repos/godotengine/godot/issues/26880/labels{/name}","comments_url":"https://api.github.com/repos/godotengine/godot/issues/26880/comments","events_url":"https://api.github.com/repos/godotengine/godot/issues/26880/events","html_url":"https://github.com/godotengine/godot/issues/26880","id":419226592,"node_id":"MDU6SXNzdWU0MTkyMjY1OTI=","number":26880,"title":"The project setting \"Emulate Mouse from touch\" on android export not works on 3.1 RC1","user":{"login":"zarsystem","id":3175411,"node_id":"MDQ6VXNlcjMxNzU0MTE=","avatar_url":"https://avatars3.githubusercontent.com/u/3175411?v=4","gravatar_id":"","url":"https://api.github.com/users/zarsystem","html_url":"https://github.com/zarsystem","followers_url":"https://api.github.com/users/zarsystem/followers","following_url":"https://api.github.com/users/zarsystem/following{/other_user}","gists_url":"https://api.github.com/users/zarsystem/gists{/gist_id}","starred_url":"https://api.github.com/users/zarsystem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zarsystem/subscriptions","organizations_url":"https://api.github.com/users/zarsystem/orgs","repos_url":"https://api.github.com/users/zarsystem/repos","events_url":"https://api.github.com/users/zarsystem/events{/privacy}","received_events_url":"https://api.github.com/users/zarsystem/received_events","type":"User","site_admin":false},"labels":[{"id":73330064,"node_id":"MDU6TGFiZWw3MzMzMDA2NA==","url":"https://api.github.com/repos/godotengine/godot/labels/bug","name":"bug","color":"ff2222","default":true},{"id":279097562,"node_id":"MDU6TGFiZWwyNzkwOTc1NjI=","url":"https://api.github.com/repos/godotengine/godot/labels/platform:android","name":"platform:android","color":"dddddd","default":false},{"id":890310664,"node_id":"MDU6TGFiZWw4OTAzMTA2NjQ=","url":"https://api.github.com/repos/godotengine/godot/labels/topic:input","name":"topic:input","color":"ffdd44","default":false}],"state":"open","locked":false,"assignee":{"login":"RandomShaper","id":11797174,"node_id":"MDQ6VXNlcjExNzk3MTc0","avatar_url":"https://avatars0.githubusercontent.com/u/11797174?v=4","gravatar_id":"","url":"https://api.github.com/users/RandomShaper","html_url":"https://github.com/RandomShaper","followers_url":"https://api.github.com/users/RandomShaper/followers","following_url":"https://api.github.com/users/RandomShaper/following{/other_user}","gists_url":"https://api.github.com/users/RandomShaper/gists{/gist_id}","starred_url":"https://api.github.com/users/RandomShaper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RandomShaper/subscriptions","organizations_url":"https://api.github.com/users/RandomShaper/orgs","repos_url":"https://api.github.com/users/RandomShaper/repos","events_url":"https://api.github.com/users/RandomShaper/events{/privacy}","received_events_url":"https://api.github.com/users/RandomShaper/received_events","type":"User","site_admin":false},"assignees":[{"login":"RandomShaper","id":11797174,"node_id":"MDQ6VXNlcjExNzk3MTc0","avatar_url":"https://avatars0.githubusercontent.com/u/11797174?v=4","gravatar_id":"","url":"https://api.github.com/users/RandomShaper","html_url":"https://github.com/RandomShaper","followers_url":"https://api.github.com/users/RandomShaper/followers","following_url":"https://api.github.com/users/RandomShaper/following{/other_user}","gists_url":"https://api.github.com/users/RandomShaper/gists{/gist_id}","starred_url":"https://api.github.com/users/RandomShaper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RandomShaper/subscriptions","organizations_url":"https://api.github.com/users/RandomShaper/orgs","repos_url":"https://api.github.com/users/RandomShaper/repos","events_url":"https://api.github.com/users/RandomShaper/events{/privacy}","received_events_url":"https://api.github.com/users/RandomShaper/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/godotengine/godot/milestones/7","html_url":"https://github.com/godotengine/godot/milestone/7","labels_url":"https://api.github.com/repos/godotengine/godot/milestones/7/labels","id":2529217,"node_id":"MDk6TWlsZXN0b25lMjUyOTIxNw==","number":7,"title":"3.1","description":"","creator":{"login":"akien-mga","id":4701338,"node_id":"MDQ6VXNlcjQ3MDEzMzg=","avatar_url":"https://avatars0.githubusercontent.com/u/4701338?v=4","gravatar_id":"","url":"https://api.github.com/users/akien-mga","html_url":"https://github.com/akien-mga","followers_url":"https://api.github.com/users/akien-mga/followers","following_url":"https://api.github.com/users/akien-mga/following{/other_user}","gists_url":"https://api.github.com/users/akien-mga/gists{/gist_id}","starred_url":"https://api.github.com/users/akien-mga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akien-mga/subscriptions","organizations_url":"https://api.github.com/users/akien-mga/orgs","repos_url":"https://api.github.com/users/akien-mga/repos","events_url":"https://api.github.com/users/akien-mga/events{/privacy}","received_events_url":"https://api.github.com/users/akien-mga/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":6543,"state":"open","created_at":"2017-05-18T13:33:56Z","updated_at":"2019-03-10T20:30:33Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2019-03-10T20:11:15Z","updated_at":"2019-03-10T21:07:05Z","closed_at":null,"author_association":"NONE","body":"**Godot version:**\r\nGodot 3.1 RC1\r\n\r\n**OS/device including version:**\r\nAndroid 6.0/Huawei Mate 7\r\n\r\n\r\n**Issue description:**\r\nOn previous beta builds this option works on android exports using this line of code:\r\n\r\n```\r\n# \"ui_touch\" binds to mouse left button in project setting Input Map\r\nif Input.is_action_pressed(\"ui_touch\"):\r\n\tmouse_pos = get_global_mouse_position()\r\n        \r\n```\r\nbut in current RC1 build this not works on android and on my phone input touchs not detected.\r\nSure I currently solve my problem using this:\r\n```\r\nif event is InputEventScreenTouch and event.is_pressed():\r\n       mouse_pos = get_global_mouse_position()\r\n```\r\nJust report this issue that may helps make godot excellent as is!\r\n\r\nSorry for my bad English! \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/godotengine/godot/issues/comments/471344644","html_url":"https://github.com/godotengine/godot/issues/26880#issuecomment-471344644","issue_url":"https://api.github.com/repos/godotengine/godot/issues/26880","id":471344644,"node_id":"MDEyOklzc3VlQ29tbWVudDQ3MTM0NDY0NA==","user":{"login":"RandomShaper","id":11797174,"node_id":"MDQ6VXNlcjExNzk3MTc0","avatar_url":"https://avatars0.githubusercontent.com/u/11797174?v=4","gravatar_id":"","url":"https://api.github.com/users/RandomShaper","html_url":"https://github.com/RandomShaper","followers_url":"https://api.github.com/users/RandomShaper/followers","following_url":"https://api.github.com/users/RandomShaper/following{/other_user}","gists_url":"https://api.github.com/users/RandomShaper/gists{/gist_id}","starred_url":"https://api.github.com/users/RandomShaper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RandomShaper/subscriptions","organizations_url":"https://api.github.com/users/RandomShaper/orgs","repos_url":"https://api.github.com/users/RandomShaper/repos","events_url":"https://api.github.com/users/RandomShaper/events{/privacy}","received_events_url":"https://api.github.com/users/RandomShaper/received_events","type":"User","site_admin":false},"created_at":"2019-03-10T21:07:05Z","updated_at":"2019-03-10T21:07:05Z","author_association":"MEMBER","body":"The problem is that now emulated mouse events are reported as coming from device id -1, so the input map must be set accordingly.\r\n\r\nI think the best way to fix this is listing the \"touch mouse\" explicitly in the dialog used to map mouse to actions.\r\n\r\nI'll submit a PR shortly."}}
{"actor":{"display_login":"RandomShaper"}}