Giter Site home page Giter Site logo

remotejoystick's Introduction

remotejoystick

py27 py35 English Version

将远程手柄连接到本地电脑上。

这样一些没有联网版本的游戏也可以通过屏幕共享实现多人联网。

目前的效果为本地电脑将远程手柄视为键盘,使用正常的主机延时一般在100ms。

当然,同样的顺手就提供了本地手柄转为键盘的功能。

Install

通过如下命令可以安装本项目:

pip install remotejoystick

Usage

该程序提供两个基础的功能,本地手柄转键盘与远程手柄连接。

详细的帮助可以使用该命令:remotejoystick -h

远程手柄连接

首先,你需要有一个可以访问的公网ip,假设该ip为114.114.114.114

在该ip对应的主机上安装好该项目(平台不限),在命令行中运行:remotejoystick -ep 2333

即可将2333端口用于该项目。

之后,在手柄所在主机使用该命令:remotejoystick -sd 114.114.114.114 -p 2333。(多个手柄可以使用-j指定)

最后,在游戏所在主机使用该命令:remotejoystick -rd 114.114.114.114 -p 2333。(这两个命令不分先后)

本地手柄转键盘

使用该命令可以在本地将手柄转为键盘:remotejoystick --local

Future features

  • 可视化界面
  • 本地也模拟为手柄信号(需要帮助,如果你有想法请务必联系我

Author

软件作者:LittleCoder

联系方式:[email protected]

意见收集:Issue #1

remotejoystick's People

Contributors

littlecodersh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

remotejoystick's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.