hjstn / miniDjiController

Python VJoy interface for Mavic Mini RC. Inspired (and with help from) Matsemann/mDjiController and slaterbbx/mDjiController.
Apache License 2.0
27 stars 12 forks source link

Requests reverse engineering #12

Open Pixxxxel opened 7 months ago

Pixxxxel commented 7 months ago

Hello, Justin!

I've been playing around with this code today and really admire the work you've done. However, there is something i really miss.. The buttons! It looks like the data that controller returns does not contain any information about button state - only joysticks, camera wheel, tick counter and something like check sum (or not, it has some weird dependencies, but neither of them are related to triggering buttons).

My guess so far is that there should be another request to get button state. Have you tried to get button state info? What method have you used to receive those magic byte arrays which you send to controller in order to get joysticks data back?

Thanks in advance, P1xel