From the Terminal

keyd on Gentoo with OpenRC and KDE Plasma

git clone https://github.com/rvaiya/keyd
cd keyd
make && sudo make install
touch /etc/init.d/keyd
nano /etc/init.d/keyd

Pop this in there and save.

#!/sbin/openrc-run

# Description of the service
description="keyd key remapping daemon"

# The location of the keyd binary
command="/usr/local/bin/keyd"
#command_args="-d"
pidfile="/run/keyd.pid"

depend() {
    need localmount
    after bootmisc
}

start() {
    ebegin "Starting keyd"
    start-stop-daemon --start --exec $command --background --user root  --make-pidfile --pidfile $pidfile --
    eend $?
}

stop() {
    ebegin "Stopping keyd"
    start-stop-daemon --stop --pidfile $pidfile
    eend $?
}

restart() {
    ebegin "Restarting keyd"
    start
    eend $?
}
sudo rc-update add keyd default
/etc/init.d/keyd start
sudo setfacl -m u:USERNAME:rw /var/run/keyd.socket

If you want application specific key binds you need to run /usr/local/bin/keyd-application-mapper inside your KDE Plasma session. To do that simply add it to your autostart through the System Settings application.