Carbide Motion on a Raspberry Pi

The units I’ve been trying to work with are:

https://www.amazon.com/Wireless-Bluetooth-Controller-Classic-Joystick/dp/B018K3Q4KS

and a generic like to:

for the latter see: