Giter VIP home page Giter VIP logo

osu-touchpad's Introduction

Osu!Touchpad

A tablet emulator for mobile devices.

Extensively tested on an iPad air. Still needs to be tested with other devices.

Installation

Download the compiled code

https://github.com/wileyyugioh/Osu-Touchpad/releases

and run it

Usage

Run the application/exe/nw

An ip address should appear and a qr code.

Connect to the ip address in a browser or scan the qr code.

Enjoy!

A video by /u/pop102 showing it in action!

Video Showcase

Guaranteed support

Supports:

iOS: Safari

Android: Chrome

All others are not officially tested. Check out below for set up.

Fixing configs

iPad and iPhone should work out of the box, as does some Android.

How some browsers work is that the y coordinate equals zero at the bottom of the url bar, and we need to find out where exactly is that y coordinate.

This can be compensated for by typing startAutoYPos into the console while connected, and scroll the highest you can go.

After you feel enough data has been collected, type stopAutoYPos to stop collection.

Saving Settings

If constantly typing startAutoYPos is annoying, you can save the settings!

Type into the console

saveSettings

to save them and to load the settings type

loadSettings

Troubleshooting

I can't connect to my pc!

Make sure that the program is going through your firewall. Also make sure your device and the pc is connected to the same network.

The cursor goes off the screen!

Just run startAutoYPos as seen above in Fixing Configs and save the settings. It should automatically fix the problem for you.

Latency?!?

Sending information wirelessly will always add noticible latency. This program is not really a substitute for an actual pad.

Something totally different and strange!

If you are truely stumped on how to do something, fill out an issue, and I'll take a look into it as soon as possible.

Dependencies for building

npm

nw.js (also known as node-webkit)

nw-gyp

NOTE A:

If you are building, you have to compile ROBOTJS with nw-gyp. Also, check out the dependencies it requires. https://github.com/octalmage/robotjs

Installation if building

Windows:

./compile.bat

*nix:

./compile.sh

type nw in root directory to run.

The long way

Sometimes you want to run the specific commands, and that is okay

npm install

cd node_modules/robotjs

nw-gyp rebuild --target=$(npm show nw version)

for windows:
mw-gyp rebuild --target=NW_VERSION
where NW_VERSION is the version returned by 'npm show nw version'

Building on Windows 10

Windows 10 is a tricky bugger, so check out nwjs/nw.js#4033 to get it working with Visual Studio 2015.

Then compile robotjs with:

nw-gyp rebuild --msvs_version=2015 --target=NW_VERSION

TODO

video documentation!

test more devices! startAutoYPos is a lazy fix for this

nicer packaging! DONE

add QR Code support! DONE

Figure out how to disable rubber banding on safari! DONE

License

MIT

osu-touchpad's People

Contributors

wileyyugioh avatar

Stargazers

valked avatar  avatar マキ avatar  avatar  avatar Kshamendra avatar  avatar lupus avatar Duke Nguyen avatar  avatar Jae Jin avatar Noel Towa avatar sammyette avatar  avatar 7White avatar Kcalb_MengWang avatar kanseiyume avatar Noah Lincke avatar  avatar  avatar Timur Sinnurow avatar CharlieYu avatar  avatar jo avatar spore avatar KC T. avatar Willian Z avatar Odynn Aguilar avatar

Watchers

James Cloos avatar  avatar  avatar  avatar  avatar  avatar  avatar

osu-touchpad's Issues

Safari could not open the page because the server stopped responding.

Hi, not sure if I'm necro-ing a dead project, but I thought it'd be worth a try anyways. I downloaded the code and extracted it, ran "nw.exe", added the firewall exception for "nw.exe" through private and public networks, scanned the QR code in the iOS camera app and opened it in Safari.

The page loads for a while, then eventually Safari returns "Safari could not open the page because the server stopped responding." I'm not sure what I'm doing wrong.

I'm running Win10, iPad Pro (2018), iOS 13.3.1
Thanks in advance!

I still cant connect to the PC.

I have followed all the instructions but still couldnt connect to the PC through both phone and iPad. Please help. Ive also checked firewall settings.

Freezing

The application worked for a while, but recently it freezes constantly. I haven't changed anything with my computer, and my wifi is very good. Is there any way to fix this?

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.