{"id":30280021,"url":"https://github.com/bbbbbr/gameboy-usb-mouse","last_synced_at":"2025-08-16T14:37:18.033Z","repository":{"id":310011215,"uuid":"1038368344","full_name":"bbbbbr/gameboy-usb-mouse","owner":"bbbbbr","description":"GBDK example of using a USB mouse with the Game Boy (via a modified Inside Gadgets usb keyboard adapter)","archived":false,"fork":false,"pushed_at":"2025-08-15T05:09:21.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-15T06:26:43.543Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bbbbbr.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,"zenodo":null}},"created_at":"2025-08-15T04:22:39.000Z","updated_at":"2025-08-15T05:22:08.000Z","dependencies_parsed_at":"2025-08-15T06:26:47.017Z","dependency_job_id":"ada1f38f-da6a-43ce-834c-059e71817856","html_url":"https://github.com/bbbbbr/gameboy-usb-mouse","commit_stats":null,"previous_names":["bbbbbr/gameboy-usb-mouse"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/bbbbbr/gameboy-usb-mouse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbbbbr%2Fgameboy-usb-mouse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbbbbr%2Fgameboy-usb-mouse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbbbbr%2Fgameboy-usb-mouse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbbbbr%2Fgameboy-usb-mouse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bbbbbr","download_url":"https://codeload.github.com/bbbbbr/gameboy-usb-mouse/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbbbbr%2Fgameboy-usb-mouse/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270723853,"owners_count":24634484,"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-16T02:00:11.002Z","response_time":91,"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-08-16T14:36:09.134Z","updated_at":"2025-08-16T14:37:18.005Z","avatar_url":"https://github.com/bbbbbr.png","language":"C","readme":"# GBDK/C Mouse Example for Inside Gadgets USB adapter\nExample for using a Inside Gadgets Keyboard adapter modified\nto work with a mouse. The adapter is connected to the link port.\n\nhttps://github.com/user-attachments/assets/03dc71b7-e846-4c97-9b48-a62c6c032300\n\nAdapter:\nhttps://shop.insidegadgets.com/product/gameboy-usb-keyboard-adapter/\n\nRequires the modified firmware at:\nhttps://github.com/bbbbbr/CH559sdccUSBHost/\n\nOnce the mouse interrupt is initialized and the data is started,\nit reads the link port connected to the AVR part continually to\ncheck for data. When data is found (non-zero) it's stored into\na ring buffer and read out from the main loop.\n\nEach mouse transfer has 3 bytes: buttons \u0026 flags, x and y.\n\nThe CH559 firmware may be somewhat specific to some models of logitech mice\nright now (M510 works). The solution may be switching connected mice into \"boot\"\nmode. Otherwise the firmware would need be to changed on a per-device basis \ndepending on how the mouse packs it's buttons and movements into the HID reports.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbbbbr%2Fgameboy-usb-mouse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbbbbbr%2Fgameboy-usb-mouse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbbbbr%2Fgameboy-usb-mouse/lists"}