Closed einspunktnull closed 4 months ago
Great work on the DS5 library.
Question about the microphone. Any advice on how to get the DS5 microphone working on Ubuntu 22 or how it actually shows up?
Hi @SamuelTagliabracci,
this library does not support microphone use, as this is handled at operating system level. However, if you connect the Mircophone to the Ubuntu computer via USB-cable, the microphone should be registered as a regular microphone device in the audio settings (see screenshot).
This is how it looks in Manjaro with KDE Plasma, in Ubuntu it should also appear in the corresponding audio device list
FIX
touch finger active state and y valuehandle empty mappingsmapping ranges, i.e.when StateValueMapping.DEFAULT stick's middle pos is -1 instead of 0RFCT/PERF/OPT
caching of callbacks possib? -> already cahced and encapsulated@kappaj: implement your state logic for your change/unchange logic -> cancelledback mapping on set state valuescalc and set deadzone depending on StateValueMappingoption for how remap value range beyond deadzone -> canceledFEAT
check contextmanager abilitywarning for deadzone/treshold bigger than mapping valuesmultiproc instead of thread possib? yes but more overhead. thread are good for I/O-bound tasksonce_change
tests
invalid deadzoneprofile (performance, convenience, custom...) >>> options -> canceleddetermine state value if requested (lazy) -> canceleddisconnect for bt possib? check https://github.com/pybluez/pybluez -> canceledcomplex state packets:touch finger 0 and 1orientationbatteryr2 and l2 feedbackall_in_one -> canceledcomplex and non complex -> canceledprimitive only -> canceledcomplex only -> canceledtouch fingers (both) -> canceledL2 (Btn and analog) -> canceledimpl set properties (rumble, triggerFX, li50ghts, ...)
impl raw report in/out (hex)
DOCS