Lines Matching refs:evdev
198 struct evdev_dev *evdev; member
355 sc->evdev = evdev_alloc(); in wmt_attach()
356 evdev_set_name(sc->evdev, device_get_desc(dev)); in wmt_attach()
357 evdev_set_phys(sc->evdev, device_get_nameunit(dev)); in wmt_attach()
358 evdev_set_id(sc->evdev, BUS_USB, uaa->info.idVendor, in wmt_attach()
360 evdev_set_serial(sc->evdev, usb_get_serial(uaa->device)); in wmt_attach()
361 evdev_set_methods(sc->evdev, sc, &wmt_evdev_methods); in wmt_attach()
362 evdev_set_flag(sc->evdev, EVDEV_FLAG_MT_STCOMPAT); in wmt_attach()
363 evdev_support_prop(sc->evdev, INPUT_PROP_DIRECT); in wmt_attach()
364 evdev_support_event(sc->evdev, EV_SYN); in wmt_attach()
365 evdev_support_event(sc->evdev, EV_ABS); in wmt_attach()
368 evdev_support_abs(sc->evdev, wmt_hid_map[i].code, 0, in wmt_attach()
372 err = evdev_register_mtx(sc->evdev, &sc->mtx); in wmt_attach()
388 evdev_free(sc->evdev); in wmt_detach()
433 slot = evdev_get_mt_slot_by_tracking_id(sc->evdev, in wmt_process_report()
468 evdev_push_abs(sc->evdev, in wmt_process_report()
472 evdev_push_abs(sc->evdev, ABS_MT_SLOT, slot); in wmt_process_report()
473 evdev_push_abs(sc->evdev, ABS_MT_TRACKING_ID, -1); in wmt_process_report()
476 evdev_sync(sc->evdev); in wmt_process_report()
538 wmt_ev_close_11(struct evdev_dev *evdev, void *ev_softc) in wmt_ev_close_11() argument
547 wmt_ev_open_11(struct evdev_dev *evdev, void *ev_softc) in wmt_ev_open_11() argument
559 wmt_ev_close(struct evdev_dev *evdev) in wmt_ev_close() argument
561 struct wmt_softc *sc = evdev_get_softc(evdev); in wmt_ev_close()
563 wmt_ev_close_11(evdev, sc); in wmt_ev_close()
569 wmt_ev_open(struct evdev_dev *evdev) in wmt_ev_open() argument
571 struct wmt_softc *sc = evdev_get_softc(evdev); in wmt_ev_open()
573 return (wmt_ev_open_11(evdev, sc)); in wmt_ev_open()
883 MODULE_DEPEND(wmt, evdev, 1, 1, 1);