GithubHelp home page GithubHelp logo

experiment322 / controlloid-server Goto Github PK

View Code? Open in Web Editor NEW
111.0 111.0 10.0 17.11 MB

The server for the Android app Controlloid.

License: GNU General Public License v3.0

CMake 4.57% Shell 1.82% C 93.61%

controlloid-server's People

Contributors

experiment322 avatar rgarrigue 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  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  avatar  avatar  avatar  avatar  avatar  avatar

controlloid-server's Issues

[question] 1 server + more than 1 player?

hi.... thanks for this awesome software, i like it so much

imagine i want to play a pc game with a friend, we have no joysticks but we both own a phone.... so i start controlloid server on pc, the actual game, and.... how can we connect controlloid client to same controlloid server to play multiplayer? (player1, player2.... player4, etc)

Working in Windows 7 with Android 8.1

Thank you so much!!!
It is working correctly...
But, the initial config files of Vjoy are not correct. After I change the virtual controller to 16 buttons, all is working fine!

Can't connect to server

Ubuntu 22.10, android 7.0, phone does not see my pc. When I'm trying to connect using Wi-Fi, server is quiet, which means phone does not see pc by local network, but when I use wired connection it works, but it's useless because I don't have any wires longer than 1m, so I can't play MK10 with my friends on enough big distance

Customizable Buttons [Suggestion]

I used the app, and it's nice and functional. Easy to use, too.
The issue I have is when playing on other systems.

This can be easily solved for the GameBoy Advanced games, using only D-pad and replace some buttons. But the N64, for example, uses 4 buttons for D-Pad, 4 buttons for C-buttons, more buttons, you get it.

Maybe add something so users can add custom buttons for their games?

android server

could be an android server too?... so i can play in an android phone/tablet/tv/pc and use another one(s) as joystick?

Controller not detected by steam

I tried the app on a linux machine, everything worked as expected (server starts, app connects, and system detects the controller), but I am unable to play on steam with it.

Here is the server's console output after starting the server with start.sh in dist/linux and connecting a controller:

Server addresses:
wlp2s0 http://192.168.43.202:31415/

Starting server...
Sat, 15 Jun 2019 10:29:38 +0200 | INFO   | server     |  | Serving using application   : ./bin/ws_handler 
Sat, 15 Jun 2019 10:29:38 +0200 | INFO   | server     |  | Serving static content from : .
Sat, 15 Jun 2019 10:29:38 +0200 | INFO   | server     |  | Starting WebSocket server   : ws://Bender2:31415/
Sat, 15 Jun 2019 10:29:38 +0200 | INFO   | server     |  | Serving CGI or static files : http://Bender2:31415/
Sat, 15 Jun 2019 10:30:03 +0200 | ACCESS | http       | url:'http://192.168.43.202:31415/' | STATIC
Sat, 15 Jun 2019 10:30:04 +0200 | ACCESS | session    | url:'http://192.168.43.202:31415/' id:'1560587404750222708' remote:'192.168.43.1' command:'./bin/ws_handler' origin:'http://192.168.43.202:31415' | CONNECT

Here is the controller in the system settings (detecting joystick movement and button presses):
Screenshot_20190615_103816

Is there a specific option in steam to enable for it to detect the controller?

I am using Kde Neon (based on Ubuntu 18.04).

Exec format error

When i run the script in Ubuntu Mate, it throws this error:

fabio@Fabio-PC:~/Desktop/controlloid-server/dist/linux$ ./start.sh
Server addresses:
virbr0 http://192.168.122.1:31415/
wlo1 http://192.168.0.8:31415/

Starting server...
./start.sh: line 12: ./websocketd/websocketd: cannot execute binary file: Exec format error

vJoy driver will not install by itself

I'm on Windows and I ran start.bat, but instead of any vJoy installation the server just started. I connect my phone, and it instantly disconnects and this is on the console.
image

I'm not really sure if this is a bug, or my doing something wrong. Any idea what could be wrong? I'm on Windows 11 btw.

Buttons not working as expected

Hi

Just tried controlloid on Ubuntu 18.04 with Fell's Seal, a tactical RPG. Here's a screenshot of the control mapping from the game

image

My issue is, it's not working as expected.

  • Bottom arrow is left
  • Left arrow is right
  • Right is up
  • Up is nothing (I could identify)
  • Right stick is working OK except for the left, which result in nothing
  • Left stick is not working, except for the left which is start
  • Triangle is X
  • Cross is A
  • Square is Y
  • < is LB > is RB as I'ld expect
  • is start

  • << is - (back)
    • is start
  • Start is nothing

No log whatsoever in server console.

How can I fix that ?

A quick suggestion even after it's fixed, add a mapping cross/square/round/triangle <=> ABXY in the README :)

Anyway thanks, it's working seamlessly except for this.

system tray icon

in windows at least...
in order to use controlloid you must leave the server console window open, but is a little annoying and sometimes to clean up the desktop i close it accidentally and lose joystick device!

Phone is not able to connect to server

This is what the console outputs whenever I try to connect, I have assigned all the buttons and sticks already,

te:' ip ' command:'.\bin\ws_handler.exe' origin:'http:// ip :31415' | CONNECT
Wed, 22 May 2019 12:01:30 -0700 | ERROR | stderr | url:'http://ip:31415/' id:'1558551690549662800' remote:'ip' command:'.\bin\ws_handler.exe' origin:'http://ip:31415' pid:'5172' | error: no vjoy device available or none with valid configuration (16 BTN, X, Y, RX, RY)
Wed, 22 May 2019 12:01:30 -0700 | ACCESS | session | url:'http://ip:31415/' id:'1558551690549662800' remote:'ip' command:'.\bin\ws_handler.exe' origin:'http://ip:31415' pid:'5172' | DISCONNECT

You now have a working AUR package!

I made this AUR package. Could you please mention that in the readme?

It includes a systemd user service, the udev rules and automatically creates a controlloid group.
The user only needs to add themselves to the group and enable the service.

freebsd support?

Hi,

I am yet to test this out, was wondering whether the server would run on BSD.

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.