python - No output with uinput -


when run example code uinput:

import uinput  device = uinput.device([         uinput.key_e,         uinput.key_h,         uinput.key_l,         uinput.key_o,         ])  device.emit_click(uinput.key_h) device.emit_click(uinput.key_e) device.emit_click(uinput.key_l) device.emit_click(uinput.key_l) device.emit_click(uinput.key_o)

i expect word hello appear, see nothing. tried:

modprobe uinput 

what doing wrong?

(i'm on ubuntu 16.04)


Comments

Popular posts from this blog

inversion of control - Autofac named registration constructor injection -

verilog - Systemverilog dynamic casting issues -

ios - Change Storyboard View using Seague -