{"id":19757307,"url":"https://github.com/thundertecke/press-and-repeat-interaction","last_synced_at":"2025-04-30T12:31:38.300Z","repository":{"id":153809619,"uuid":"576686127","full_name":"ThunderTecke/Press-and-repeat-interaction","owner":"ThunderTecke","description":"Hold and repeat interaction for Unity Input System","archived":false,"fork":false,"pushed_at":"2024-09-10T22:15:31.000Z","size":11,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-09-11T02:44:42.446Z","etag":null,"topics":["events","gamedev","gamedevelopment","input-system","inputsystem","interaction","unity","unity-interaction","unity2d","unity3d"],"latest_commit_sha":null,"homepage":"","language":"C#","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/ThunderTecke.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-12-10T16:45:32.000Z","updated_at":"2024-09-10T22:15:35.000Z","dependencies_parsed_at":"2023-07-08T17:01:25.393Z","dependency_job_id":null,"html_url":"https://github.com/ThunderTecke/Press-and-repeat-interaction","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThunderTecke%2FPress-and-repeat-interaction","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThunderTecke%2FPress-and-repeat-interaction/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThunderTecke%2FPress-and-repeat-interaction/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThunderTecke%2FPress-and-repeat-interaction/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ThunderTecke","download_url":"https://codeload.github.com/ThunderTecke/Press-and-repeat-interaction/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224208217,"owners_count":17273739,"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":["events","gamedev","gamedevelopment","input-system","inputsystem","interaction","unity","unity-interaction","unity2d","unity3d"],"created_at":"2024-11-12T03:18:57.103Z","updated_at":"2024-11-12T03:18:58.494Z","avatar_url":"https://github.com/ThunderTecke.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Press and repeat interaction\n\nThis interaction allows you to generate Input System events to manage a held key.\n\"Press\" event can be activate to also generate an event on pressing the binding.\n\nThis interaction was developed with **Unity 2021.3.10f1** and **Input System 1.4.4**\n\n## How to install\n\nYou can copy ``PressAndRepeatInteraction.cs`` script everywhere in your project folder. But preferably correctly oragnized.\nFor exemple, in ``Interactions`` folder.\n\n## How to use\n\nYou just have to add the interaction on your action (or binding) with the ``+`` and select ``Press And Repeat``.\nThen you have to adjust parameters on your convenience.\n\n### Parameters\n\n- ``Press`` : Used to activate ``press`` event. It's send on pressing. Just like normal action.\n- ``Hold Time`` : Used to consider binding held, and send a second event.\n- ``Repeating Time`` : Used to send next events with a constant time interval.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthundertecke%2Fpress-and-repeat-interaction","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthundertecke%2Fpress-and-repeat-interaction","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthundertecke%2Fpress-and-repeat-interaction/lists"}