Fix uinput python code.