libevdev_property_from_name
int libevdev_property_from_name(const char *name);
int val = libevdev_property_from_name(s);