wow, I did not expect them to do this after reading issues that they couldn't work with the Windows API for some reason since it didin't have a C++ API.
The problem isn't so much the language as the fact that it's very tedious if you only have access to the old Win32 API as a result of toolchain constraints. It is much easier with the VCpp toolchain.
I love KeePass (proper; I don't use XC), but it would be nice if they had better support for hardware keys[0]. What I want is to keep my existing password and add in the hardware support -- just plug in the key, press the button, and be done with it.
What support exactly? Years ago I added Yubikey support[0] to KeePassXC. You'd have to migrate your database to KeePassXC and you could use any combination of keyfile, password, and YubiKey.
It's not exactly what you are asking for, but KeepassXC supports OnlyKey [0], and OnlyKeys can enter a password just pressing a button, plus they have HMAC support, so the KeepassXC experience can be:
1. Plug in Onlykey and unlock if necessary.
2. Open database in KeepassXC.
3. Press button in Onlykey with the KeepassXC password.
4. Press any button again when it asks for HMAC challenge.