Code Monkey home page Code Monkey logo

cemu-no-gyro's People

Contributors

matheus-rangel avatar quinton-ashley avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cemu-no-gyro's Issues

Ryujinx port?

Is there a chance for this to get ported to ryujinx?

Permenantly altered joystick range after using Cemu-no-gyro

After using Cemu-no-gyro with the left joystick on my 360 controller to control the motion, the up direction on the controller now only outputs about 20% "Force," or whatever you want to call it, meaning trying to move the camera in that direction is now painfully slow while all other directions work fine.

Good news is that this issue is only linked to cemu and doesn't affect any other games outside of cemu, but it's still a huge annoyance. I can seemingly fix it by upping the "Range," in Cemu, but then after I use cemu-no-gyro again it causes the same issue and I have to go back and up the range even more.

Raw-value mode?

Is it possible to add a feature to input raw-value from the analog axis? So, an X value directly translates to cX yaw for example (with c just a constant for sensitivity). This way, the rotation is not incremental but absolute*.

Or maybe some pointers or ideas for me to achieve this, since I'm going to fork this anyway to add accelerometer control.

*EDIT: Brainfart, forgot gyro gives angular velocity, thus it should behave like analog stick (both input rate of rotational position change), if the value is given raw. So all that's left is making sure the gyro input and program output (to Cemuhook) is 1:1, and adding accelerometer support.


In case you're wondering what I'm trying to do: sending a DIY IMU-Arduino data to Cemu. I already managed to get the data and turn it into a fake controller (gyro & accel data as analog axis). So all that's left is communicating through Cemuhook.

nothing works.

so after allot of trial and error I am unable to get this program working. I cant seem to figure out your instructions. cemu or cemuhook auto detected your program but it does not behave the way your readme says. it will not detect a controller no matter what I do. the readme says that there is some sort of window I need to keep open in the background but no window pops up and there is no exe I can click to open a window. I tried using the software you linked to enable phone motion and when I ran that it seemed like everything was being detected but nothing I did with the phone caused any action in game and the values describing phone position on the site never adjusted. I'm on android so idk what the problem is since all of the troubleshooting info on that site is for ios. Is there a special place I need to unpack the files to get this mystery window to pop up? Is there some other third party program I need that isn't mentioned in the readme? I've spent a long time trying to get motion controls working on this I tried using ds4 for windows but after uninstalling and reinstalling every version of .net runtime that has ever existed several times it still refused to acknowledge that I had it and wouldn't run so I've got nothing left but this. please help.

Does not work at all even with old version of cemu

Hello,

First of all thanks for this piece of software.. I just heard about it recently, thought should give it a try. I first tried with recent cemu, 1.25.0, and it didn't work. I saw again that it doesn't work with version above 1.20.0+, so i tried with 1.19.0... And it doesn't work with that too.

Unless i am doing something wrong here or it just doesn't work with 1.19.0. What's the last version it worked ok with?

I am trying to control the motion controls with my controller's right stick. I have a direct input game controller.

I use xoutput to emulate xinput controller.. cemu-no-gyro detects the controller, and says gamepad connected. DSU slot is already set in cemu options but motion controls aren't working at all.

Kindly share your thoughts...

Regards!

not working with cemu 2.0

Hey !

I'm on cemu 2.0

On cemu no gyro 1.1.1 the controller (xbox one controller) is detected, but when I go to the input settings, no input is registered.

image

For example, when I move my sticks and triggers on the controller, the point on the left or right axis menu does not move.

Also, when I look for the API to add a controller, there is no 'DSU1' option. Closest option is 'DSUController'
image

big thanks for your work btw !

Error with Android

When i enter the link to access it with the Android phone, i get this:

Error: Failed to lookup view "pug/client" in views directory "./views" at Function.render (C:\cemu-no-gyro-1.0.11-win\resources\app.asar\node_modules\express\lib\application.js:580:17) at ServerResponse.render (C:\cemu-no-gyro-1.0.11-win\resources\app.asar\node_modules\express\lib\response.js:1008:7) at C:\cemu-no-gyro-1.0.11-win\resources\app.asar\views\js\index.js:214:7 at Layer.handle [as handle_request] (C:\cemu-no-gyro-1.0.11-win\resources\app.asar\node_modules\express\lib\router\layer.js:95:5) at next (C:\cemu-no-gyro-1.0.11-win\resources\app.asar\node_modules\express\lib\router\route.js:137:13) at Route.dispatch (C:\cemu-no-gyro-1.0.11-win\resources\app.asar\node_modules\express\lib\router\route.js:112:3) at Layer.handle [as handle_request] (C:\cemu-no-gyro-1.0.11-win\resources\app.asar\node_modules\express\lib\router\layer.js:95:5) at C:\cemu-no-gyro-1.0.11-win\resources\app.asar\node_modules\express\lib\router\index.js:281:22 at Function.process_params (C:\cemu-no-gyro-1.0.11-win\resources\app.asar\node_modules\express\lib\router\index.js:335:12) at next (C:\cemu-no-gyro-1.0.11-win\resources\app.asar\node_modules\express\lib\router\index.js:275:10)

App still works with Cemu 1.X.X, just not the phone part

I was looking for a program like this for a long time cause I figured a solution to emulate gyro movement with the controller was a no-brainer. But then I see the README and look through the issues and it appears that you've given up on this project... even though the part of the app without using a phone still works perfectly fine. The people who said they couldn't get it to work clearly just didn't set it up correctly.

The issue regarding a phone's connection with HTTPS was a good catch, but I'll bet it's an easier fix than you think.

I just wanted to bring this to your attention. If you really just don't want to continue working on this, that's fine. Maybe I'll fork it for myself.

Not working on Win10 x64

Windows 10.0.17763.253 x64
CEMU 1.15.0e

Error: Failed to lookup view "pug/client" in views directory "./views"
    at Function.render (C:\cemu-no-gyro\resources\app.asar\node_modules\express\lib\application.js:580:17)
    at ServerResponse.render (C:\cemu-no-gyro\resources\app.asar\node_modules\express\lib\response.js:1008:7)
    at C:\cemu-no-gyro\resources\app.asar\views\js\index.js:214:7
    at Layer.handle [as handle_request] (C:\cemu-no-gyro\resources\app.asar\node_modules\express\lib\router\layer.js:95:5)
    at next (C:\cemu-no-gyro\resources\app.asar\node_modules\express\lib\router\route.js:137:13)
    at Route.dispatch (C:\cemu-no-gyro\resources\app.asar\node_modules\express\lib\router\route.js:112:3)
    at Layer.handle [as handle_request] (C:\cemu-no-gyro\resources\app.asar\node_modules\express\lib\router\layer.js:95:5)
    at C:\cemu-no-gyro\resources\app.asar\node_modules\express\lib\router\index.js:281:22
    at Function.process_params (C:\cemu-no-gyro\resources\app.asar\node_modules\express\lib\router\index.js:335:12)
    at next (C:\cemu-no-gyro\resources\app.asar\node_modules\express\lib\router\index.js:275:10)

Option mooved in Cemu

Hello,

I'm trying to set up cemu-no-gyro, however, I'm stuck at the first step. I'm supposed to go to Options->GamePad motion source->DSU1->By Slot but I don't have GamePad motion source in my options. I'm guessing this option was moved. Iโ€™m using Cemu 2.0.
image

Crash when pressing trigger button

version: 1.0.15
controller: xbox one
platform: windows 10

steps to reproduce:

  1. launch program with an xbox one controller connected
  2. press one of the trigger buttons

The following error occurs:

Uncaught (in promise) ReferenceError: opt is not defined
    at loop (C:\Users\Richard\AppData\Local\Programs\cemu-no-gyro\resources\app.asar\views\js\index.js:123)

image

Does not work at all.

I installed everyting, my Cemu already had the hook installed and using Cemu 1.22.12c. Nothing works, it does not detect my Power A Switch Wired controller, my LG Rebel 4 does not work at all, connects, but the gyro won't budge at all. I am using the right settings,

No input detected from pixel 3xl

Hello,

I'm hoping you can help point me in the right direction. I have installed the app and it works well with the controller. I have connected my phone to the IP address and the app reports 'Phone connected!'. However on the phone screen the x,y and z stay at 0 and no input is detected. Am I missing a step? I couldn't see any instructions for getting this to work. Running a pixel 3xl.

Thanks :)

EDIT: I found this thread: https://github.com/hjmmc/WebGyroForCemuhook/releases
I tried that and using HTTPS and port 8443 works. However I'd love to be able to use your program and the sticks as well as the phone.

Preference settings not saved

The button configuration is not saved across sessions.
I thought it could be saved in "%APPDATA%\Roaming\cemu-no-gyro\Preferences" but it doesn't.

No URL for phone connection

I'm on cemu no gyro 1.1.3

I suppose this new release is to fix the defective phone connection, so I wanted to try it.

The problem is that in the interface of cemu no gyro, there is no URL for the phone has it was on cemu no gyro 1.1.1

image

also, the HOW TO section is not here any more.

No motion controls detected in game

Playing BOTW with a wired xbox one controller on windows 10 with 1.26.2f cemu and up-to-date cemuhook also. No issues with controller at all. Installed the exe file and ran it and CEMU detects the program in the DSU1 port but it has no effect on the game. Tried using "by MAC" rather than "by slot" in case that could somehow change it but no difference. I appreciate someone else recently commented on the application not working for them too but I thought I should give my own experience using it just in case it helps to shed any light on the underlying issue for you.

phone motion is un usable due to http connection.

hey there I find that the motion not working on my phone (all x,y,z are zero) and I checked your code sees you use window.ondevicemotion lisenner. and after checking on the internet I see this
image
image
it says the motion detection feature are disabled on not secure context like connection through http. it will only work through https connection. could you guys somehow establish a https connection? since I am not farmilar with js.

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.