No. Read this:
Specifically the bit that says: "XKey Devices do not work with Keyboard Maestro in Big Sur"
For more information, see the wiki Searching the Forum for Answers section.