{"id":19441562,"url":"https://github.com/antix-development/keymanager","last_synced_at":"2026-05-13T13:32:42.175Z","repository":{"id":91497757,"uuid":"97926818","full_name":"Antix-Development/KeyManager","owner":"Antix-Development","description":"A simple keypress manager for Gideros","archived":false,"fork":false,"pushed_at":"2017-10-28T22:00:42.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-07T21:53:03.809Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Antix-Development.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":"2017-07-21T08:48:36.000Z","updated_at":"2018-02-08T10:54:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"70315cf2-af15-47c9-aa5c-a668bb8b91fb","html_url":"https://github.com/Antix-Development/KeyManager","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/Antix-Development%2FKeyManager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Antix-Development%2FKeyManager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Antix-Development%2FKeyManager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Antix-Development%2FKeyManager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Antix-Development","download_url":"https://codeload.github.com/Antix-Development/KeyManager/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240625712,"owners_count":19831385,"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":"2024-11-10T15:36:14.136Z","updated_at":"2026-05-13T13:32:42.126Z","avatar_url":"https://github.com/Antix-Development.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# KeyManager\n\nA simple key manager for Gideros\n\nKeyManager is a class to manage key presses in Gideros. With it you can register a callback to be executed when a key is pressed or released, and determine the key held state of any key at any time.\n\n```Lua\n\n-- Example use\n\nlocal keys = KeyManager.new()\n \nkeys:registerDown(KeyCode.E, function()\n  print(\"e is down \") -- this will happen every time the e key is pressed\nend)\n \nkeys:registerUp(KeyCode.E, function()\n  print(\"e is up \")  -- this will happen every time the e key is released\nend)\n \nlocal function onEnterFrame(e)\n  if keys:state(KeyCode.A) then\n    print(\"a held\") -- this will happen when the a key is held down\n  end\nend\n \nstage:addEventListener(Event.ENTER_FRAME, onEnterFrame)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantix-development%2Fkeymanager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantix-development%2Fkeymanager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantix-development%2Fkeymanager/lists"}