{"id":24312836,"url":"https://github.com/ansiwen/dualjoy","last_synced_at":"2025-10-05T00:08:45.776Z","repository":{"id":271455073,"uuid":"913032653","full_name":"ansiwen/dualjoy","owner":"ansiwen","description":"Retro joystick USB adapter","archived":false,"fork":false,"pushed_at":"2025-01-14T19:01:32.000Z","size":3521,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-16T11:52:10.099Z","etag":null,"topics":["amiga","atari2600","c64","d-sub","de-9","emulation","joystick","misterfpga","raspberry-pi-pico","raspberry-pico","retro","retrogaming","retropie","rp2040","usb"],"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/ansiwen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.TXT","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":"2025-01-06T22:29:39.000Z","updated_at":"2025-02-10T23:24:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"9c08e87a-02f4-407b-83ca-0728adad577a","html_url":"https://github.com/ansiwen/dualjoy","commit_stats":null,"previous_names":["ansiwen/dualjoy"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ansiwen/dualjoy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansiwen%2Fdualjoy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansiwen%2Fdualjoy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansiwen%2Fdualjoy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansiwen%2Fdualjoy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ansiwen","download_url":"https://codeload.github.com/ansiwen/dualjoy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansiwen%2Fdualjoy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278391220,"owners_count":25978947,"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-10-04T02:00:05.491Z","response_time":63,"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":["amiga","atari2600","c64","d-sub","de-9","emulation","joystick","misterfpga","raspberry-pi-pico","raspberry-pico","retro","retrogaming","retropie","rp2040","usb"],"created_at":"2025-01-17T08:30:34.393Z","updated_at":"2025-10-05T00:08:45.759Z","avatar_url":"https://github.com/ansiwen.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DualJoy\n\nThis is a firmware for the Rapsberry Pi Pico that turns it into a USB adapter\nfor _two_ D-Sub 9 joysticks, as they where used for example with the Atari 2600\nconsole and the Commodore C64 and Amiga home computers. They will appear as two\ndigital hats/d-pads with only one button.\n\nThe code is based on the various examples of the Pico SDK and TinyUSB and keeps\ntheir MIT license.\n\n## Usage\n\nYou can use the precompiled binary from the release page if you use the same\nGPIOs as in the hardware example below:\n\nGPIO | D-SUB pin | Function\n-:|:-|:-\n10 | 1 (J1) | J1 UP\n11 | 2 (J1) | J1 DOWN\n12 | 3 (J1) | J1 LEFT\n13 | 4 (J1) | J1 RIGHT\n9 | 6 (J1) | J1 BTN\n18 | 1 (J2) | J2 UP\n19 | 2 (J2) | J2 DOWN\n20 | 3 (J2) | J2 LEFT\n21 | 4 (J2) | J2 RIGHT\n17 | 6 (J2) | J2 BTN\n\nAdditionally you need to connect pin 8 of both D-SUB connectors with GND on the\nPico.\n\n## Build\n\nIf you want to use different GPIOs, you easily can build the firmware yourself.\nLike any other pico project, after installing the \n[Pico SDK](https://github.com/raspberrypi/pico-sdk) you do:\n\n```\n$ mkdir build\n$ cd build\n$ cmake ..\n$ make\n```\n\n## Simple hardware example\n\n\u003cp align=\"justify\"\u003e\n  \u003cimg src=\"images/IMG_4929.jpg\" alt=\"First image\" width=\"49%\"\u003e\n  \u003cimg src=\"images/IMG_4930.jpg\" alt=\"Second image\" width=\"49%\"\u003e\n  \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fansiwen%2Fdualjoy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fansiwen%2Fdualjoy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fansiwen%2Fdualjoy/lists"}