Lines Matching defs:devnode
72 static void map_keycode(int fd, const char *devnode, int scancode, const char *keycode)
102 log_error_errno(errno, "Error calling EVIOCSKEYCODE on device node '%s' (scan code 0x%x, key code %d): %m", devnode, map.scan, map.key);
125 static void override_abs(int fd, const char *devnode,
133 log_error_errno(errno, "Unable to EVIOCGABS device \"%s\"", devnode);
143 log_error("Unable to parse EV_ABS override '%s' for '%s'", value, devnode);
150 devnode);
153 log_error_errno(errno, "Unable to EVIOCSABS device \"%s\"", devnode);
185 static int open_device(const char *devnode) {
188 fd = open(devnode, O_RDWR|O_CLOEXEC|O_NONBLOCK|O_NOCTTY);
190 return log_error_errno(errno, "Error opening device \"%s\": %m", devnode);