Comments (4)
Hi TimGreerNZ,
You can place the file wherever you want, and then use the parameter to specify where it is to joyspick.
In the example on the documentation, the config file is placed in the same directory as Joyspick.py
, so the complete command line is:
python3 Joyspick.py config.json
But you could place it in other directory and specify path in the line like this:
python3 Joyspick.py /tmp/config.json
Thank you for using Joyspick!
from joyspyck.
Hi, I made some progress, now I just have to work out if I can run buttons of the GPIO pins directly as I dont have the other controller mentioned. I was able to get both my joysticks to detect but had issues with the buttons. IM a python newbie so this is a nice educational experience. I tried another gamepad from github but that one needs a rewrite for the joystick section as it used the old Adafruit_ADS1x15 liburary which has now been archived so I have to convert it to the new one. Hopefully I can get it going or joyspyc going. My backup plan is to repurpose an old broken ps4 controller and solder tactile buttons onto where the plastic ribbon cables were lol. This seems far more straight forward to use joyspyck than to have soldering fun lol.
from joyspyck.
Hi, just curious, is there a way I can just pull the joystick stuff out of here to mix with button code that just uses GPIO pins for buttons. Which parts would I need to extract out to achieve this.
from joyspyck.
I am not sure of what you want to achieve, but if you want to use GPIOs as buttons, the most straight forward way is creating a new button controller that supports it (implementing the basic methods like in this one) , and then make it available on the button manager. If you follow the specification, your new module will work just as the existing ones.
from joyspyck.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from joyspyck.