{"id":24961200,"url":"https://github.com/cag/boobs","last_synced_at":"2025-08-16T01:13:42.211Z","repository":{"id":934525,"uuid":"707095","full_name":"cag/BOOBS","owner":"cag","description":"Input library for LOVE (love2d.org)","archived":false,"fork":false,"pushed_at":"2010-06-12T03:47:19.000Z","size":104,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-28T22:17:12.332Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cag.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-06-07T07:47:08.000Z","updated_at":"2016-05-06T23:39:12.000Z","dependencies_parsed_at":"2022-07-19T22:33:55.213Z","dependency_job_id":null,"html_url":"https://github.com/cag/BOOBS","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cag/BOOBS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cag%2FBOOBS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cag%2FBOOBS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cag%2FBOOBS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cag%2FBOOBS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cag","download_url":"https://codeload.github.com/cag/BOOBS/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cag%2FBOOBS/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270653579,"owners_count":24622790,"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","status":"online","status_checked_at":"2025-08-15T02:00:12.559Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-02-03T08:45:48.248Z","updated_at":"2025-08-16T01:13:42.189Z","avatar_url":"https://github.com/cag.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"(.) BOOBS (.)\n=============\n\nA juicy input library for LOVE.\nby your friend\n Alan Lu\n\n== Quick-start guide ==\n1. put boobs.update() in love.update somewhere\n2. make movelists via \u003cmovelist identifier\u003e = boobs.movelist:new(\"name me something unique!\")\n3. for each movelist you make, register sequences in them via \u003cmovelist identifier\u003e:register_sequence(sequence, callback)\n4. for each player you got, call \u003cplayer var\u003e = boobs.player:new()\n5. bind joystick axes/hat/keys to directions with \u003cplayer var\u003e:bind_dir{ direction description }\n6. bind buttons/keys to inputs with \u003cplayer var\u003e:bind_input(symbol, { input description })\n7. if you want to flip the horizontal axis for a player, set \u003cplayer var\u003e.hflip = true\n\n== X-TRA NOTES ==\nreserved symbols for directions: l r u d lu ru ld rd\nthings are case sensitive unless you normalize your input\nevery input you bind produces press events (represented by the symbol you pass in) and release events (represented by symbol..\"^\")\nsequence tokens, or symbols, are deliminated via whitespace\ncallbacks take one argument, the player index, and don't return anything\nplayers are indexed in the order of their creation\nhadoken is pretty much \"d rd r p\"\n\nSEE: main.lua for an working example \u003c this will probably be the most useful to look at\n\nRECOMMENDED: use this together with a state machine if your sequences overlap to make character behavior consistent\n\nGOTO: http://www.love2d.org\nMaek gaems.\nBe happy.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcag%2Fboobs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcag%2Fboobs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcag%2Fboobs/lists"}