Microsoft has created a tool called Keyboard Layout Creator (KLC) which allows users to generate their own keyboard mapping files. The tool also allow you to generate a "setup.exe" installer file if you want to install the layout into the operating system.
To use a KLC file, load it into Keyboard Layout Creator and use the menu option "Project > Build DLL and Setup Package". Pre-generated installer files are also available in the zip packages.
UK Mod-DH:
Download KLC
Download ZIP
UK Mod-DH (wide):
Download KLC
Download zip
US Mod-DH:
Download KLC
Download zip
US Mod-DH Wide:
Download KLC
Download zip
US Mod-DH (alternative home):
Download KLC
Download zip
KLC does not specifically support matix-style keyboards, but this configuration assumes standard scan codes in a matrix layout, and uses the Mod-DH Matrix mapping.. You also may want to use this configuration if you prefer Mod-DH rev 1.
Matrix Mod-DH:
Download KLC