{"id":16253562,"url":"https://github.com/pleft/omega2-python-evdev","last_synced_at":"2025-10-12T23:15:58.459Z","repository":{"id":75633785,"uuid":"95709905","full_name":"pleft/omega2-python-evdev","owner":"pleft","description":"python-evdev library for Onion Omega2","archived":false,"fork":false,"pushed_at":"2017-06-29T07:13:25.000Z","size":29,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-08T12:50:47.562Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/pleft.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":"2017-06-28T20:42:06.000Z","updated_at":"2021-11-28T20:44:25.000Z","dependencies_parsed_at":"2023-06-07T04:30:24.120Z","dependency_job_id":null,"html_url":"https://github.com/pleft/omega2-python-evdev","commit_stats":{"total_commits":9,"total_committers":1,"mean_commits":9.0,"dds":0.0,"last_synced_commit":"c18eed4d71af7453f5ad36b7e20c8dec1a1909d3"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pleft/omega2-python-evdev","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pleft%2Fomega2-python-evdev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pleft%2Fomega2-python-evdev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pleft%2Fomega2-python-evdev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pleft%2Fomega2-python-evdev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pleft","download_url":"https://codeload.github.com/pleft/omega2-python-evdev/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pleft%2Fomega2-python-evdev/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279013462,"owners_count":26085274,"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-12T02:00:06.719Z","response_time":53,"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":"2024-10-10T15:17:47.987Z","updated_at":"2025-10-12T23:15:58.416Z","avatar_url":"https://github.com/pleft.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# omega2-python-evdev\npython-evdev library for [Onion Omega2](https://onion.io/)\n\n## Instructions\n\n- ssh to your onion omega2\n- download the package: `wget https://github.com/pleft/omega2-python-evdev/raw/master/packages/python-evdev_0.4.7-1_mipsel_24kc.ipk`\n- install it: `opkg python-evdev_0.4.7-1_mipsel_24kc.ipk install`\n- use it in your python scripts! For more: http://python-evdev.readthedocs.io\n\n## usb-gamepad.py\nPlug a usb joystick/gamepad on your onion [expansion dock](https://docs.onion.io/omega2-docs/expansion-dock.html). After a few seconds a new `device file` should appear in omega's `/dev/input` directory, usually named `event0`. `python-evdev` can read this device file and faciliates the translation of the events. \n\nFor now `usb-gamepad.py` script just connects to `/dev/input/event0` and displays info about the joystick/gamepad controller connected to the usb port. It can be expanded to perform basic functions such as read the buttons' states.\n\nRun it with: `python usb-gamepad.py`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpleft%2Fomega2-python-evdev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpleft%2Fomega2-python-evdev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpleft%2Fomega2-python-evdev/lists"}