{"id":13644056,"url":"https://github.com/WuDi-ZhanShen/Android-Gyroscope-MC","last_synced_at":"2025-04-21T06:32:48.694Z","repository":{"id":166749627,"uuid":"594325894","full_name":"WuDi-ZhanShen/Android-Gyroscope-MC","owner":"WuDi-ZhanShen","description":"用陀螺仪玩安卓MC！Play Android MC with your phone's Gyro !","archived":false,"fork":false,"pushed_at":"2024-09-18T03:49:21.000Z","size":242,"stargazers_count":23,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-09T16:43:40.312Z","etag":null,"topics":["android","gyroscope","minecraft-plugin","vr"],"latest_commit_sha":null,"homepage":"","language":"Java","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/WuDi-ZhanShen.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-01-28T07:23:11.000Z","updated_at":"2024-11-07T03:19:15.000Z","dependencies_parsed_at":"2024-11-09T16:42:53.093Z","dependency_job_id":null,"html_url":"https://github.com/WuDi-ZhanShen/Android-Gyroscope-MC","commit_stats":null,"previous_names":["wudi-zhanshen/android-gyroscope-mc"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WuDi-ZhanShen%2FAndroid-Gyroscope-MC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WuDi-ZhanShen%2FAndroid-Gyroscope-MC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WuDi-ZhanShen%2FAndroid-Gyroscope-MC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WuDi-ZhanShen%2FAndroid-Gyroscope-MC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WuDi-ZhanShen","download_url":"https://codeload.github.com/WuDi-ZhanShen/Android-Gyroscope-MC/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250008274,"owners_count":21359956,"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","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":["android","gyroscope","minecraft-plugin","vr"],"created_at":"2024-08-02T01:01:56.936Z","updated_at":"2025-04-21T06:32:43.658Z","avatar_url":"https://github.com/WuDi-ZhanShen.png","language":"Java","funding_links":[],"categories":["🔐 Security \u0026 Privacy"],"sub_categories":["🔧 Uncategorized Tools"],"readme":"# Android-Gyroscope-MC\n  用陀螺仪玩安卓MC！\n# 原理\n  利用Linux的UInput机制，使用adb权限或者root权限注册一个虚拟硬件手柄到系统。然后将陀螺仪数据实时转化为虚拟手柄的右摇杆的移动。\n# 为什么使用虚拟手柄，而不使用虚拟触控或者虚拟鼠标\n  虚拟触控会和真实手指的触控冲突 (虚拟触控无法模拟多点触控，问题核心就是无法实时得知10个触控槽位中哪些是有触控的，然后将虚拟触控安排在空闲的第一个槽位)，且虚拟触控划到屏幕边缘时就没办法继续划了。另外，在没有新触控方案的MC版本上，玩家划屏时是不能跳跃、放置、使用物品、攻击的；虚拟触控的划屏自然就会导致玩家坐牢，什么都干不了。\u003cbr\u003e\n  虚拟鼠标也会和真实手指的触控冲突。鼠标存在时，安卓系统会直接自动屏蔽全部硬件触控，这是一个无解的问题，并且很少有人注意到这个问题。大家一般都是直接接键鼠，然后纯键鼠操作；很少有人试过鼠标和触控同时操作。不过现在看到这里您就可以去试一试了，您将发现鼠标移动时安卓系统会直接屏蔽掉手指触控。\u003cbr\u003e\n  而虚拟手柄是唯一的不和触控存在冲突的方式。\n  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWuDi-ZhanShen%2FAndroid-Gyroscope-MC","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FWuDi-ZhanShen%2FAndroid-Gyroscope-MC","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWuDi-ZhanShen%2FAndroid-Gyroscope-MC/lists"}