got uinput events to work!!!

The trick was to send an EV_SYN event after the key events,
which apparently forces the events to be pushed to
the consumer (in our case, the console).