NULL);libinput_udev_assign_seat(li,"seat0");// 开始监听事件while(1){libinput_dispatch(li);event=libinput_get_event(li);// 处理鼠标事件if(libinput_event_get_type(event)==LIBINPUT_EVENT_POINTER_MOTION){// 获取鼠标移动的坐标doubledx=lib...
> Hi Peter, I couldn't get reason for missing ID_INPUT_TOUCHSCREEN , my >udev rule looks as below. > SUBSYSTEM=="input" KERNEL=="event[0-9]" ENV{ID_INPUT_TOUCHSCREEN}=="1" > ENV{ID_SEAT}="seat1" SYMLINK+="/dev/input/event0" you assign seat1 here but libinput by default ...
udev: only change the fuzz on touchpads and touchscreens test: fix an intermitted failing test test: abort if our device didn't initialize path: drop the separate header, not necessary udev: don't init the quirks until we checked all arguments path: factor out the seat creation into a ...