Giter Club home page Giter Club logo

fpp-arcade's Issues

How do you *actually* get this working.

I've installed it to my FPP, what do I do now?
I've got an Xbox controller plugged in and recognized, but nothing shows up in the controller config, even when I've setup a game.

FPPV8: Arcade plugin errors on installing in FPPV8

I get the following error when trying to install the arcade plugin in FPPV8.

Installing plugin fpp-arcade
Cloning into 'fpp-arcade'...
Running fpp_install.sh script for fpp-arcade
Building FPP on 'Raspberry Pi' platform
ccache g++ -fpch-preprocess -O3 -Wno-psabi -pipe -I /opt/fpp/src -fpic -DPLATFORM_PI -I. -std=gnu++23 -I/opt/fpp/src -c src/FPPArcade.cpp -o src/FPPArcade.o
src/FPPArcade.cpp:400:62: error: invalid covariant return type for ‘virtual const std::shared_ptr<httpserver::http_response> FPPArcadePlugin::render_GET(const httpserver::http_request&)’
  400 |     virtual const std::shared_ptr<httpserver::http_response> render_GET(const httpserver::http_request &req) override {
      |                                                              ^~~~~~~~~~
In file included from /usr/include/httpserver.hpp:36,
                 from /opt/fpp/src/fpp-pch.h:48:
/usr/include/httpserver/http_resource.hpp:71:45: note: overridden function is ‘virtual std::shared_ptr<httpserver::http_response> httpserver::http_resource::render_GET(const httpserver::http_request&)’
   71 |      virtual std::shared_ptr<http_response> render_GET(const http_request& req) {
      |                                             ^~~~~~~~~~
make: *** [Makefile:15: src/FPPArcade.o] Error 1
{"Status":"Error","Message":"Could not properly install plugin"}

While I'm not sure a lot of people use the arcade plug in, what I need as well as others is the Joysick/Gamepad config. The UI is not populating the screen with the game controller.
image

If I run dmesg | grep usb I see the device

[    2.988314] usb 1-1.3: new full-speed USB device number 4 using xhci_hcd
[    3.123375] usb 1-1.3: New USB device found, idVendor=1a86, idProduct=e026, bcdDevice= 0.00
[    3.123394] usb 1-1.3: New USB device strings: Mfr=0, Product=0, SerialNumber=0

Probably very similar issue the the MIDI plugin is having.

Joystick/Gamepad Config page doesn't populate with commands

It's entirely possible that I just don't fully understand how to set this up, but installing the plugin in FPP 7.5 seems to "mostly" work except I can't seem to assign any commands to the gamepad buttons. I have a PS3 controller as well as an Xbox Series X controller, and both of them show up on the Joystick/Gamepad Config page, but the dropdowns for the commands are empty.
Screenshot 2024-01-28 at 5 46 40 PM

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.