That won’t work. /dev/input/event0 is not a keyboard device.
ls -la /dev/input/event0
crw-rw---- 1 root input 13, 64 May 6 08:25 /dev/input/event0
ls -la /dev/input/by-path/platform-pcspkr-event-spkr
lrwxrwxrwx 1 root root 9 May 6 08:25 /dev/input/by-path/platform-pcspkr-event-spkr -> ../event0
That kloak is not working in Qubes and links to Qubes issue tracker is mentioned here: