Giter VIP home page Giter VIP logo

retro_matrix's Introduction

retro_matrix's People

Contributors

zcqsntr 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  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

retro_matrix's Issues

Compilation error

./setup.sh works part way and then: In file included from mylib.cc:1: mylib.h:6:10: fatal error: led-matrix.h: No such file or directory #include "led-matrix.h" ~~~~~~~~~~~~~ compilation terminated. make: *** [Makefile:39: mylib.o] Error 1 make: Leaving directory '/home/pi/Desktop/retro_matrix/lib' g++ -o run_retro_matrix.o -I/home/pi/Desktop/retro_matrix/rpi-rgb-led-matrix/include -I. -I/home/pi/Desktop/retro_matrix/cellular_automata/game_of_life -I/home/pi/Desktop/retro_matrix/lib -I/usr/local/include/libevdev-1.0/libevdev -Wall -O3 -g -Wextra -Wno-unused-parameter --std=c++17 -I/home/pi/Desktop/retro_matrix/menus -c run_retro_matrix.cc In file included from run_retro_matrix.cc:4: retro_matrix.h:5:10: fatal error: libevdev.h: No such file or directory #include "libevdev.h" ~~~~~~~~~~~ compilation terminated. make: *** [Makefile:54: run_retro_matrix.o] Error 1
in lib\makefile this path does not exist RGB_LIB_DISTRIBUTION=/home/pi/Desktop/LED_matrix/rpi-rgb-led-matrix edited to RGB_LIB_DISTRIBUTION=/home/pi/Desktop/retro_matrix/rpi-rgb-led-matrix
now this error In file included from mylib.cc:1: mylib.h:10:10: fatal error: libevdev.h: No such file or directory #include "libevdev.h" ~~~~~~~~~~~ compilation terminated. make: *** [Makefile:39: mylib.o] Error 1 make: Leaving directory '/home/pi/Desktop/retro_matrix/lib' g++ -o run_retro_matrix.o -I/home/pi/Desktop/retro_matrix/rpi-rgb-led-matrix/include -I. -I/home/pi/Desktop/retro_matrix/cellular_automata/game_of_life -I/home/pi/Desktop/retro_matrix/lib -I/usr/local/include/libevdev-1.0/libevdev -Wall -O3 -g -Wextra -Wno-unused-parameter --std=c++17 -I/home/pi/Desktop/retro_matrix/menus -c run_retro_matrix.cc In file included from run_retro_matrix.cc:4: retro_matrix.h:5:10: fatal error: libevdev.h: No such file or directory #include "libevdev.h" ~~~~~~~~~~~ compilation terminated.

Wiring Diagram

Do you have a more detailed wiring diagram you can share/?
Thanks!

Failed to init libevdev (Bad file descriptor)

Hey, I've been trying to get this to work without success. I can't get past the start menu as no keys are recognized, I've tried all keys on my keyboard and a ps4 controller.

I'm on Manjaro running gnome. I did actually try running it in Ubuntu, but got the same outcome.

There seems to be an issue with libevdev, I'm not too familiar with it though, and it seems hard to find any answer upon searching.

Any clues?

~/git/retro_matrix master*
❯ ./run_retro_matrix --led-slowdown-gpio=4 --led-gpio-mapping=adafruit-hat
Must run as root to be able to access /dev/mem
Prepend 'sudo' to the command

~/git/retro_matrix master*
❯ sudo ./run_retro_matrix --led-slowdown-gpio=4 --led-gpio-mapping=adafruit-hat
3432
3
Failed to init libevdev (Bad file descriptor)
"/dev/input/event5"-1-9
Failed to init libevdev (Bad file descriptor)
"/dev/input/event4"-1-9
Failed to init libevdev (Bad file descriptor)
"/dev/input/event3"-1-9
Failed to init libevdev (Bad file descriptor)
"/dev/input/event2"-1-9
Failed to init libevdev (Bad file descriptor)
"/dev/input/event1"-1-9
Failed to init libevdev (Bad file descriptor)
"/dev/input/event0"-1-9

Edit: it does work in raspbian. I'm guessing there was some conflict with libinput in manjaro.

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.