{"id":19206194,"url":"https://github.com/natk64/esp32-gamepads","last_synced_at":"2026-04-17T19:32:59.126Z","repository":{"id":131765383,"uuid":"606046822","full_name":"natk64/ESP32-Gamepads","owner":"natk64","description":"Retro Gamepads for ESP32","archived":false,"fork":false,"pushed_at":"2026-01-01T18:49:58.000Z","size":26,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-07T02:31:42.281Z","etag":null,"topics":["esp32","gamepad","retrogaming"],"latest_commit_sha":null,"homepage":"","language":"C++","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/natk64.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":"2023-02-24T13:32:54.000Z","updated_at":"2026-01-01T18:50:03.000Z","dependencies_parsed_at":"2024-07-20T00:05:05.751Z","dependency_job_id":null,"html_url":"https://github.com/natk64/ESP32-Gamepads","commit_stats":null,"previous_names":["natk64/esp32-gamepads"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/natk64/ESP32-Gamepads","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natk64%2FESP32-Gamepads","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natk64%2FESP32-Gamepads/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natk64%2FESP32-Gamepads/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natk64%2FESP32-Gamepads/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/natk64","download_url":"https://codeload.github.com/natk64/ESP32-Gamepads/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natk64%2FESP32-Gamepads/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31943421,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T17:29:20.459Z","status":"ssl_error","status_checked_at":"2026-04-17T17:28:47.801Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["esp32","gamepad","retrogaming"],"created_at":"2024-11-09T13:15:02.438Z","updated_at":"2026-04-17T19:32:59.112Z","avatar_url":"https://github.com/natk64.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ESP32-Gamepads\n\nThis library allows the ESP32 to interface with many retro gamepads\n\n## Supported Gamepads\n\n- NES\n- SNES\n- N64\n- Gamecube\n- Genesis/Mega drive\n\n## Installation\n\nClone [ESP32-N64-RMT](https://github.com/NicoKleinschmidt/ESP32-N64-RMT) and this Repo into the components directory of your ESP-IDF project\n\n## Basic Usage\n\n```cpp\n// Create a new Gamepad.\n// Set the pin numbers the gamepad is connected to.\nGamepadNES gamepad(17, 19, 21);\n\n// Initialize the Gamepad.\ngamepad.initialize();\n\nfor(;;)\n{\n    // Call update to get current values.\n    gamepad.update();\n\n    // Print button states.\n    ESP_LOGI(\"NES\", \n             \"A: %d B: %d, SELECT: %d, START: %d, UP: %d, DOWN: %d, LEFT: %d, RIGHT: %d\", \n             gamepad.a(), \n             gamepad.b(),\n             gamepad.select(),\n             gamepad.start(),\n             gamepad.up(),\n             gamepad.down(),\n             gamepad.left(),\n             gamepad.right());\n\n    // Wait 20ms before next update.\n    vTaskDelay(20 / portTICK_PERIOD_MS);;\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatk64%2Fesp32-gamepads","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnatk64%2Fesp32-gamepads","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatk64%2Fesp32-gamepads/lists"}