Endeavour OS not tracking Keyboard on VmagicMirror

I’m guessing you’re using Wayland and that’s why, but it could just be general incompatibility/limitation with WINE/Linux.

If you are using Wayland, try X11 and see if it works.

And if you don’t know what Wayland and X11 are, check here (Point 4):