Hi all, I had a similar issue to this and unfortunately upgraded to Monterey, my friends m1 has big Sur so I know it'd work for that, I have an intel Mac that I did a comparison on for testing.
so basically I have an m1 with Monterey, I have been able to get this working - the caveat is just that it doesn't work as it did before - still inspecting the changes. the issue is that it doesn't register the device connected (leap motion controller) so any software you want to use for the web socket is nerfed.
so after a bit of testing, and some random luck I found this method has it working.
I load the leap motion software - goto settings: recalibrate device
from here you will get a screen that requests you connect your leap (even though it is already)
from here I restart the Mac mini m1 -
when I restart I'm presented with a working diagnostic for the leap settings, but also the controller resumes so I can use it for web socket stuff.
hope this can help some people - I know dan helped me before -
now the issue is that - before I used touches_lm and it gave me a nice green spot to hover click with - and in Monterey it appears the mouse cursor itself becomes integrated. it still works but your mileage may vary.
little bit later I will try and post some screenshot or video to demonstrate.
this is on Monterey 12.2.1 build . the latest public build, but not a beta.