So you want use a second hardware keyboard to trigger custom key events or sequences, right?
I don’t use Wayland but keyd works on the evdev/uinput level so I think it should work regardless of the display server used. To use it for the secondary keyboard only you’d list only that device in the [ids] section of the config.