dogtopus / ffsds4 Goto Github PK
View Code? Open in Web Editor NEW3rd-party PS4 USB controller simulator and (unofficial) protocol reference implementation.
License: GNU General Public License v3.0
3rd-party PS4 USB controller simulator and (unofficial) protocol reference implementation.
License: GNU General Public License v3.0
A workaround would be detecting if the package is a onefile
. If it is, add read permission to all files and directories under sys._MEIPASS
.
Turns out it's way too complicated and slow to do all the high level event emission ourselves. Plus that there's better, more battle-tested event sequencers like evemu
, it makes having our own event sequencer an even worse idea.
Maybe we should pivot from making a fully featured gamepad emulator to just a simple event converter for evdev devices. This way it would also make ffsds4 more useful as a gamepad converter which will be more useful to an end-user for example.
Solution: Add profiler support to all threads that may get benefits from profiling.
It would be better to unify all animation-related features (from pressing buttons to multi-segmented IMU operations) into a single animation codebase. This could simplify the sequencer codebase and make implementing new commands easier.
Turns out RescheduleableAlarm.reschedule
is so heavy that it's not suitable for hot loops like tween scheduling. We should probably move it to its own thread instead.
(This might cause one-shot events to fall off sync with "non-binary" events but it should be fine since timing critical events like IMU will still be synchronized.)
So far ffsds4 runs under PyPy but with some caveats:
DS4Function
thread @ 250 FPS using 20% of CPU on not-so-bad-and-still-better-than-most-maker-grade-ARM x86 processor (!) and Sequencer
thread running hotter than CPython most of the time. Profiling might be required once 1 is resolved.If 2 can be resolved, maybe it' possible to list PyPy as supported.
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.