{"id":23359700,"url":"https://github.com/risto97/vrpark_remap","last_synced_at":"2026-05-02T04:34:47.625Z","repository":{"id":135834222,"uuid":"601335376","full_name":"Risto97/vrpark_remap","owner":"Risto97","description":"Remapping app for cheap Aliexpress joystick modules to be used with Kodi or other player","archived":false,"fork":false,"pushed_at":"2023-02-13T22:35:14.000Z","size":597,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-13T22:26:41.476Z","etag":null,"topics":["edev","input","joystick","keyboard","kodi","linux","mouse","remote-control","udev"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Risto97.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-13T21:11:52.000Z","updated_at":"2023-03-27T10:38:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"67146bce-1aa4-48cc-874b-ecce8aa7b34b","html_url":"https://github.com/Risto97/vrpark_remap","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Risto97%2Fvrpark_remap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Risto97%2Fvrpark_remap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Risto97%2Fvrpark_remap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Risto97%2Fvrpark_remap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Risto97","download_url":"https://codeload.github.com/Risto97/vrpark_remap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247729460,"owners_count":20986392,"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":["edev","input","joystick","keyboard","kodi","linux","mouse","remote-control","udev"],"created_at":"2024-12-21T11:11:41.257Z","updated_at":"2026-05-02T04:34:47.593Z","avatar_url":"https://github.com/Risto97.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca name=\"readme-top\"\u003e\u003c/a\u003e\n\n[![Forks][forks-shield]][forks-url]\n[![Stargazers][stars-shield]][stars-url]\n[![Issues][issues-shield]][issues-url]\n[![MIT License][license-shield]][license-url]\n\n\n\n\u003c!-- PROJECT LOGO --\u003e\n\u003cbr /\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/Risto97/vrpark_remap\"\u003e\n    \u003cimg src=\"docs/vrpark_photo.png\" alt=\"Logo\" width=\"500\" height=\"250\"\u003e\n  \u003c/a\u003e\n\n  \u003ch3 align=\"center\"\u003evrpark_remap\u003c/h3\u003e\n\n  \u003cp align=\"center\"\u003e\n    Application that remaps cheap Aliexpress remote mouse to keyboard button presses.\n    \u003cbr /\u003e\n    \u003c!-- \u003ca href=\"https://github.com/Risto97/VeriSC\"\u003e\u003cstrong\u003eExplore the docs »\u003c/strong\u003e\u003c/a\u003e --\u003e\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n    \u003c!-- \u003ca href=\"https://github.com/Risto97/VeriSC\"\u003eView Demo\u003c/a\u003e --\u003e\n    \u003c!-- · --\u003e\n    \u003ca href=\"https://github.com/Risto97/vrpark_remap/issues\"\u003eReport Bug\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/Risto97/vrpark_remap/issues\"\u003eRequest Feature\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n## About The Project\n\nIntend of the project was to use one of the cheap Aliexpress bluetooth joysticks to control Kodi. \u003cbr /\u003e\nOriginally the joystick of the remote controller is acting as a mouse.\n\n\n### Original Layout\n\u003cimg src=\"docs/vrpark_original_layout.png\" alt=\"Original layout\" style=\"width:500px;\"/\u003e\n\n### Remapped layout\n\nThe remapped controller has 2 modes, Mouse mode and Keyboard mode. \u003cbr /\u003e\nIt is possible to switch between modes by clicking D button, desktop notification is sent\n\u003cimg src=\"docs/mouse_mode_notification.png\" alt=\"Mouse layout\" style=\"width:300px;\"/\u003e\n\u003cimg src=\"docs/keyboard_mode_notification.png\" alt=\"Mouse layout\" style=\"width:300px;\"/\u003e\n\n#### Mouse mode\n\nIn this mode only VolumeUp is changed and is left for additional functionality.\n\n\u003cimg src=\"docs/vrpark_mouse_layout.png\" alt=\"Mouse layout\" style=\"width:500px;\"/\u003e\n\n#### Keyboard mode\n\nThis mode is meant to be used for Kodi player. \u003cbr /\u003e\nJoystick is remmaped so that it gives left, right up, down key presses when moved. \u003cbr /\u003e\nButtons B, A are Backspace and Enter.\n\n\n\u003cimg src=\"docs/vrpark_keyboard_layout.png\" alt=\"Keyboard layout\" style=\"width:500px;\"/\u003e\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\n\n## Getting Started\n\n### Prerequisites\n* Python-evdev is used to intercept the inputs and inject keypresses\n* Uinput kernel driver is used to inject inputs \n* Py-notifier for notifications\n* Udev for detecting connection of controller and running the mapper app\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n### Installation\n\nIn order to install vrpark_remap you need to follow these steps:\n\n1. Clone the repo\n   ```sh\n   git clone https://github.com/Risto97/vrpark_remap.git\n   cd vrpark_remap\n   ```\n2. Install python dependencies\n   ```sh\n   pip install -r requirements.txt\n   ```\n3. Change 83-vr_park.rules path to script \n   ```sh\n    KERNEL==\"event[0-9]*\", SUBSYSTEM==\"input\", SUBSYSTEMS==\"input\", ATTRS{name}==\"VR-PARK\", MODE=\"0660\", RUN+=\"\u003cpath-to-local-git-repo\u003e/run_remap.sh '%E{DEVNAME}'\"\n   ```\n4. Change variable USER in run_remap.sh\n\n5. Copy 83-vr_park.rules and 99-uinput.rules to /etc/udev/rules.d\n    ```sh\n    cp 83-vr_park.rules 99-uinput.rules /etc/udev/rules.d\n    ```\n\n6. Reload udev rules, if it doesnt help restart the PC\n    ```sh\n    udevadm control --reload\n    udevadm trigger\n    ```\n\nTurning on the controller it should work now.\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n## Contact\n\nYour Name - risto.pejasinovic@gmail.com - risto.pejasinovic@cern.ch\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n[forks-shield]: https://img.shields.io/github/forks/Risto97/vrpark_remap.svg?style=for-the-badge\n[forks-url]: https://github.com/Risto97/vrpark_remap/network/members\n[stars-shield]: https://img.shields.io/github/stars/Risto97/vrpark_remap.svg?style=for-the-badge\n[stars-url]: https://github.com/Risto97/vrpark_remap/stargazers\n[issues-shield]: https://img.shields.io/github/issues/Risto97/vrpark_remap.svg?style=for-the-badge\n[issues-url]: https://github.com/Risto97/vrpark_remap/issues\n[license-shield]: https://img.shields.io/github/license/Risto97/vrpark_remap.svg?style=for-the-badge\n[license-url]: https://github.com/Risto97/vrpark_remap/blob/master/LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fristo97%2Fvrpark_remap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fristo97%2Fvrpark_remap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fristo97%2Fvrpark_remap/lists"}