This isn't about stealing software. It is about tricking your operating system into recognizing two (or three, or four) standard USB keyboards as separate input devices, allowing you to assign unique macro libraries to each physical keyboard.
Download the Interception tool from GitHub. Run install-interception.exe as Administrator. You will need to reboot. This "cracks" the Windows input stack open.
Search related terms: "LuaMacros dual keyboard setup," "Interception driver AHK tutorial," "DIY macro pad no soldering," "free alternative to Stream Deck software."
Remember: The crack is not a hack. It is a key (pun intended) to one of the last unexplored frontiers of PC productivity. Your main keyboard is for you. Your second keyboard is for the machine.
You need to tell Interception which keyboard is which. Use the commandline.exe tool included in the package to list your devices. Identify the Vendor ID (VID) of Keyboard B. You will edit the interception.dll binding file so that Keyboard B is treated as a unique device (often named "Keyboard - Secondary").
Using LuaMacros or Interception is 100% legal . You are not breaking DRM or stealing proprietary code. The "crack" refers to cracking the functional barrier imposed by Windows's generic drivers. It is a crack of logic, not a crack of license keys.