Searched refs:dev_fd (Results 1 – 1 of 1) sorted by relevance
122 mousecfg_init(int dev_fd, const char **errstr) in mousecfg_init() argument132 if ((err = ioctl(dev_fd, WSMOUSEIO_GTYPE, &type))) { in mousecfg_init()142 if ((err = ioctl(dev_fd, WSMOUSEIO_GCALIBCOORDS, &coords))) { in mousecfg_init()159 if ((err = ioctl(dev_fd, WSMOUSEIO_GETPARAMS, ¶meters))) { in mousecfg_init()166 if (ioctl(dev_fd, WSMOUSEIO_GETPARAMS, ¶meters)) in mousecfg_init()