{"id":27946835,"url":"https://github.com/dmccuskey/dmc-touchmanager","last_synced_at":"2025-07-18T15:37:51.102Z","repository":{"id":26985961,"uuid":"30449758","full_name":"dmccuskey/dmc-touchmanager","owner":"dmccuskey","description":"Enables true multitouch capability in the Corona SDK","archived":false,"fork":false,"pushed_at":"2015-04-29T15:46:49.000Z","size":252,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-07T13:58:20.815Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"docs.davidmccuskey.com/dmc-touchmanager","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dmccuskey.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-07T08:14:58.000Z","updated_at":"2018-09-28T08:35:13.000Z","dependencies_parsed_at":"2022-08-31T21:46:15.000Z","dependency_job_id":null,"html_url":"https://github.com/dmccuskey/dmc-touchmanager","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dmccuskey/dmc-touchmanager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmccuskey%2Fdmc-touchmanager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmccuskey%2Fdmc-touchmanager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmccuskey%2Fdmc-touchmanager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmccuskey%2Fdmc-touchmanager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dmccuskey","download_url":"https://codeload.github.com/dmccuskey/dmc-touchmanager/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmccuskey%2Fdmc-touchmanager/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265787164,"owners_count":23828375,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-07T13:58:16.787Z","updated_at":"2025-07-18T15:37:51.082Z","avatar_url":"https://github.com/dmccuskey.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dmc-touchmanager\n\nBrings true multi-touch to the Corona SDK\n\nThis module was created because to patch the current multitouch capability in Corona SDK so it functions as expected.\n\nExamples can be found in the directory `examples`\n\n\n**Simple Function Handler Example**\n\n```lua\nlocal TouchMgr = require 'dmc_touchmanager'\n\n-- setup our function-type event call\n--\nlocal handler = function( event )\n\n\tif event.phase == 'began' then\n\n\t\t-- set focus if the object (target) wants to\n\t\t-- always receive this event (blocking all others)\n\t\tTouchMgr:setFocus( event.target, event.id )\n\n\t\treturn true\n\tend\n\n\tif not event.isFocused then return end\n\n\tif event.phase == 'moved' then \n\t\t-- handle 'moved' event\n\n\telseif event.phase=='cancelled' or event.phase=='ended' then\n\t\t-- handle 'ended'/'cancelled' event\n\n\t\t-- be sure to unset focus\n\t\tTouchMgr:unsetFocus( event.target, event.id )\n\n\tend\n\n\treturn true\nend\n\nlocal o = display.newRect( 350, 700, 300, 300 )\no:setFillColor( 1, 1, 1 )\n\nTouchMgr:register( o, handler )\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmccuskey%2Fdmc-touchmanager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdmccuskey%2Fdmc-touchmanager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmccuskey%2Fdmc-touchmanager/lists"}