sbidolach / mobile-gamepad Goto Github PK
View Code? Open in Web Editor NEWMobile wifi gamepad for RetroPie
Home Page: http://mobilegamepad.net/
License: GNU General Public License v3.0
Mobile wifi gamepad for RetroPie
Home Page: http://mobilegamepad.net/
License: GNU General Public License v3.0
The controller number indicator should be usable as a Xbox Guide / Toggle Hotkeys button (which RetroArch uses for opening the menu).
Pretty straightforward..
npm install
npm WARN deprecated [email protected]: This version is no longer maintained. Please upgrade to the latest version.
npm WARN deprecated [email protected]: This version is no longer maintained. Please upgrade to the latest version.
npm WARN deprecated [email protected]: This version is no longer maintained. Please upgrade to the latest version.
> [email protected] preinstall /home/pi/mobile-gamepad/node_modules/v8-profiler
> node -e 'process.exit(0)'
> [email protected] preinstall /home/pi/mobile-gamepad/node_modules/v8-debug
> node -e 'process.exit(0)'
> [email protected] install /home/pi/mobile-gamepad/node_modules/ioctl
> node-gyp rebuild
gyp ERR! clean error
gyp ERR! stack Error: EACCES: permission denied, rmdir 'build'
gyp ERR! System Linux 4.14.30-v7+
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/pi/mobile-gamepad/node_modules/ioctl
gyp ERR! node -v v10.15.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN [email protected] requires a peer of grunt@~0.4.2 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] No repository field.
npm WARN [email protected] No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-01-06T01_21_26_329Z-debug.log
Is there a way to use this in libreelec.
Or does anyone know a similar solution to libreelec?
Analog stick gets stuck on Latest Google Chrome on Android.
It catches movement for half a second then it stops responding to touch input.
Also tested on latest Firefox on Android and it works.
Here's a demo: https://goo.gl/photos/SaH3h9C2wXRMXyes6
Whenever i try to execute it(sudo grunt start), it complains about not finding uinput. I installed uninput manually(npm i uinput) but it still doesnt work.
logs:
` Running "clean:dist" (clean) task
1 path cleaned.
Running "copy:public" (copy) task
Created 1 directory, copied 3 files
Running "copy:client" (copy) task
Created 3 directories, copied 10 files
Running "express:dev" (express) task
Starting background Express server
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'uinput'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/home/pi/mobile-gamepad/server/src/gamepad.js:2:14)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
Stopping Express server
Running "watch" task
Waiting... `
Hi,
When I run "sudo grant start" I get the following error -
/Use/bin/env node: no such file or directory
Any ideas?
Thanks
pi@RetroPi:~/mobile-gamepad $ sudo grunt start
Running "clean:dist" (clean) task
1 path cleaned.
Running "copy:public" (copy) task
Created 1 directory, copied 3 files
Running "copy:client" (copy) task
Created 3 directories, copied 10 files
Running "express:dev" (express) task
Starting background Express server
/home/pi/mobile-gamepad/node_modules/bindings/bindings.js:121
throw e;
^
Error: libnode.so.64: cannot open shared object file: No such file or directory
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1057:18)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at bindings (/home/pi/mobile-gamepad/node_modules/bindings/bindings.js:112:48)
at Object. (/home/pi/mobile-gamepad/node_modules/ioctl/index.js:1:32)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
Stopping Express server
Running "watch" task
Waiting...
pi@RetroPi:~/mobile-gamepad $
Hi,
I am trying to update my Retro Game Engine that I got to play retro games. It gets to the point where it is updating the mobile-gamepad and it says the certificate is not updated for the site from which it is downloading.
Can anyone please help?
Thanks
Installed via experimental packages blabla in retropie setup
I see the process app.sh
started with ps ax
i also see port 35729 with netstat but no port 8888
I installed retropie on my pc so I could play some of the more demanding games. I'm just wondering how to connect to it. I tried using my pc's ip address but it doesn't do anything.
Sorry if this is the wrong way to bring up issues:
I ran the commands to get input data from the Mobile Gamepad:
sudo apt-get install input-utils
sudo lsinput
sudo input-events [number]
When using the dpad i noticed that only 2 events show up before the analog stick stops responding:
//The X and Y values are dependent on the direction I press to test the analog input
EV_ABS ABS_Y 127
EV_SYN code=0 value=0
EV_ABS ABS_X 255
EV_SYN code=0 value=0
I've tested this and received the same errors from from chrome on android and chrome from windows 10.
I am able to get my iPhone to successfully connect to the server, but as soon as I press a button or use the joystick, I receive this error. I should note that I am using Ubuntu as a test before using this on RetroPie.
Running "clean:dist" (clean) task
\>> 1 path cleaned.
Running "copy:public" (copy) task
Created 1 directory, copied 3 files
Running "copy:client" (copy) task
Created 3 directories, copied 10 files
Running "express:dev" (express) task
Starting background Express server
Express server listening on port 8888
Running "watch" task
Waiting...
gamepad connected
connect gamepad
hello input -> 1
fs.js:658
return binding.writeBuffer(fd, buffer, offset, length, position);
^
Error: EINVAL: invalid argument, write
at Error (native)
at Object.fs.writeSync (fs.js:658:20)
at null.<anonymous> (/home/max/Programs/mobile-gamepad/server/src/gamepad.js:139:20)
at null.<anonymous> (/home/max/Programs/mobile-gamepad/server/src/gamehub.js:36:30)
at Socket.<anonymous> (/home/max/Programs/mobile-gamepad/server/server.js:43:15)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at /home/max/Programs/mobile-gamepad/node_modules/socket.io/lib/socket.js:501:12
at nextTickCallbackWith0Args (node.js:420:9)
at process._tickCallback (node.js:349:13)
Stopping Express server
I installed the mobile-gamepad using the package manager - but how would one start it?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.