{"id":21870821,"url":"https://github.com/savaughn/raylib-rgb30-template","last_synced_at":"2025-07-21T16:33:15.806Z","repository":{"id":213430574,"uuid":"734098932","full_name":"savaughn/raylib-rgb30-template","owner":"savaughn","description":"A template project to develop native games for the Powkiddy RGB30 using raylib","archived":false,"fork":false,"pushed_at":"2024-05-22T01:59:54.000Z","size":861,"stargazers_count":12,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T23:55:10.336Z","etag":null,"topics":["c","raylib","rgb30"],"latest_commit_sha":null,"homepage":"","language":"C","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/savaughn.png","metadata":{"files":{"readme":"readme.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-20T21:38:14.000Z","updated_at":"2025-03-29T18:16:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"66e865d3-7de1-405b-b86f-b9c443c6051b","html_url":"https://github.com/savaughn/raylib-rgb30-template","commit_stats":null,"previous_names":["savaughn/raylib-rgb30-template"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/savaughn/raylib-rgb30-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/savaughn%2Fraylib-rgb30-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/savaughn%2Fraylib-rgb30-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/savaughn%2Fraylib-rgb30-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/savaughn%2Fraylib-rgb30-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/savaughn","download_url":"https://codeload.github.com/savaughn/raylib-rgb30-template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/savaughn%2Fraylib-rgb30-template/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266334543,"owners_count":23913002,"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-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["c","raylib","rgb30"],"created_at":"2024-11-28T06:12:42.440Z","updated_at":"2025-07-21T16:33:15.785Z","avatar_url":"https://github.com/savaughn.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Raylib Game Template for Powkiddy RGB30\n\nThis is a template project for creating games with [raylib](https://www.github.com/raysan5/raylib) on the Powkiddy RGB30 Linux arm64 handheld running JELOS using an arm64 Linux development machine. While cross-compiling is possible, it's outside the scope of this template.\n\n![screenshot000](https://github.com/savaughn/raylib-rgb30-template/assets/25937456/782759a7-2b84-495b-8aa2-750318e60af0)\n\n## Setup Linux dev environment\n\n```bash\n./setup_linux.sh\n```\nThis will allow you to save your device's SSH IP and password, install dev dependencies required to compile your game for aarch64 PLATFORM_DRM using OpenGL ES 2.0. It will call initialize_rgb30 in the makefile which will access your device over ssh to create the required folder in ports and add a launch script.\n\nNOTE: Be sure that your device is on, connected to same network as your development machine, and ssh is enabled.\n\n - Local IP: Start \u003e Network Settings \u003e Information \u003e IP Address\n - Enable SSH: Start \u003e Network Settings \u003e Network Services \u003e Enable SSH\n - Password: Start \u003e System Settings \u003e Authentication \u003e Root Password\n\n## Raylib dependency\n\nPackaged with this template is raylib-5.0 compiled for PLATFORM_DRM. If you wish to run your builds on desktop during development, then you'll need to include a pre-built copy of raylib for PLATFORM_DESKTOP.\n\n## Building for RGB30\n\nTo build specifically for the RGB30, use the following command:\n\n```bash\nmake rgb30\n```\nDoing so keeps the raylib makefile relatively stock to facilitate development/testing on desktop.\n\n## Sending build to device\n\nTo send the build to device over ssh, use the following command:\n\n```bash\nmake send\n```\n\n## Additional Commands\n\nTo build and send to device, use:\n\n```bash\nmake rgb30 send\n```\n## Custom controller implementation\n\n- When compiled for PLATFORM_DRM, the rcore function, `IsGamepadButtonPressed`, doesn't return true when a button is pressed. Instead use `is_button_pressed` which returns a boolean on button press in conjunction with `update_button_state` before draw and `refresh_button_state` after draw. These functions emulate the raylib core implementation.\n\n- The default value from raylib, `GAMEPAD_BUTTON_UNKNOWN = 0`, conflicts with the RGB30's keyinput values where RIGHT_FACE_DOWN (\"B\") reports as 0. The enum `rgb30_buttons` arranges the buttons by the keyinput value reported on the device.\n\n## Known Issues\n- Does not work on Rocknix due to graphics driver changes. I have to investigate further to determine the cause.\n\n## Working Example\n### [savaughn/vertical30](https://github.com/savaughn/vertical30)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsavaughn%2Fraylib-rgb30-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsavaughn%2Fraylib-rgb30-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsavaughn%2Fraylib-rgb30-template/lists"}