diff --git a/evdev/uinput.c b/evdev/uinput.c index 96a4fec..d7e3406 100644 --- a/evdev/uinput.c +++ b/evdev/uinput.c @@ -84,7 +84,7 @@ uinput_setup(PyObject *self, PyObject *args) { struct uinput_user_dev uidev; const char* name; - int ret = PyArg_ParseTuple(args, "ishhhhO", &fd, &name, &vendor, + int ret = PyArg_ParseTuple(args, "isHHHHO", &fd, &name, &vendor, &product, &version, &bustype, &absinfo); if (!ret) return NULL;