{"id":17205428,"url":"https://github.com/valentinh/slither-joystick-controller","last_synced_at":"2025-10-14T18:39:17.857Z","repository":{"id":66077444,"uuid":"73562926","full_name":"ValentinH/slither-joystick-controller","owner":"ValentinH","description":"Simple script to bind joystick controller to Slither mouse events","archived":false,"fork":false,"pushed_at":"2016-12-05T22:04:48.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T10:22:03.078Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ValentinH.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":"2016-11-12T16:07:45.000Z","updated_at":"2016-12-05T21:01:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"821911d3-204a-49ba-9382-95deb694ad6a","html_url":"https://github.com/ValentinH/slither-joystick-controller","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ValentinH/slither-joystick-controller","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ValentinH%2Fslither-joystick-controller","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ValentinH%2Fslither-joystick-controller/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ValentinH%2Fslither-joystick-controller/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ValentinH%2Fslither-joystick-controller/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ValentinH","download_url":"https://codeload.github.com/ValentinH/slither-joystick-controller/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ValentinH%2Fslither-joystick-controller/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279020356,"owners_count":26086866,"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-14T02:00:06.444Z","response_time":60,"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-15T02:25:18.617Z","updated_at":"2025-10-14T18:39:17.841Z","avatar_url":"https://github.com/ValentinH.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# slither-joystick-controller\nSimple script to bind joystick controller to Slither mouse events\n\n[![npm version](https://img.shields.io/npm/v/slither-joystick-controller.svg?style=flat-square)](https://www.npmjs.com/package/slither-joystick-controller)\n[![npm downloads](https://img.shields.io/npm/dm/slither-joystick-controller.svg?style=flat-square)](http://npm-stat.com/charts.html?package=slither-joystick-controller\u0026from=2015-01-01)\n![License](https://img.shields.io/badge/License-MIT-blue.svg?style=flat-square)\n\n\u003e For now, only PS3 dualshock3 is supported.\n\n## Installation\n\n```\nnpm i slither-joystick-controller\n```\n\n## How to run\n\n1. go to the `node_modules/slither-joystick-controller` folder\n2. run `node index.js` or `node index.js supported/controller/here`\n\n### Supported Controllers\n- ps3/dualshock3 (default)\n- ps4/dualshock4\n- snes/tomee\n- snes/retrolink\n- n64/retrolink\n- logitech/rumblepad2\n- logitech/dualaction\n- logitech/gamepadf710\n- microsoft/sidewinder-precision-2\n\nThese controllers are handled by [node-gamepad](https://github.com/carldanley/node-gamepad). If you need to add another controller, see the [Contributing Controllers](https://github.com/carldanley/node-gamepad#contributing-controllers) of `node-gamepad`.\n\n## How to use\n\nGame pad action | Slither action\n--- | ---\nstart | `pause/unpause` all the other actions.\nL3 | `move mouse`\nX | `boost`\ntriangle | `enter` - use to start the game\nL2 | `zoom out` (require [Slither plus](https://chrome.google.com/webstore/detail/slitherplus-zoom-skin-cre/cpbghpalffgmgocmnigfhalghmaemffo) extension)\nR2 | `zoom in` (require [Slither plus](https://chrome.google.com/webstore/detail/slitherplus-zoom-skin-cre/cpbghpalffgmgocmnigfhalghmaemffo) extension)\nselect | redefine center position. It can be useful when the game is not in full screen. Place your mouse on the snake head and press `select` to set the center.\n\n## Libraries used in this project\n\n- [node-gamepad](https://github.com/carldanley/node-gamepad) - for reading controller inputs\n- [robotjs](https://github.com/octalmage/robotjs) - for firing mouse/keyboards events\n- [node-notifier](https://github.com/mikaelbr/node-notifier) - for displaying notifications\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalentinh%2Fslither-joystick-controller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvalentinh%2Fslither-joystick-controller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalentinh%2Fslither-joystick-controller/lists"}